summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2024-09-18 14:03:53 +0200
committerPaul Holzinger <pholzing@redhat.com>2024-09-18 14:03:53 +0200
commitdaf3d18f50db06b1f4db30ceeddbecd04a2d8695 (patch)
tree9eabc0f3f7b31d038416728f1e99ea6263c548c6
parentf1a3c2055395a0848b1ebcf95506469e74989769 (diff)
netavark_cache_groom.sh: fix wrong branch
As this download from the netavark repo is should use the NETAVARK_BRANCH env. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
-rw-r--r--contrib/cirrus/netavark_cache_groom.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/cirrus/netavark_cache_groom.sh b/contrib/cirrus/netavark_cache_groom.sh
index b559ba2..5764c8d 100644
--- a/contrib/cirrus/netavark_cache_groom.sh
+++ b/contrib/cirrus/netavark_cache_groom.sh
@@ -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