Add template to update OpenStack cloud images 19/61719/10
authorAnil Belur <abelur@linuxfoundation.org>
Mon, 16 Sep 2019 17:18:02 +0000 (22:48 +0530)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 16 Sep 2019 17:18:02 +0000 (22:48 +0530)
commit4028ad2bc487460837736f040d885c3674b39031
tree564e05089fb57e5379b88e991fa60d2dae9decb7
parent3b12327f7116727b4c19a8465589869a6add032b
Add template to update OpenStack cloud images

This job finds and updates OpenStack cloud images on the
ci-management source repository.

The job is triggered in two ways:

1. When a packer merge job completes, the new image name created is
   passed down to the job.
2. Manually trigger the job to update all images.

When the job is triggered through an upstream packer merge job, this
only generates a change request for the new image built.

When the job is triggered manually, this job finds the latest
images on OpenStack cloud and compares them with the images currently
used in the source ci-management source repository. If the compared
images have newer time stamps are **all** updated through a change
request.

This job requires a Jenkins configuration merge and verify job setup and
working on Jenkins.

Issue: RELENG-2352
Change-Id: I2c75407bbe9d6866ded492310b8d34b47c3a1341
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
12 files changed:
.jjb-test/lf-ci-jobs.yaml
.jjb-test/lf-ci-jobs/openstack-update-cloud-image-full.yaml [new file with mode: 0644]
.jjb-test/lf-ci-jobs/openstack-update-cloud-image-minimal.yaml [new file with mode: 0644]
docs/jjb/lf-ci-jobs.rst
docs/jjb/lf-macros.rst
jjb/lf-ci-job-groups.yaml
jjb/lf-ci-jobs.yaml
jjb/lf-macros.yaml
releasenotes/notes/auto-update-cloud-images-19a2241aca85abe3.yaml [new file with mode: 0644]
shell/gerrit-push-patch.sh
shell/packer-build.sh
shell/update-cloud-images.sh [new file with mode: 0644]