Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-23277

[CI & Release] Attach hotfix builds to advisory via release pipeline

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • CNV-9548 - CNV Release Automation
    • Product CI/CD Sprint 225
    • None

      We have a few issues when we're running a release pipeline in hotfix-release-4.11.1-1 [1]:

      • Only builds of previous release (release-4.11.1) were attached. See job [1] and advisory [2].
      • No hco-bundle-registry was attached and no logs about it in the job [1].
      • For each new build (with a hot fix in it) in hotfix-release (in hotfix brew tag) we need to tag *-candidate. We need to run: `brew tag-build cnv-4.11-rhel-8-candidate [container-name]-container-v4.11.1.hotfix-2`. For example [3].
        • This is required by Errata, otherwise we'll get an error:
        • {\"error\":\"hco-bundle-registry-container-v4.11.1.hotfix-2 does not have any of the valid tags: cnv-4.11-rhel-8-candidate, cnv-4.11-rhel-8-candidate. It only has the following tags: cnv-4.11-rhel-8-hotfix.\"}}]}}","message":"SUCCESS","externalCall":null}

      [1] https://jenkins-cpaas-openshift-virtualization.apps.cpaas-poc.r6c9.p1.openshiftapps.com/job/hotfix-release-4.11.1-1/job/release-pipeline/11/consoleText

      [2] https://errata.devel.redhat.com/advisory/106526

      [3] An example:

      ╭─boukhanov@andromeda ~ 
      ╰─$ brew tag-build cnv-4.11-rhel-8-candidate hco-bundle-registry-container-v4.11.1.hotfix-2     1 ↵
      Created task 49501269
      Watching tasks (this may be safely interrupted)...
      49501269 tagBuild (noarch): open (x86-042.build.eng.bos.redhat.com)
      49501269 tagBuild (noarch): open (x86-042.build.eng.bos.redhat.com) -> closed
        0 free  0 open  1 done  0 failed
      
      49501269 tagBuild (noarch) completed successfully 

              boukhano@redhat.com Ben Oukhanov
              boukhano@redhat.com Ben Oukhanov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: