From 31ba28a3b0f8b001fdc79232d8bf02c4eee46e61 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Nov 17 2016 14:58:03 +0000 Subject: pass the label to pungi-koji Production composes have to have a label passed into them Signed-off-by: Dennis Gilmore --- diff --git a/twoweek-nightly.sh b/twoweek-nightly.sh index 85a0c42..390577f 100755 --- a/twoweek-nightly.sh +++ b/twoweek-nightly.sh @@ -2,6 +2,8 @@ export LC_ALL=C +LABEL=$1 + CONFIG="fedora-atomic.conf" TARGET_DIR="/mnt/koji/compose/twoweek" #OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR" @@ -55,7 +57,7 @@ git clone https://pagure.io/fedora-comps.git && { } popd -CMD="pungi-koji --notification-script=/usr/bin/pungi-fedmsg-notification --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $NIGHTLY $SKIP_PHASES" +CMD="pungi-koji --notification-script=/usr/bin/pungi-fedmsg-notification --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $NIGHTLY $SKIP_PHASES --label=$LABEL" if [ -z "$COMPOSE_ID" ]; then CMD="$CMD --target-dir=$TARGET_DIR"