Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-5971

Implement digest-based logic to NOT rebuild OCI artfiact packages if the source SHA has not changed

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • 1.5.0
    • None
    • Build, Dynamic plugins
    • None

      To avoid wasted build resources, as well as quay.io content, we want to ONLY rebuild a package/plugin/workspace IF the digest used last time has changed.

      Thus the midstream repo needs to document the GH SHA digest used for each package, and the export-dynamic.sh script needs to verify that if nothing has changed in a given package's source tree, then the build should be skipped.

      This might be something like

      if git diff currentSHA lastGoodSHA –filename-only | grep -E workspace/foo; then ...

              Unassigned Unassigned
              nickboldt Nick Boldt
              RHIDP - Cope
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: