Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-2080

Add tracking of the Git source branch to the MCE/ACM Pipeline

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • MCE 2.2.0, ACM 2.7.0
    • MCE 2.2.0, ACM 2.7.0
    • DevOps
    • DevOps - Global Sprint 2023-02
    • No

      Summary

      In the Midstream repositories for our CPaaS builds, upstream_sources indicates the Git source location and sha to be rendered and built downstream.  Currently, upstream_sources has the related git sha populated from our upstream pipeline (ACM) or backplane-pipelie (MCE) repo. 

      The issue is - upstream_sources is sensitive not only to the Git source location and Git sha, but also the git branch on which it will find the sha because, functionally, the downstream tooling does a shallow clone of the upstream repo - only cloning the target branch.  

      As a result, we need to render not only the git sha, but also the source git branch into upstream_sources as part of our manifest rendering process.  As a result, we first need to track the source Git branch in our pipeline and backplane-pipeline manifests.  

      Goals

      • Include the source repo branch in the pipeline manifest and tolerate that new value throughout the pipeline tooling

              kbempah Kyl Bempah
              Gurney.Buchanan@ibm.com Gurney Buchanan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: