Skip to content

Commit

Permalink
Merge pull request #510 from Luap99/cache-groom-branch
Browse files Browse the repository at this point in the history
netavark_cache_groom.sh: fix wrong branch
  • Loading branch information
openshift-merge-bot[bot] authored Oct 4, 2024
2 parents 522a6e6 + 5b79e12 commit bf6e536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/cirrus/netavark_cache_groom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ set -eo pipefail
SCRIPT_DIRPATH=$(dirname ${BASH_SOURCE[0]})
source $SCRIPT_DIRPATH/lib.sh

if [[ "$CIRRUS_CI" != true ]] || [[ -z "$DEST_BRANCH" ]]; then
if [[ "$CIRRUS_CI" != true ]] || [[ -z "$NETAVARK_BRANCH" ]]; then
die "Script is not intended for use outside of Cirrus-CI"
fi

SCRIPT_DEST=$SCRIPT_DIRPATH/cache_groom.sh
showrun curl --location --silent --show-error -o $SCRIPT_DEST \
https://raw.githubusercontent.com/containers/netavark/$DEST_BRANCH/contrib/cirrus/cache_groom.sh
https://raw.githubusercontent.com/containers/netavark/$NETAVARK_BRANCH/contrib/cirrus/cache_groom.sh

# Certain common automation library calls assume execution from this file
exec bash $SCRIPT_DEST

0 comments on commit bf6e536

Please sign in to comment.