Enable update cloud image job 07/111107/1
authorAnil Belur <abelur@linuxfoundation.org>
Mon, 10 Aug 2020 03:08:48 +0000 (13:08 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 10 Aug 2020 23:08:52 +0000 (09:08 +1000)
Enable update cloud image at the end of the packer merge
job. This finds the latest image and submits a CR to Gerrit
which can be merged anytime new image updates are required.

Issue-ID: CIMAN-33
Change-Id: I38977c28d403078b8a01cfc549a8af4b9effdfa3
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jjb/ci-management/ci-management-packer-jobs.yaml
jjb/ci-management/ci-management.yaml

index 79b4853..7115b5d 100644 (file)
@@ -16,6 +16,7 @@
       - centos-7
       - ubuntu-18.04
     templates: builder
+    update-cloud-image: true
 
 - project:
     name: packer-docker-jobs
@@ -35,6 +36,7 @@
       - ubuntu-18.04-arm64
       - ubuntu-18.04
     templates: docker
+    update-cloud-image: true
 
 - project:
     name: packer-memcached-jobs
@@ -52,6 +54,7 @@
     platforms:
       - ubuntu-18.04
     templates: memcached
+    update-cloud-image: true
 
 - project:
     name: packer-redis-jobs
@@ -68,6 +71,7 @@
     platforms:
       - centos-7
     templates: redis
+    update-cloud-image: true
 
 - project:
     name: packer-helm-jobs
@@ -84,3 +88,4 @@
     platforms:
       - ubuntu-18.04
     templates: helm
+    update-cloud-image: true
index 8b4d6e5..d310819 100644 (file)
         https://jenkins.onap.org
         https://jenkins.onap.org/sandbox
     openstack-cloud: vex
+
+- project:
+    name: openstack-update-cloud-images
+    jobs:
+      - gerrit-openstack-update-cloud-image
+
+    project: ci-management
+    project-name: ci-management
+    branch: master
+    archive-artifacts: '**/*.log'
+    jenkins-ssh-credential: "{jenkins-ssh-credential}"
+
+    build-node: centos7-builder-2c-1g
+    # update-cloud-image: true
+    build-timeout: 10
+
+    gerrit-user: "jenkins-$SILO"
+    gerrit-host: "gerrit.onap.org"
+    gerrit-topic: "update-cloud-image"
+    reviewers-email: "onap-jobbuilder@jenkins.onap.org"