Build Process 2.0 Goals

Get Started. It's Free
or sign up with your email address
Rocket clouds
Build Process 2.0 Goals by Mind Map: Build Process 2.0 Goals

1. Runnable on any dev host

1.1. Trivial setup process: no manual config

1.1.1. Install daylife-vendor

1.1.1.1. All build dependencies (code) in daylife-vendor

1.1.2. "svn co trunk"

1.1.3. "make config"

1.1.3.1. Foreach project: config

1.2. Any developer can (re)build a deployable set of RPMs

1.3. No state in an external DB

1.3.1. "Usable on an airplane"

1.3.2. State in SVN

1.3.2.1. current release number

1.3.2.2. ???

1.3.2.3. SVN revision number

1.4. Small set of top-level tasks to use repeatedly

1.4.1. "make rpm"

1.4.1.1. Foreach: build + package

1.4.2. "make install"

1.4.2.1. Foreach: install into virtualenv

1.4.3. "make test"

1.4.3.1. Run tests against virtualenv

1.4.4. "make clean"

1.4.4.1. Wipe build/install artifacts

1.4.4.2. "realclean" wipes all artifacts

1.4.5. "make lint"

1.4.5.1. Static type analysis

1.4.5.2. Code style check

2. Pythonic, but not Python-exclusive

2.1. Build types

2.1.1. Pure Python

2.1.2. Python + C extensions

2.1.3. Java

2.1.4. Able to extend for new build types

2.2. "pythonic" = leverages Python skills

2.3. "pythonic" = looks like pseudocode

2.3.1. Minimal "stuff to remember"

2.3.2. Minimal "magic"

3. Support Continuous Integration

3.1. CI == fast feedback

3.2. Run test suite, starting with nothing more than an initial checkout

3.3. Wipe ALL artifacts, resetting to "virgin checkout" state

3.4. Install into an arbitrary root dir to allow > 1 CI build/box

3.4.1. trunk

3.4.2. other branches

3.5. Test output in standard formats

3.5.1. Unit tests -> JUnit XML

3.5.2. Style tests -> ??

3.5.3. Static type analysis -> ??

3.5.4. Coverage report -> Clover XML?

4. Easy for our team to pick up & stick with

4.1. Small number of commands to remember

4.1.1. Same commands work at "project" and "top" levels

4.1.2. "help" command that works everywhere

4.2. Easy to apply to new projects

4.2.1. Minimal boilerplate per project

4.2.2. Zero arguments = "right thing by default"

4.3. Quick, helpful feedback when used "incorrectly"

4.4. Value for all parties

4.4.1. Value for command-line users

4.4.2. Value for Testers

4.4.2.1. Working CI builds!

4.4.3. Value for Eclipse users

4.4.3.1. Bootstrap sys.path for debugger usage

4.4.3.1.1. Simplifies dev box setup

4.4.3.1.2. Developers see same errors as CI

4.4.3.2. Tie-in with Eclipse's notion of "projects"?

4.4.4. Value for build master (Howard)

4.4.4.1. Kill Howard's need to "edit proc_mgr config"

4.4.4.1.1. "start/stop config" ships with app

4.4.4.1.2. Give Howard a way to AUDIT the distributed configs

4.4.5. Value for OPS

4.4.5.1. Kill Mark's need to "edit Nagios config"

4.4.5.1.1. "service check" definitions ship with the app

4.4.5.1.2. Give Mark a way to AUDIT the distributed test definitions

5. Support company growth

5.1. Will it still work when we have 100 developers on staff?

5.1.1. Eliminate human "single points of failure"

5.1.2. Aim for 10x growth

5.1.3. Don't over-engineer

5.2. Allow independent sub-teams

5.3. Enforce contracts between teams

5.4. Allow "build/test master" roles to be delegated

5.4.1. self-subscribe to test results (subsets)

5.4.2. Coverage reports

5.5. Fast feedback for everybody, in every role

5.6. Eliminate single points of failure