pungi-fedora/nightly.sh
Dennis Gilmore ced9341be4 setup the initial fedora repo
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-05-29 15:04:00 -05:00

25 lines
647 B
Bash
Executable File

#!/bin/sh
export LC_ALL=C
CONFIG="fedora.conf"
TARGET_DIR="/mnt/fedora_koji/compose/rawhide"
DEBUG_MODE="--debug-mode"
#OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR"
NIGHTLY="--nightly"
SKIP_PHASES="--skip-phase=productimg --skip-phase=createiso --skip-phase=buildinstall "
# uncomment and edit for resuming a failed compose
#COMPOSE_ID="Fedora-23-20150530.n.0"
CMD="pungi-koji $DEBUG_MODE --config=$CONFIG $OLD_COMPOSES_DIR $NIGHTLY"
if [ -z "$COMPOSE_ID" ]; then
CMD="$CMD --target-dir=$TARGET_DIR"
else
CMD="$CMD --compose-dir=$TARGET_DIR/$COMPOSE_ID"
fi
time $CMD "$SKIP_PHASES" "$@"