Skip to content

Commit cc50fb0

Browse files
committed
ci: set skopeo CI branch and test fixes
We need to test against the right skopeo branch so we can even build this, and then the new skopeo image needs a new test fix. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
1 parent da61765 commit cc50fb0

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

hack/ci/runner.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
SKOPEO_CI_BRANCH=main
3+
SKOPEO_CI_BRANCH=release-1.22
44

55
# This script is only intended to be run inside the Lima VM to configure it and start the tests.
66
# Do not run locally.
@@ -156,8 +156,14 @@ run_image_skopeo() {
156156
sudo podman umount --latest
157157
sudo podman rm --latest
158158

159-
git clone -b "$SKOPEO_CI_BRANCH" https://github.com/containers/skopeo.git "$SKOPEO_PATH"
159+
git clone -b "$SKOPEO_CI_BRANCH" https://github.com/podman-container-tools/skopeo.git "$SKOPEO_PATH"
160160
cd "$SKOPEO_PATH"
161+
162+
# HACK: patch skopeo with a later test fix
163+
git config --global user.email "container-libs@podman.io"
164+
git config --global user.name "container-libs ci"
165+
curl --fail https://github.com/podman-container-tools/skopeo/commit/726479d948b471ad445a6aeff183b38b806bbc87.patch | git am -
166+
161167
go mod edit -replace "go.podman.io/storage=$GOSRC/storage"
162168
go mod edit -replace "go.podman.io/image/v5=$GOSRC/image"
163169
go mod edit -replace "go.podman.io/common=$GOSRC/common"

0 commit comments

Comments
 (0)