@@ -18,8 +18,7 @@ trap cleanup SIGINT SIGTERM ERR EXIT
1818# --- Variables ---
1919INSTALL_K3S_VERSION=${INSTALL_K3S_VERSION:- " v1.32.3+k3s1" }
2020DV_CHART_REGISTRY_URL=${DV_CHART_REGISTRY_URL:- " https://helm.gradle.com/" }
21- DV_VERSION=${DV_VERSION:- " 2025.1.0" }
22- Script_Version=" 0.1"
21+ SCRIPT_VERSION=" 0.1"
2322
2423# Log File
2524LOGFILE=" $( pwd) /install_$( date +' %Y%m%d_%H%M%S' ) .log"
@@ -108,23 +107,6 @@ echo -e "${YELLOW}-u, --uninstall${NOFORMAT} Uninstall Develocity Platform"
108107exit
109108}
110109
111- # --- Validation functions ---
112- # Check if the script is running as root
113- # This is not used at the moment.
114- # validateSudo () {
115- # local OS_TYPE=$(uname)
116- # if [ "$OS_TYPE" == "Linux" ] && [ $EUID -ne 0 ]; then
117- # exitError "This script must be run as root or with sudo."
118- # elif [ "$OS_TYPE" != "Linux" ]; then
119- # exitError "This script is only supported on Linux."
120- # fi
121-
122- # local ARCHITECTURE=$(uname -m)
123- # if [ "$ARCHITECTURE" != "x86_64" ]; then
124- # exitError "This script is only supported on x86_64 architecture."
125- # fi
126- # }
127-
128110# Check if the OS is Linux and x86_64
129111validateOS () {
130112 local OS_TYPE
@@ -270,7 +252,6 @@ installPlatformChart(){
270252 helm repo add gradle " ${baseUrl} " && \
271253 helm repo update && \
272254 helm install \
273- --version " ${DV_VERSION} " \
274255 --create-namespace --namespace develocity \
275256 ge-standalone \
276257 gradle/gradle-enterprise-standalone \
0 commit comments