Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-61006

cloud-provider-gcp: re-enable hermetic builds

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • Rejected
    • CLOUD Sprint 276, CLOUD Sprint 277
    • 2
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      As part of the 4.20 rebase work, we aligned with upstream by adding a symlink to /providers, and updating the vendoring tooling to match. 
      
      This was done to avoid ending up building code that is out of sync with the local changes, and to make future rebases more straight forward, as we reduce the likelihood of merge conflicts. (/providers is it's own go module)
      
      Unfortunately, this is not compatible with the way we do hermetic builds in konflux, so we need to find an alternate approach
      
      
      - Can we turn off vendoring? And use a replace in go.mod? 
      - Can we solve this upstream, is there appetite to remove the symlink and make the provider similar to other ones
      
      For 4.20 we have turned off hermetic builds IIUC: https://github.com/openshift-eng/ocp-build-data/pull/7444 

      Version-Release number of selected component (if applicable):

      4.20

      Expected results:

          

      Additional info:

          https://redhat-internal.slack.com/archives/CBZHF4DHC/p1756205196556369

              rh-ee-cschlott Christian Schlotter
              rh-ee-tbarberb Theo Barber-Bany
              None
              None
              Zhaohua Sun Zhaohua Sun
              None
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: