forked from sig_core/toolkit
var corrections and simplify
This commit is contained in:
parent
977ad26b83
commit
05118b018c
@ -4,34 +4,32 @@
|
||||
case "${RLREL}" in
|
||||
stable)
|
||||
REVISION=8.7
|
||||
MAJOR="${REVISION:0:1}"
|
||||
MINOR="${REVISION:2:1}"
|
||||
APPEND_TO_DIR="-RC1"
|
||||
;;
|
||||
beta)
|
||||
REVISION=8.8
|
||||
MAJOR="${REVISION:0:1}"
|
||||
MINOR="${REVISION:2:1}"
|
||||
APPEND_TO_DIR="-BETA"
|
||||
COMPOSE_APPEND="${APPEND_TO_DIR}"
|
||||
;;
|
||||
lh)
|
||||
REVISION=8.8
|
||||
MAJOR="${REVISION:0:1}"
|
||||
MINOR="${REVISION:2:1}"
|
||||
APPEND_TO_DIR="-LookAhead"
|
||||
COMPOSE_APPEND="${APPEND_TO_DIR}"
|
||||
;;
|
||||
*)
|
||||
echo "option no recognized"
|
||||
;;
|
||||
esac
|
||||
|
||||
MAJOR="${REVISION%.*}"
|
||||
MINOR="${REVISION#*.}"
|
||||
STAGING_ROOT="/mnt/repos-staging"
|
||||
PRODUCTION_ROOT="/mnt/repos-production"
|
||||
|
||||
# relative to ${ENV}_ROOT
|
||||
CATEGORY_STUB="mirror/pub/rocky"
|
||||
RELEASE_DIR="${CATEGORY_STUB}/${REVISION}${APPEND_TO_DIR}"
|
||||
RELEASE_COMPOSE_ROOT="${COMPOSE_ROOT}/${MAJ}${APPEND_TO_DIR}"
|
||||
RELEASE_COMPOSE_ROOT="${COMPOSE_ROOT}/${MAJOR}${COMPOSE_APPEND}"
|
||||
|
||||
# Set all repos that have no comps/groups associated with them. This is even in
|
||||
# cases where repos will not be available by normal means. It's just for
|
||||
|
@ -4,20 +4,14 @@
|
||||
case "${RLREL}" in
|
||||
stable)
|
||||
REVISION=9.1
|
||||
MAJOR="${REVISION:0:1}"
|
||||
MINOR="${REVISION:2:1}"
|
||||
APPEND_TO_DIR="-RC4"
|
||||
;;
|
||||
beta)
|
||||
REVISION=9.2
|
||||
MAJOR="${REVISION:0:1}"
|
||||
MINOR="${REVISION:2:1}"
|
||||
APPEND_TO_DIR="-BETA"
|
||||
;;
|
||||
lh)
|
||||
REVISION=9.2
|
||||
MAJOR="${REVISION:0:1}"
|
||||
MINOR="${REVISION:2:1}"
|
||||
APPEND_TO_DIR="-LookAhead"
|
||||
;;
|
||||
*)
|
||||
@ -25,15 +19,16 @@ case "${RLREL}" in
|
||||
;;
|
||||
esac
|
||||
|
||||
MAJOR="${REVISION%.*}"
|
||||
MINOR="${REVISION#*.}"
|
||||
ARCHES=(x86_64 aarch64 ppc64le s390x)
|
||||
|
||||
STAGING_ROOT="/mnt/repos-staging"
|
||||
PRODUCTION_ROOT="/mnt/repos-production"
|
||||
|
||||
# relative to ${ENV}_ROOT
|
||||
CATEGORY_STUB="mirror/pub/rocky"
|
||||
RELEASE_DIR="${CATEGORY_STUB}/${REVISION}${APPEND_TO_DIR}"
|
||||
RELEASE_COMPOSE_ROOT="${COMPOSE_ROOT}/${MAJ}"
|
||||
RELEASE_COMPOSE_ROOT="${COMPOSE_ROOT}/${MAJOR}"
|
||||
|
||||
# Set all repos that have no comps/groups associated with them. This is even in
|
||||
# cases where repos will not be available by normal means. It's just for
|
||||
|
Loading…
Reference in New Issue
Block a user