Skip to content

Commit 29aab74

Browse files
committed
Rename SKOPEO_CI_TAG to SKOPEO_CI_BRANCH
Originally (in containers#1272 ) SKOPEO_CI_TAG was also a tag of an on-registry image. That's no longer the case. On c/image stable branches, we typically want to test against a corresponding skopeo stable branch, not against a specific frozen version on that stable branch, so the variable name has become a bit confusing. So, rename it to SKOPEO_CI_BRANCH. Signed-off-by: Miloslav Trmač <[email protected]>
1 parent 8fcfb83 commit 29aab74

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.cirrus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ env:
77
####
88
# Name of the ultimate destination branch for this CI run
99
DEST_BRANCH: "main"
10-
# CI container image tag (c/skopeo branch name)
11-
SKOPEO_CI_TAG: "main"
10+
# c/skopeo branch name which must work with this c/image branch
11+
SKOPEO_CI_BRANCH: "main"
1212
# Use GO module mirror (reason unknown, travis did it this way)
1313
GOPROXY: https://proxy.golang.org
1414
# Overrides default location (/tmp/cirrus) for repo clone

contrib/cirrus/runner.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ fi
2020
export "PATH=$PATH:$GOPATH/bin"
2121

2222
_run_setup() {
23-
req_env_vars SKOPEO_PATH SKOPEO_CI_TAG GOSRC BUILDTAGS
23+
req_env_vars SKOPEO_PATH SKOPEO_CI_BRANCH GOSRC BUILDTAGS
2424

2525
project_module=$(go list .)
2626

2727
make tools
2828

2929
rm -rf "${SKOPEO_PATH}"
30-
git clone -b ${SKOPEO_CI_TAG} \
30+
git clone -b ${SKOPEO_CI_BRANCH} \
3131
https://github.com/containers/skopeo.git ${SKOPEO_PATH}
3232

3333
cd "${SKOPEO_PATH}"
@@ -37,7 +37,7 @@ _run_setup() {
3737
git checkout FETCH_HEAD
3838
fi
3939

40-
msg "Replacing upstream skopeo $SKOPEO_CI_TAG branch $project_module module"
40+
msg "Replacing upstream skopeo $SKOPEO_CI_BRANCH branch $project_module module"
4141
go mod edit -replace ${project_module}=$GOSRC
4242

4343
"${SKOPEO_PATH}/${SCRIPT_BASE}/runner.sh" setup

0 commit comments

Comments
 (0)