BigJoe Logo BigJoe
Blog Books
Blog Books
All Books Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation Draft
All Books
Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation

Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation Draft

Jez Humble, David Farley

Contents

Jump to chapter

1. Foreword by Martin Fowler
2. Preface 2.1 Introduction 2.2 Who Is This Book for, and What Does It Cover? 2.3 Conspectus 2.4 Web Links in This Book 2.5 About the Cover 2.6 Colophon
3. Chapter 1. The Problem of Delivering Software 3.1 Introduction 3.2 Some Common Release Antipatterns 3.3 The Power of Automated Deployment 3.4 How Do We Achieve Our Goal? 3.5 What Are the Benefits? 3.6 What a Difference a Byte Makes 3.7 The Cost of Manual Configuration Management 3.8 Running Enterprise Software on a Laptop 3.9 The Release Candidate (Release Candidate) 3.10 Principles of Software Delivery 3.11 Summary
4. Chapter 2. Configuration Management 4.1 Introduction 4.2 Using Version Control 4.3 Check Everything In 4.4 Version Control: The Freedom to Delete 4.5 Managing Dependencies 4.6 Managing Software Configuration 4.7 The Danger of Ultimate Configurability 4.8 Packaging Configuration Information 4.9 Don't Check Passwords into Source Control or Hard-Code Them in Your Application 4.10 Managing Your Environments 4.11 Applying Configuration Management to Infrastructure 4.12 Summary
5. Chapter 3. Continuous Integration 5.1 Introduction 5.2 Implementing Continuous Integration 5.3 Prerequisites for Continuous Integration 5.4 Using Continuous Integration Software 5.5 Predecessors to Continuous Integration 5.6 Essential Practices 5.7 Build Discipline on Distributed Projects 5.8 Suggested Practices 5.9 Enforcing Remote Calls at Build Time 5.10 CheckStyle: The Nagging Is Worth It After All 5.11 Distributed Teams 5.12 Distributed Version Control: When Nothing Else Will Work 5.13 Distributed Version Control Systems 5.14 Summary
6. Chapter 4. Implementing a Testing Strategy 6.1 Introduction 6.2 Types of Tests 6.3 Should Acceptance Tests Hit the UI? 6.4 Real-Life Situations and Strategies 6.5 Process 6.6 Summary
7. Chapter 5. Anatomy of the Deployment Pipeline 7.1 Introduction 7.2 What Is a Deployment Pipeline? 7.3 Deployment Pipeline Practices 7.4 Why Binaries Should Not Be Environment-Specific 7.5 The Commit Stage (Commit Stage) 7.6 The Origin of the Term "Deployment Pipeline" 7.7 The Automated Acceptance Test Gate 7.8 Why Unit Tests Aren't Enough 7.9 Subsequent Test Stages 7.10 Preparing to Release 7.11 Implementing a Deployment Pipeline 7.12 Metrics 7.13 Summary
8. Chapter 6. Build and Deployment Scripting 8.1 Introduction 8.2 An Overview of Build Tools 8.3 Principles and Practices of Build and Deployment Scripting 8.4 Operations and Developers Must Collaborate on the Deployment Process 8.5 Project Structure for Applications That Target the JVM 8.6 Managing Build Output 8.7 Deployment Scripting 8.8 Smoke-Testing N-Tier Architectures 8.9 Tips and Tricks 8.10 Summary
9. Chapter 7. The Commit Stage 9.1 Introduction 9.2 Commit Stage Principles and Practices 9.3 The Results of the Commit Stage 9.4 Creating Your Own Artifact Repository 9.5 Commit Test Suite Principles and Practices 9.6 Using Stubs to Substitute for Messaging Systems 9.7 Summary
10. Chapter 8. Automated Acceptance Testing 10.1 Introduction 10.2 Why Is Automated Acceptance Testing Essential? 10.3 Creating Acceptance Tests 10.4 The Application Driver Layer 10.5 What Is a Domain-Specific Language? 10.6 Using the Window Driver Pattern to Create Maintainable Tests 10.7 Implementing Acceptance Tests 10.8 Using Stubs to Simulate External Systems 10.9 The Acceptance Test Stage 10.10 Recording Acceptance Tests for Debugging 10.11 Who Owns Acceptance Tests? 10.12 Acceptance Testing and the Build Master 10.13 The Aardvark Roll Call 10.14 Acceptance Test Performance 10.15 Speeding up Selenium Tests 10.16 Using Cloud Computing for Acceptance Tests 10.17 Summary
11. Chapter 9. Testing Nonfunctional Requirements 11.1 Introduction 11.2 Managing Nonfunctional Requirements 11.3 Programming for Capacity 11.4 Premature Optimization In Action 11.5 Measuring Capacity 11.6 Setting Initial Capacity Thresholds 11.7 The Capacity-Testing Environment 11.8 Capacity Testing on a Cluster of iPods 11.9 The Shortcomings of Scaling Factors 11.10 Automating Capacity Testing 11.11 Adding Capacity Tests to the Deployment Pipeline 11.12 Additional Benefits of a Capacity Test System 11.13 Summary
12. Chapter 10. Deploying and Releasing Applications 12.1 Introduction 12.2 Creating a Release Strategy 12.3 Deploying and Promoting Your Application 12.4 Continuous Demos for Product Development 12.5 Rolling Back Deployments and Zero-Downtime Releases 12.6 Canary Releasing for Point-of-Sale Systems 12.7 Emergency Fixes 12.8 Continuous Deployment 12.9 Tips and Tricks 12.10 Things Go Better When Development and Operations Are Friends 12.11 Chris Stevenson's PowerBuilder Bottleneck 12.12 Summary
13. Chapter 11. Managing Infrastructure and Environments 13.1 Introduction 13.2 Understanding the Needs of the Operations Team 13.3 Modeling and Managing Infrastructure 13.4 Managing Server Provisioning and Configuration 13.5 Bad Configuration Management Means Debugging on Release Day 13.6 Test-Driven Changes to Your Environments 13.7 An Automated Approach to Provisioning 13.8 Managing the Configuration of Middleware 13.9 Applying Configuration Management to Recalcitrant Middleware 13.10 Managing Infrastructure Services 13.11 Virtualization 13.12 What Is Virtualization? 13.13 Virtual Networks 13.14 Cloud Computing 13.15 Utility Computing 13.16 DIY Cloud Computing 13.17 Monitoring Infrastructure and Applications 13.18 Splunk 13.19 Summary
14. Chapter 12. Managing Data 14.1 Introduction 14.2 Database Scripting 14.3 Incremental Change 14.4 Managing Technical Debt 14.5 Rolling Back Databases and Zero-Downtime Releases 14.6 Managing Test Data 14.7 Data Management and the Deployment Pipeline 14.8 Types of Test Data: An Example 14.9 Summary
15. Chapter 13. Managing Components and Dependencies 15.1 Introduction 15.2 Keeping Your Application Releasable 15.3 Replacing an Entire UI Incrementally 15.4 Creating Abstraction Layers 15.5 Dependencies (Dependencies) 15.6 Components 15.7 Using Components Doesn't Imply Using an N-Tier Architecture 15.8 Managing Dependency Graphs 15.9 Apache Gump for Managing Dependencies 15.10 Managing Binaries 15.11 Managing Dependencies with Maven 15.12 Summary
16. Chapter 14. Advanced Version Control 16.1 Introduction 16.2 A Brief History of Revision Control 16.3 Branching and Merging 16.4 Version Control Horror Stories: #1 16.5 Distributed Version Control Systems 16.6 Stream-Based Version Control Systems 16.7 ClearCase and the Rebuilding-from-Source Antipattern 16.8 Develop on Mainline 16.9 Version Control Horror Stories: #2 16.10 Branch for Release 16.11 Branch by Feature 16.12 Feature Crews, Kanban, and Branch by Feature 16.13 Branch by Team 16.14 Version Control Horror Stories: #3 16.15 Summary
17. Chapter 15. Managing Continuous Delivery 17.1 Introduction 17.2 A Maturity Model for Configuration and Release Management 17.3 Project Lifecycle 17.4 ITIL and Continuous Delivery 17.5 A Risk Management Process 17.6 Common Delivery Problems—Their Symptoms and Causes 17.7 Compliance and Auditing 17.8 Access Control and Enforcing Traceability 17.9 Summary
Font size
Background
Font

Chapter 5. Anatomy of the Deployment Pipeline

Summary Introduction