Beautiful Builds

Patterns for Growing Readable, Maintainable Automated Build Processes

Continuous Delivery and Build Automation Patterns for busy engineers.

270 readers

100% Happiness guarantee Learn more

Minimum: $7.99

Suggested: $11.99+

Ways to buy

  • Free sample download
  • 270 readers
  • 40 pages
  • 8,377 words
  • 30% complete
  • Book language: English

About the Book

You can find a whole bunch of videos explaining concepts from this book at http://BeautifulBuilfds.com

Here is what I plan to cover in this book:

· Basic Concepts

o Continuous integration

§ Event trigger types

· Time based

· Checkin

· Other Build Finished

· API request

· Retry

o Automated build

o Cucumber

o Build Agents

§ Remote agents on EC2

§ Agent Requirements

o Build Script

§ Build script Types procedural vs declarative

§ Visual builds script

o CI Servers

o Continuous Deployment

· Source Control Systems

· Build Patterns

o Asset Management

o Build Dependencies (source, assets)

o Database Migrations

· Build Notifications

o Radiators

o Build Bunnies

o Build Screen

o Tray Icons

o Emails

o Sms

· Branching Strategies

· Delivery strategies (when do you deploy a new version?)

· Execution Actors

o High Level

§ Build Controller

§ CI Server

§ Build Configuration

o Mid Level

§ Build Agent

· Agent Pooling

· Just in Time Agent Loading

· Pushed Agent

§ Shell Listen Loop

§ Scheduled Task

§ Service

§ Manual Trigger

o Low Level

§ Build Script

· Triggering

o Time

o Build Finished

o Check In

o API Request

o Retry

· Chaining

o Asset Dependency

o Snapshot Dependencies

· Source Control

o Private Branch Build

o Gated Commit

· Deployment

o Heroku Style

o XCopy

o Remote Manipulation

o Remote Execution Locally

§ Ssh

§ Psexec

o Multi Stage Handoff

§ Listener

§ Pusher

§ FTP Handoff + Listener

§ XCopy Handoff + Listener

§ Source Push + Listener

o Shipping Skeleton

o Continuous Deployment

o Source Configuration

o Envirnonment Variable Configuration

o Convention Based Configuration

o Touch Remote Configuration

o Copy production config, change it, and copy back

· Databases

o Migrations

o Merges

o Semi-automatic handpicking

· Notifications

o Rolling Notifications

o Info Radiators

o Dev Popup

· Optimization

o Cumulative Build

o Parallel Execution

o Incremental Execution

· Tests

o Deployment Tests

§ Run Private Deployment

§ Test Deployed Application

o Headless Tests

§ Command lines

§ Silent Installers

o Visible Tests

§ Browsers

§ UI

§ Visual Installers

· Developer endpoints

o CI Server

o Build Script

o Build Script Editor

· Build Scripts

o Procedural Script

o Declarative Script

o Visual Script

o Domain Specific Script Langauge

o Interactive Script

· Architecture

o Build Script Injection

o Staging

o Production

o Test

o Dev

o

o Location Agnostic Script

o Parametrized Script

o Build Configuration Parameters

· Refactoring

o Extract Script

o Introduce Parameter

o Introduce Relative Path

o Expose Script Parameters

Buy A Bundle, And Save

About the Author

About the Publisher

This book is published on Leanpub by Team Agile Publishing .

Team Agile Publishing is Roy Osherove's publishing house.

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

♥♥♥♥♥

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks. We process the refunds manually, so they may take a few days to show up. See full terms.

If you buy a Leanpub book you get all the updates to the book for free! All books are available in PDF, EPUB (for iPad) and MOBI (for Kindle). There is no DRM. There is no risk, just guaranteed happiness or your money back.

Other books by this author

Table of Contents

    • About the Author
  • 1 Release Compilation
  • 2 Basic Terms
  • 3 Pattern: Build Script Injection
      • Other Names:
    • 3.1 Problem:
    • 3.2 Forces:
    • 3.3 Solution:
      • Source control side script
      • CI Side Scripts/Actions
    • 3.4 Summary
  • 4 Pattern: Shipping Skeleton
      • Other Names:
    • 4.1 Problem:
    • 4.2 Forces:
    • 4.3 Solution:
      • Basic Shipping Skeleton Structure:
    • 4.4 Summary
  • 5 Build Pattern: Location Agnostic Script
    • 5.1 Symptoms:
    • 5.2 Problem:
    • 5.3 Solution:
  • 6 Build Pattern: Fill In the Blanks
    • 6.1 Other names:
    • 6.2 Symptoms:
    • 6.3 Problem:
    • 6.4 Solution:
    • 6.5 Possible Side Effects:
  • 7 Pattern: Extract Script
    • 7.1 Symptoms:
    • 7.2 Problem:
    • 7.3 Solution
    • 7.4 Example:
    • 7.5 Possible Side Effects
  • 8 Build Pattern: Cumulative Build
    • 8.1 Other Names:
    • 8.2 Symptoms:
    • 8.3 Problem:
    • 8.4 Forces:
    • 8.5 Solution:
    • 8.6 For example
  • 9 Pattern: Snapshot Dependency
      • Other Names:
    • 9.1 Symptoms:
    • 9.2 Problem:
    • 9.3 Forces:
    • 9.4 Solution:
    • 9.5 Summary
  • 10 Pattern: Dependency Stash
      • Other Names:
    • 10.1 Problem:
    • 10.2 Forces:
    • 10.3 Solution
      • On the CI Server
        • Automatically:
        • On the developer’s machine
  • 11 Pattern: Assets Hook
      • Other Names:
    • 11.1 Symptoms:
    • 11.2 Problem:
    • 11.3 Forces:
    • 11.4 Solution:
    • 11.5 Summary
  • 12 Pattern: Public API Hook
      • Other Names:
    • 12.1 Symptoms:
    • 12.2 Problem:
    • 12.3 Forces:
    • 12.4 Solution:
    • 12.5 Summary
  • 13 Pattern: Gated Commit
    • 13.1 Other names:
    • 13.2 Symptoms:
    • 13.3 Problem:
    • 13.4 Forces:
    • 13.5 Solution:
    • 13.6 Examples:
    • 13.7 Side effects:
  • 14 Pattern: Immutable Builds
    • 14.1 Problem:
    • 14.2 Forces:
    • 14.3 Solution:
    • 14.4 Summary
  • 15 Tests and Builds are Made to be Broken
      • The Blame Game:
      • Lost Productivity:
  • 16 Rolling Builds and the Plane of Confidence
  • 17 Fast, Dry, Single Purpose Scripts
  • 18 Avoid XML-As-UI

Last updated

This Book is for Sale Through Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed books like this one.

Leanpub_logo_medium

Read

Leanpub has a wide selection of in-progress and completed books available to browse, purchase, and enjoy.

Browse the Bookstore

Write

Leanpub is free for authors and publishers to use. We pay authors or publishers 90% royalties minus 50 cents per sale.

Write a Book