Fix the MinIO image cache key in the kind e2e workflow (#10631)
Run the E2E test on kind / setup-test-matrix (push) Failing after 3s
e2e-test-kind.yaml / extract (push) Failing after 6s
Run the E2E test on kind / get-go-version (push) Failing after 7s
Run the E2E test on kind / build (push) Skipped
Run the E2E test on kind / run-e2e-test (push) Skipped
push.yml / extract (push) Failing after 6s
Scorecard supply-chain security / Scorecard analysis (push) Skipped
Main CI / get-go-version (push) Failing after 7s
Main CI / Build (push) Skipped

* Fix the MinIO image cache key in the kind e2e workflow

The build job restores the MinIO image with
minio-bitnami-${{ env.BITNAMI_CONTAINERS_COMMIT }} and the e2e jobs look
for the same key, but the save step writes
minio-bitnami-${{ steps.minio-version.outputs.dockerfile_sha }}. No step
has that id, so the expression is empty and the image is saved under a
key nothing ever reads.

Upstream only works because an entry under the right key is still in the
cache and kept alive by use; caches unused for seven days are evicted, so
a quiet week would leave every e2e job unable to load the image. A fork
has no such entry, so all of them fail at once:

  Loading MinIO image...
  ./minio-image.tar: No such file or directory

Save under the key the restores ask for.

Signed-off-by: krishhna24 <krishhnatupedev@gmail.com>

* Add changelog for #10631

Signed-off-by: krishhna24 <krishhnatupedev@gmail.com>

---------

Signed-off-by: krishhna24 <krishhnatupedev@gmail.com>
This commit is contained in:
KrishhnaT
2026-10-07 13:28:12 -07:00
committed by GitHub
parent b57ed87f6b
commit ee89d7ff38
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ jobs:
uses: actions/cache/save@v6
with:
path: ./minio-image.tar
key: minio-bitnami-${{ steps.minio-version.outputs.dockerfile_sha }}
key: minio-bitnami-${{ env.BITNAMI_CONTAINERS_COMMIT }}
# Create json of k8s versions to test
# from guide: https://stackoverflow.com/a/65094398/4590470
setup-test-matrix:
+1
View File
@@ -0,0 +1 @@
Fix the MinIO image cache key in the kind e2e workflow so the cached image is found