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 All build dependencies (code) in daylife-vendor

1.1.2. "svn co trunk"

1.1.3. "make config" 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 current release number ??? SVN revision number

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

1.4.1. "make rpm" Foreach: build + package

1.4.2. "make install" Foreach: install into virtualenv

1.4.3. "make test" Run tests against virtualenv

1.4.4. "make clean" Wipe build/install artifacts "realclean" wipes all artifacts

1.4.5. "make lint" Static type analysis 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 Working CI builds!

4.4.3. Value for Eclipse users Bootstrap sys.path for debugger usage Simplifies dev box setup Developers see same errors as CI Tie-in with Eclipse's notion of "projects"?

4.4.4. Value for build master (Howard) Kill Howard's need to "edit proc_mgr config" "start/stop config" ships with app Give Howard a way to AUDIT the distributed configs

4.4.5. Value for OPS Kill Mark's need to "edit Nagios config" "service check" definitions ship with the app 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