Skip to Content
可编程网络自动化
book

可编程网络自动化

by Jason Edelman, Scott S. Lowe, Matt Oswalt
January 2023
Intermediate to advanced
458 pages
14h 16m
Chinese
Posts & Telecom Press
Content preview from 可编程网络自动化
370
10
当说到实现
CI
时,我们希望实现两个目标。
快速行动
能够更快速地响应业务不断变化的需求。
提高可靠性
吸取先前的教训,提高整个系统的质量和稳定性。
CI
现之前,对软件的修改通常是大批量进行的,有时开发人员要耗费数月的时间才
能看到编写的功能成形。这使得反馈循环变得极为漫长,如果有什么严重的问题或者新特
/
需求
,则需要很长时间才能解决。这种低效不仅意味着新特性需要更长的开发时间,
软件质量也会受到影响。
我们自然会想到,如果开发人员做出改动之后,直接将其推送到产品环境,岂不是很好?
这肯定能解决速度问题,开发人员也乐于更快看到改动的结果。然而,正如你所预料的那
样,这是非常危险的。在这种模式下,很容易在产品环境中引入
bug
,这会严重影响许多
企业的底线。
CI
[当与持续部署
(本章随后会探讨)结合时]可以说是两全其美的方法。在该模型中,
我们快速地将变更推送到产品环境——但这是在对变更进行测试和验证的环境中完成的,
以此进一步确定不会在产品环境中引发问题。
接下来将讨论一些
CI
的组件和相关概念
,然后看看如何将这些概念应用于网络自动化
过程。
10.2.1
 
CI
基础
简而言之,
CI
就是为了能随时将变更合并入源代码仓库。无论何时工作,开发团队都可以
将变更“集成”到共享仓库,因为有些工具能自动让团队知道这些变更不会破坏整个系统
的正常运作。
在讨论
CI
,你可能听到过术语
管道
pipeline
)一词。之所以使用这个词,是因为
CI
非某种特定的技术,而是一组不同的工具和技术,彼此配合使用,共同完成目标。通过这 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

弱监督学习实用指南

弱监督学习实用指南

Wee Hyong Tok, Amit Bahree, Senja Filipi
Python和NLTK实现自然语言处理

Python和NLTK实现自然语言处理

Posts & Telecom Press, Nitin Hardeniya
Go程序设计语言

Go程序设计语言

艾伦A. A.多诺万, 布莱恩W. 柯尼汉
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu

Publisher Resources

ISBN: 9787115606181