Skip to content

Commit 7f6c359

Browse files
OlehStefanyshyndoit-bi-do
authored andcommitted
crowd/update 4.3.5 test (atlassian#681)
1 parent ad80a9b commit 7f6c359

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

app/util/crowd/populate_db.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ CROWD_DB_USER="postgres"
1717
CROWD_DB_PASS="Password1!"
1818

1919
# Crowd version variables
20-
SUPPORTED_CROWD_VERSIONS=(4.3.0)
20+
BASE_CROWD_VERSION=4.3.0
21+
SUPPORTED_CROWD_VERSIONS=(4.3.5)
2122

2223
if [[ ! $(systemctl status crowd) ]]; then
2324
echo "The Crowd service was not found on this host." \
@@ -44,10 +45,10 @@ DB_DUMP_NAME="db.dump"
4445
if [[ ! "${SUPPORTED_CROWD_VERSIONS[*]}" =~ ${CROWD_VERSION} ]]; then
4546
echo "Crowd Version: ${CROWD_VERSION} is not officially supported by Data Center App Performance Toolkit."
4647
echo "Supported Crowd Versions: ${SUPPORTED_CROWD_VERSIONS[*]}"
47-
echo "!!! Warning !!! Dump from version ${SUPPORTED_CROWD_VERSIONS[0]} would be used"
48+
echo "!!! Warning !!! Dump from version $BASE_CROWD_VERSION would be used"
4849
fi
4950

50-
DB_DUMP_URL="${DATASETS_AWS_BUCKET}/${SUPPORTED_CROWD_VERSIONS[0]}/${DATASETS_SIZE}/${DB_DUMP_NAME}"
51+
DB_DUMP_URL="${DATASETS_AWS_BUCKET}/$BASE_CROWD_VERSION/${DATASETS_SIZE}/${DB_DUMP_NAME}"
5152

5253
echo "!!! Warning !!!"
5354
echo # move to a new line
@@ -159,4 +160,4 @@ echo "DCAPT util script execution is finished successfully."
159160
echo # move to a new line
160161

161162
echo "Important: new admin user credentials are admin/admin"
162-
echo "Wait a couple of minutes until Crowd is started."
163+
echo "Wait a couple of minutes until Crowd is started."

0 commit comments

Comments
 (0)