The barometer CI can be separated into a number of Jobs:
- Verify Job which runs when code is pushed to gerrit
- Daily job which runs on a nightly basis
- Installer Jobs which validate feature integration with Installers.
The YAML configuration for the first 2 jobs is located in the releng repo: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=tree;f=jjb/barometer;hb=HEAD in the barometer.yaml file. The barometer team maintains these files.
The barometer jenkins jobs for the 1st 2 listed jobs can be found here: https://build.opnfv.org/ci/view/barometer/. The daily job should be checked on a weekly basis.
The 3rd job is maintained by the Apex project. The barometer project should ensure that the builds here are running as expected and the validation through functest and Yardstick is successful.
The 3rd job is essentially testing the 2 barometer scenarios, builds can be found at:
- https://build.opnfv.org/ci/job/apex-os-nosdn-bar-ha-baremetal-euphrates/
- https://build.opnfv.org/ci/job/apex-os-nosdn-bar-noha-baremetal-euphrates/
These jobs should be checked on a daily basis in the run up to release. Please note that you will need to check the console for the barometer specific test results
Please note: for the F release the CI daily job will be updated to generate the barometer container images.
Verify Job
Does a simple source build of the barometer repo (reference: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=blob;f=jjb/barometer/barometer.yml;hb=HEAD)
Daily job
This job builds and pushes collectd RPMs (with barometer plugins enabled) to artifacts.opnfv.org. These RPMs are used as part of the scenario deployment for the Apex daily jobs. The barometer.yml file invokes 2 script to complete the daily job:
The two script above also live in the releng repo.
barometer-build.sh takes advantage of the ci directory in the barometer repo to build the required RPMs.
OPNFV_ARTIFACT_VERSION=2017-06-30_02-14-02
OPNFV_ARTIFACT_URL=artifacts.opnfv.org/barometer/2017-06-30_02-14-02/
After opnfv.properties is generated - the barometer-upload-artifact.sh is invoked. This script will:
- source the opnfv.properties to get ARTIFACT_VERSION
- Check if all the appropriate RPMs were generated
- Upload the barometer RPMs to artifacts.opnfv.org
- update the latest.properties file on http://artifacts.opnfv.org/barometer/ so that the Apex build knows what RPMs to pull/use for barometer scenario deployment