Pro continuous delivery : with Jenkins 2.0 /
Follow this step-by-step guide for creating a continuous delivery pipeline using all of the new features in Jenkins 2.0 such as Pipeline as a Code, multi-branch pipeline, and more. You will learn three crucial elements for achieving a faster software delivery pipeline: a fungible build/test environm...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[New York] :
Apress,
2017.
|
Colección: | ITpro collection
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- At a Glance; Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Elements of Continuous Delivery; What Is Continuous Delivery?; Branching Strategy; Using Separate Branch for Every Feature/Bug-Fix; Using the Gitflow Workflow; Continuous Integration; Codable CI Pipeline; How to Use Jenkinsfile?; How to Write Pipeline Steps Inside a Jenkinsfile?; Reproducible Build Environments; What Do We Do if the Build Agent Fails?; How Dockerfile Works?; How to Use a Dockerfile with Jenkins? ; Kubernetes; How to Use Kubernetes with Jenkins?
- A Highly Available CI MasterCoreOS; Docker; Etcd; Fleet; Unit Files; Pacemaker; Scaling Jenkins Master; Why Do We Need to Scale the Jenkins Master?; Out of Memory Issues While Reading Huge Logs; Growing Number of Users Accessing Jenkins; Growing Number of Logs, and Pipeline Metadata; Benchmark Your Jenkins Master; Vertical Scaling; A Single Jenkins Master to Maintain; Greater Risk; Horizontal Scaling; Better Management Using Segregation; Better Reliability; Maintenance Encumbrance; Parallel Testing; What Is Parallel Testing?; Broader Compatibility; Reduce Testing Time; Summary.
- Chapter 2: HA Jenkins Setup Using Pacemaker, Corosync, and DRBDDesigning a High Availability Setup for Jenkins; HA Setup for Jenkins; Failover Scenario; Creating a HA Cluster for Jenkins; Installing Vagrant; Installing VirtualBox; Creating Virtual Machines; Starting the Virtual Machines; Configuring Communication Between the node1 and node2; Configuring ssh Key; Configuring Time Zone; Configuring the Firewall; Installing Apache Tomcat Server; Installing Java; Creating a Tomcat User; Installing Apache Tomcat Server; Updating Permissions; Adjusting the Firewall and Test the Tomcat Server.
- Configuring Tomcat Web Management InterfaceInstalling Jenkins as a Service on Apache Tomcat Server; Installing Jenkins Along with Other Services on Apache Tomcat Server (Not Recommended); Installing Jenkins Alone on Apache Tomcat Server (Recommended); Setting Up the Jenkins Home Path; Installing the Cluster Software; Configuring Corosync; Creating Cluster Authorization Key; Configuring Corosync Cluster; Starting and Configuring Pacemaker; Configuring Cluster Properties; Create a Floating IP Resource Agent; Creating a Tomcat Resource Agent.
- Ensuring ClusterIP and Apache Tomcat Run on the Same NodeEnsuring ClusterIP Starts Before Apache Tomcat; Replicating Jenkins Home Directory Using DRBD; Install the DRBD Packages; Preparing Partitions; Configuring DRBD; Initializing DRBD; Populating the DRBD Disk; Creating a Cluster Resource for the DRBD Device; Creating a Cluster Resource for the Filesystems; Checking the Apache Tomcat Server; Simulating a Failover; Summary; Chapter 3: HA Jenkins Setup Using CoreOS, Docker, and GlusterFS; Designing a High Availability Setup for Jenkins; HA Setup for Jenkins; Failover Scenarios.