forked from sig_core/toolkit
fix vars
This commit is contained in:
parent
48edb52eed
commit
cb4e047d8b
@ -29,7 +29,7 @@ PRODUCTION_ROOT="/mnt/repos-production"
|
|||||||
# relative to ${ENV}_ROOT
|
# relative to ${ENV}_ROOT
|
||||||
CATEGORY_STUB="mirror/pub/rocky"
|
CATEGORY_STUB="mirror/pub/rocky"
|
||||||
RELEASE_DIR="${CATEGORY_STUB}/${REVISION}${APPEND_TO_DIR}"
|
RELEASE_DIR="${CATEGORY_STUB}/${REVISION}${APPEND_TO_DIR}"
|
||||||
RELEASE_COMPOSE_ROOT="${COMPOSE_ROOT}/${MAJOR}${COMPOSE_APPEND}/latest-${SHORT}-${MAJ}"
|
RELEASE_COMPOSE_ROOT="${COMPOSE_ROOT}/${MAJOR}${COMPOSE_APPEND}/latest-${SHORT}-${MAJOR}"
|
||||||
|
|
||||||
# Set all repos that have no comps/groups associated with them. This is even in
|
# 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
|
# cases where repos will not be available by normal means. It's just for
|
||||||
|
@ -28,7 +28,7 @@ PRODUCTION_ROOT="/mnt/repos-production"
|
|||||||
# relative to ${ENV}_ROOT
|
# relative to ${ENV}_ROOT
|
||||||
CATEGORY_STUB="mirror/pub/rocky"
|
CATEGORY_STUB="mirror/pub/rocky"
|
||||||
RELEASE_DIR="${CATEGORY_STUB}/${REVISION}${APPEND_TO_DIR}"
|
RELEASE_DIR="${CATEGORY_STUB}/${REVISION}${APPEND_TO_DIR}"
|
||||||
RELEASE_COMPOSE_ROOT="${COMPOSE_ROOT}/${MAJOR}/latest-${SHORT}-${MAJ}${APPEND_TO_DIR}"
|
RELEASE_COMPOSE_ROOT="${COMPOSE_ROOT}/${MAJOR}/latest-${SHORT}-${MAJOR}${APPEND_TO_DIR}"
|
||||||
|
|
||||||
# Set all repos that have no comps/groups associated with them. This is even in
|
# 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
|
# cases where repos will not be available by normal means. It's just for
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Short name (eg, NFV, extras, Rocky, gluster9)
|
||||||
|
SHORT=${1}
|
||||||
|
|
||||||
# Source common variables
|
# Source common variables
|
||||||
# shellcheck disable=SC2046,1091,1090
|
# shellcheck disable=SC2046,1091,1090
|
||||||
source "$(dirname "$0")/common"
|
source "$(dirname "$0")/common"
|
||||||
@ -11,8 +14,6 @@ fi
|
|||||||
|
|
||||||
# Major Version (eg, 8)
|
# Major Version (eg, 8)
|
||||||
MAJ=${RLVER}
|
MAJ=${RLVER}
|
||||||
# Short name (eg, NFV, extras, Rocky, gluster9)
|
|
||||||
SHORT=${1}
|
|
||||||
|
|
||||||
cd "${RELEASE_COMPOSE_ROOT}/compose" || { echo "Failed to change directory"; ret_val=1; exit 1; }
|
cd "${RELEASE_COMPOSE_ROOT}/compose" || { echo "Failed to change directory"; ret_val=1; exit 1; }
|
||||||
ret_val=$?
|
ret_val=$?
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Short name (eg, NFV, extras, Rocky, gluster9)
|
||||||
|
SHORT=${1}
|
||||||
|
|
||||||
# Source common variables
|
# Source common variables
|
||||||
# shellcheck disable=SC2046,1091,1090
|
# shellcheck disable=SC2046,1091,1090
|
||||||
source "$(dirname "$0")/common"
|
source "$(dirname "$0")/common"
|
||||||
@ -11,8 +14,6 @@ fi
|
|||||||
|
|
||||||
# Major Version (eg, 8)
|
# Major Version (eg, 8)
|
||||||
MAJ=${RLVER}
|
MAJ=${RLVER}
|
||||||
# Short name (eg, NFV, extras, Rocky, gluster9)
|
|
||||||
SHORT=${1}
|
|
||||||
|
|
||||||
cd "${RELEASE_COMPOSE_ROOT}/compose" || { echo "Failed to change directory"; ret_val=1; exit 1; }
|
cd "${RELEASE_COMPOSE_ROOT}/compose" || { echo "Failed to change directory"; ret_val=1; exit 1; }
|
||||||
ret_val=$?
|
ret_val=$?
|
||||||
|
Loading…
Reference in New Issue
Block a user