setup commons

This commit is contained in:
nazunalika 2021-07-06 15:35:37 -07:00
parent e95f133f4f
commit 6b1d6a43d4
Signed by: label
GPG Key ID: 6735C0E1BD65D048
8 changed files with 9 additions and 1 deletions

1
scripts/common-8 Normal file
View File

@ -0,0 +1 @@
REVISION="8.4"

View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
source "$(dirname "$0")/common-8"
export PATH=/usr/sbin:/usr/bin:/root/bin export PATH=/usr/sbin:/usr/bin:/root/bin
TARGET_DIR="/mnt/compose/8" TARGET_DIR="/mnt/compose/8"
SHORT=Rocky SHORT=Rocky
@ -7,7 +8,7 @@ CONFIG=/etc/pungi-prod/r8.conf
# Unused for now # Unused for now
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-8/COMPOSE_ID) OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-8/COMPOSE_ID)
SKIP="" SKIP=""
LABEL="--production --label RC-8.4" LABEL="--production --label RC-${REVISION}"
CMD="pungi-koji --config=$CONFIG --old-composes=$TARGET_DIR $SKIP $LABEL" CMD="pungi-koji --config=$CONFIG --old-composes=$TARGET_DIR $SKIP $LABEL"
#COMPOSE_ID="Rocky-8-20210625.n.0" #COMPOSE_ID="Rocky-8-20210625.n.0"

View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
source "$(dirname "$0")/common-8"
export PATH=/usr/sbin:/usr/bin:/root/bin export PATH=/usr/sbin:/usr/bin:/root/bin
TARGET_DIR="/mnt/compose/8" TARGET_DIR="/mnt/compose/8"
SHORT=Devel SHORT=Devel

View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
source "$(dirname "$0")/common-8"
TARGET_DIR="/mnt/compose/8" TARGET_DIR="/mnt/compose/8"
SHORT=Extras SHORT=Extras
CONFIG=/etc/pungi-prod/extras.conf CONFIG=/etc/pungi-prod/extras.conf

View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
source "$(dirname "$0")/common-8"
TARGET_DIR="/mnt/compose/8" TARGET_DIR="/mnt/compose/8"
SHORT=Gluster9 SHORT=Gluster9
CONFIG=/etc/pungi-prod/gluster9.conf CONFIG=/etc/pungi-prod/gluster9.conf

View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
source "$(dirname "$0")/common-8"
TARGET_DIR="/mnt/compose/8" TARGET_DIR="/mnt/compose/8"
SHORT=NFV SHORT=NFV
CONFIG=/etc/pungi-prod/nfv.conf CONFIG=/etc/pungi-prod/nfv.conf

View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
source "$(dirname "$0")/common-8"
TARGET_DIR="/mnt/compose/8" TARGET_DIR="/mnt/compose/8"
SHORT=Plus SHORT=Plus
CONFIG=/etc/pungi-prod/plus.conf CONFIG=/etc/pungi-prod/plus.conf

View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
source "$(dirname "$0")/common-8"
export PATH=/usr/sbin:/usr/bin:/root/bin export PATH=/usr/sbin:/usr/bin:/root/bin
TARGET_DIR="/mnt/compose/8" TARGET_DIR="/mnt/compose/8"
SHORT=Rocky SHORT=Rocky