Skip to content

Commit 497c7cf

Browse files
authored
Merge pull request #3985 from apostasie/ci-build-accel-3
CI, build 3: Stop sharding cache on containerd version
2 parents 11122f5 + bd7cbb3 commit 497c7cf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
run: |
4848
docker buildx create --name with-gha --use
4949
docker buildx build \
50-
--cache-to type=gha,compression=zstd,mode=max,scope=${ARCH}-${CONTAINERD_VERSION} \
51-
--cache-from type=gha,scope=${ARCH}-${CONTAINERD_VERSION} \
50+
--cache-to type=gha,compression=zstd,mode=max,scope=test-integration-dependencies-${ARCH} \
51+
--cache-from type=gha,scope=test-integration-dependencies-${ARCH} \
5252
--target build-dependencies --build-arg CONTAINERD_VERSION=${CONTAINERD_VERSION} .
5353
5454
test-unit:
@@ -128,7 +128,7 @@ jobs:
128128
docker buildx create --name with-gha --use
129129
docker buildx build \
130130
--output=type=docker \
131-
--cache-from type=gha,scope=${ARCH}-${CONTAINERD_VERSION} \
131+
--cache-from type=gha,scope=test-integration-dependencies-${ARCH} \
132132
-t test-integration --target test-integration --build-arg UBUNTU_VERSION=${UBUNTU_VERSION} --build-arg CONTAINERD_VERSION=${CONTAINERD_VERSION} .
133133
- name: "Remove snap loopback devices (conflicts with our loopback devices in TestRunDevice)"
134134
run: |
@@ -186,7 +186,7 @@ jobs:
186186
docker buildx create --name with-gha --use
187187
docker buildx build \
188188
--output=type=docker \
189-
--cache-from type=gha,scope=${ARCH}-${CONTAINERD_VERSION} \
189+
--cache-from type=gha,scope=test-integration-dependencies-${ARCH} \
190190
-t test-integration --target test-integration --build-arg UBUNTU_VERSION=${UBUNTU_VERSION} --build-arg CONTAINERD_VERSION=${CONTAINERD_VERSION} .
191191
- name: "Remove snap loopback devices (conflicts with our loopback devices in TestRunDevice)"
192192
run: |
@@ -285,7 +285,7 @@ jobs:
285285
docker buildx create --name with-gha --use
286286
docker buildx build \
287287
--output=type=docker \
288-
--cache-from type=gha,scope=${ARCH}-${CONTAINERD_VERSION} \
288+
--cache-from type=gha,scope=test-integration-dependencies-${ARCH} \
289289
-t ${TEST_TARGET} --target ${TEST_TARGET} --build-arg UBUNTU_VERSION=${UBUNTU_VERSION} --build-arg CONTAINERD_VERSION=${CONTAINERD_VERSION} --build-arg ROOTLESSKIT_VERSION=${ROOTLESSKIT_VERSION} .
290290
- name: "Disable BuildKit for RootlessKit v1 (workaround for issue #622)"
291291
run: |

0 commit comments

Comments
 (0)