Uploaded image for project: 'IT: Release Engineering'
  1. IT: Release Engineering
  2. RELENG-2413

Move all LF Projects to use auto-update packer image

Issue XMLXMLWordPrintable

    • 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"
      

       

              Unassigned Unassigned
              cpanell Casey Panell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: