From 25afb1bd972b7af886442af47fe13153d2f831a5 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Fri, 25 Jun 2021 19:40:21 -0700 Subject: [PATCH] remove --- night.sh | 26 -------------------------- rc.sh | 31 ------------------------------- 2 files changed, 57 deletions(-) delete mode 100644 night.sh delete mode 100644 rc.sh diff --git a/night.sh b/night.sh deleted file mode 100644 index ec21854..0000000 --- a/night.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -export LC_ALL=C -CONFIG="rocky-8.conf" -TARGET_DIR="/mnt/koji/compose/8" -NIGHTLY="" -SKIP_PHASES="--skip-phase=productimg" -DEST=$(pwd) -DATE=$(date "%Y%m%d") -SHORT="Rocky" -RELEASE="8" -RELEASE_TITLE="8" -COMPSFILE="comps-rocky-8.3.xml" -TMPDIR=$(mktemp -d /tmp/rockyrc.$DATE.XXXX) -RSYNCPREFIX="sudo -u syncer" -RSYNCTARGET="/rocky-8-stage/$RELEASE" -LOCATION="https://mirror.rockylinux.org$RSYNCTARGET" - -# OSTREE FUTURE -OSTREESRCREPO="/mnt/koji/compose/ostree/repo/" -OSTREEDESTREPO="/mnt/koji/ostree/repo/" -OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID) -# OSTREE END - -# Run pungi? - -# Run rsync? diff --git a/rc.sh b/rc.sh deleted file mode 100644 index 1ffda99..0000000 --- a/rc.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash -export LC_ALL=C -LABEL=$1 -shift -CONFIG="rocky-8.conf" -TARGET_DIR="/tmp/koji/compose/8" -NIGHTLY="" -SKIP_PHASES="--skip-phase=productimg" -DEST=$(pwd) -DATE=$(date "%Y%m%d") -COMPSFILE="comps-rocky-8.3.xml" -TMPDIR=$(mktemp -d /tmp/rockyrc.$DATE.XXXX) -pushd $TMPDIR -git clone https://git.rockylinux.org/rocky-comps.git && { - pushd rocky-comps - make "${COMPSFILE}" - cp "${COMPSFILE}" $DEST/ - popd -} -popd -## Fedora seems to use fedmsg, is it needed? -#CMD="pungi-koji --notification-script=/usr/bin/pungi-fedmsg-notification --notification-script=pungi-wait-for-signed-ostree-handler --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $NIGHTLY $SKIP_PHASES --label=$LABEL" -CMD="pungi-koji --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" -else - CMD="$CMD --debug-mode --compose-dir=$TARGET_DIR/$COMPOSE_ID" -fi - -time $CMD "$@"