Skip to content

Building All The Things

Ian McCracken edited this page Mar 5, 2014 · 4 revisions
  1. Install zendev (develop)
  2. Create an environment (zendev init myenv)
  3. Use the environment (zendev use myenv)
  4. cd build && git checkout feature/serviced-build (for now)

QUICK WAY (no environment):

  1. BUILD_NUMBER=123 zendev build -m $(zendev root)/build/manifests/europa-alpha-2.json TARGET (tab-complete for targets)

REPEATABLE WAY (create an environment):

  1. zendev add $(zendev root)/build/manifests/europa-alpha-2.json
  2. zendev sync
  3. BUILD_NUMBER=123 zendev build TARGET

When TODOs are completed (build/TODO), that should result in build/output directory containing:

  • Zenoss RPMs & build logs
  • Image pushed to quay.io with tag $(BUILD_NUMBER)
  • serviced-zenoss-0.37.0_$(BUILD_NUMBER).{deb,rpm} that will lay down /root/.dockercfg and /usr/local/serviced/services/Zenoss, tagged with the correct tag
Clone this wiki locally