From dc99eb1ac4bbdbf5a9c0ab30dfe982b7565711e5 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Kandula Date: Mon, 1 Jul 2024 15:26:02 +0530 Subject: [PATCH] ci: Use latest version of helm chart for DPs (#34608) If we don't specify a version with `--version`, the `help upgrade` command takes the latest version. [Ref documentation](https://helm.sh/docs/helm/helm_upgrade/). ![shot-2024-07-01-09-51-35](https://github.com/appsmithorg/appsmith/assets/120119/4d916c41-5b47-495a-bf06-cdd4d5205484) --- scripts/deploy_preview.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/deploy_preview.sh b/scripts/deploy_preview.sh index d16b7377e2..bec589ecda 100755 --- a/scripts/deploy_preview.sh +++ b/scripts/deploy_preview.sh @@ -40,7 +40,6 @@ export DBNAME="$edition$PULL_REQUEST_NUMBER" export DOMAINNAME="$edition-$PULL_REQUEST_NUMBER.dp.appsmith.com" export HELMCHART="appsmith" export HELMCHART_URL="http://helm-ee.appsmith.com" -export HELMCHART_VERSION="3.1.1" aws eks update-kubeconfig --region "$region" --name "$cluster_name" --profile eksci @@ -104,5 +103,4 @@ helm upgrade -i "$CHARTNAME" "appsmith-ee/$HELMCHART" -n "$NAMESPACE" --create-n --set applicationConfig.APPSMITH_SENTRY_ENVIRONMENT="$NAMESPACE" \ --set applicationConfig.APPSMITH_MONGODB_URI="mongodb+srv://$DB_USERNAME:$DB_PASSWORD@$DB_URL/$DBNAME?retryWrites=true&minPoolSize=1&maxPoolSize=10&maxIdleTimeMS=900000&authSource=admin" \ --set applicationConfig.APPSMITH_DISABLE_EMBEDDED_KEYCLOAK=\"1\" \ - --set applicationConfig.APPSMITH_CUSTOMER_PORTAL_URL="https://release-customer.appsmith.com" \ - --version "$HELMCHART_VERSION" + --set applicationConfig.APPSMITH_CUSTOMER_PORTAL_URL="https://release-customer.appsmith.com"