-
Epic
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
Move all LF Projects to use auto-update packer image
All Gerrit projects would need to do one for more to enable auto-update, that would generate a patch for the ci-management committers to merges.
1. To enable the packer jobs to trigger a downstream job do:
--- a/jjb/releng-packer-jobs.yaml +++ b/jjb/releng-packer-jobs.yaml @@ -24,6 +24,7 @@ platforms: centos-7 templates: builder + update-cloud-image: true - project: name: packer-devstack-jobs @@ -211,3 +212,24 @@ - ubuntu-18.04: disable-job: true templates: kubernetes + update-cloud-image: true
2. To create a separate job to auto-update all images create a separate project:
+- project: + name: openstack-update-cloud-images + jobs: + - gerrit-openstack-update-cloud-image + + project: releng/builder + project-name: builder + branch: master + archive-artifacts: '**/*.log' + jenkins-ssh-credential: 'opendaylight-jenkins-ssh' + + build-node: centos7-builder-2c-1g + # update-cloud-image: true + build-timeout: 10 + + gerrit-user: "jenkins-$SILO" + gerrit-host: "git.opendaylight.org" + gerrit-topic: "update-cloud-image" + reviewers-email: "jenkins-releng@opendaylight.org"
- relates to
-
RELENG-2352 Auto-update packer images to Jenkins
- Done