Azure, Artifactory and Xray templates. Major ARM template refactoring

This commit is contained in:
danielmkn
2020-08-24 10:53:17 -07:00
parent 38e43bc99b
commit 83178d67bd
65 changed files with 11394 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
ARTIFACTORY_VERSION=$(cat /var/lib/cloud/instance/user-data.txt | grep "^ARTIFACTORY_VERSION=" | sed "s/ARTIFACTORY_VERSION=//")
IFS=$'\t'
SUPPORTED_VERSIONS=("6.8.0\t6.11.3\t6.15.0\t0.16.0\t0.17.0\t6.18.0")
unset IFS
if [[ "\t${SUPPORTED_VERSIONS[@]}\t" =~ "\t${ARTIFACTORY_VERSION}\t" ]]; then
./install_artifactory.sh
echo "\ninstall_artifactory.sh was selected" >> user-data.txt
else
./install_artifactory7.sh
echo "\ninstall_artifactory7.sh was selected" >> user-data.txt
fi