mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-24 06:28:41 +00:00
b1873: Image upgrade functions remove redundant variable
This commit is contained in:
@@ -83,13 +83,13 @@ build_crontab_and_setup_files() {
|
||||
cd /root/
|
||||
chown root:root environments_scripts
|
||||
cd environments_scripts
|
||||
./build-crontab-and-cp-files "${BUILD_TYPE}" "${GIT_USER}" "${RELATIVE_PATH_TO_GIT}"
|
||||
./build-crontab-and-cp-files "${ENVIRONMENT_TYPE}" "${GIT_USER}" "${RELATIVE_PATH_TO_GIT}"
|
||||
cd ..
|
||||
rm -rf /root/environments_scripts
|
||||
}
|
||||
|
||||
setup_keys() {
|
||||
#1: Image type.
|
||||
#1: Environment type.
|
||||
cd /root/keysTemp
|
||||
OLD_IFS="$IFS"
|
||||
SEPARATOR="@."
|
||||
|
||||
@@ -15,9 +15,8 @@ if echo "${METADATA}" | grep -q "^image-upgrade$"; then
|
||||
echo "Image upgrade..."
|
||||
GIT_USER="trac"
|
||||
RELATIVE_PATH_TO_GIT="gitcopy"
|
||||
BUILD_TYPE="reverse_proxy"
|
||||
LOGON_USER_HOME="ec2-user"
|
||||
IMAGE_TYPE="reverse_proxy"
|
||||
ENVIRONMENT_TYPE="reverse_proxy"
|
||||
run_yum_update
|
||||
build_crontab_and_setup_files
|
||||
finalize
|
||||
|
||||
Reference in New Issue
Block a user