mirror of
https://git.rockylinux.org/rocky/pungi-rocky.git
synced 2024-12-21 08:58:30 +00:00
remove
This commit is contained in:
parent
27950c833d
commit
25afb1bd97
26
night.sh
26
night.sh
@ -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?
|
|
31
rc.sh
31
rc.sh
@ -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 "$@"
|
|
Loading…
Reference in New Issue
Block a user