Skip to content

Commit

Permalink
Merge pull request #2083 from mtrmac/skopeo_ci_tag
Browse files Browse the repository at this point in the history
Rename SKOPEO_CI_TAG to SKOPEO_CI_BRANCH
  • Loading branch information
mtrmac committed Aug 7, 2023
2 parents 8fcfb83 + 29aab74 commit af30818
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ env:
####
# Name of the ultimate destination branch for this CI run
DEST_BRANCH: "main"
# CI container image tag (c/skopeo branch name)
SKOPEO_CI_TAG: "main"
# c/skopeo branch name which must work with this c/image branch
SKOPEO_CI_BRANCH: "main"
# Use GO module mirror (reason unknown, travis did it this way)
GOPROXY: https://proxy.golang.org
# Overrides default location (/tmp/cirrus) for repo clone
Expand Down
6 changes: 3 additions & 3 deletions contrib/cirrus/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ fi
export "PATH=$PATH:$GOPATH/bin"

_run_setup() {
req_env_vars SKOPEO_PATH SKOPEO_CI_TAG GOSRC BUILDTAGS
req_env_vars SKOPEO_PATH SKOPEO_CI_BRANCH GOSRC BUILDTAGS

project_module=$(go list .)

make tools

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

cd "${SKOPEO_PATH}"
Expand All @@ -37,7 +37,7 @@ _run_setup() {
git checkout FETCH_HEAD
fi

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

"${SKOPEO_PATH}/${SCRIPT_BASE}/runner.sh" setup
Expand Down

0 comments on commit af30818

Please sign in to comment.