From d88c4b9c8fe403c4245c32f995c6f515e732ff3d Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Kandula Date: Wed, 16 Aug 2023 17:29:10 +0530 Subject: [PATCH] ci: Use default CS URL for DPs (#25938) For DP images, this now defaults to release-cs, so we don't need to explicitly set this anymore. This can be confirmed by running the following: ``` image=appsmith/appsmith-dp:ce-25909 docker pull "$image" docker image inspect "$image" --format '{{join .Config.Env "\n"}}' | grep CLOUD_SERV ``` --- scripts/build_dp_from_branch.sh | 2 +- scripts/deploy_preview.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build_dp_from_branch.sh b/scripts/build_dp_from_branch.sh index 478c09e62b..9f182f0424 100755 --- a/scripts/build_dp_from_branch.sh +++ b/scripts/build_dp_from_branch.sh @@ -68,7 +68,7 @@ helm upgrade -i $CHARTNAME appsmith/appsmith -n $NAMESPACE \ --set image.pullSecrets=$SECRET --set redis.enabled=false --set mongodb.enabled=false --set ingress.enabled=true \ --set "ingress.annotations.service\.beta\.kubernetes\.io/aws-load-balancer-ssl-cert=$AWS_RELEASE_CERT" \ --set "ingress.hosts[0].host=$DOMAINNAME, ingress.hosts[0].paths[0].path=/, ingress.hosts[0].paths[0].pathType=Prefix" \ - --set ingress.className="nginx" --set applicationConfig.APPSMITH_CLOUD_SERVICES_BASE_URL="https://release-cs.appsmith.com" \ + --set ingress.className="nginx" \ --set image.pullPolicy="Always" --set autoupdate.enabled="true" --set persistence.size=2Gi \ --set applicationConfig.APPSMITH_SENTRY_DSN="https://abf15a075d1347969df44c746cca7eaa@o296332.ingest.sentry.io/1546547" \ --set applicationConfig.APPSMITH_SENTRY_ENVIRONMENT="$NAMESPACE" \ diff --git a/scripts/deploy_preview.sh b/scripts/deploy_preview.sh index fdcb3b4e3b..c8ba782fdd 100755 --- a/scripts/deploy_preview.sh +++ b/scripts/deploy_preview.sh @@ -69,7 +69,7 @@ helm upgrade -i $CHARTNAME appsmith/appsmith -n $NAMESPACE \ --set image.pullSecrets=$SECRET --set redis.enabled=false --set mongodb.enabled=false --set ingress.enabled=true \ --set "ingress.annotations.service\.beta\.kubernetes\.io/aws-load-balancer-ssl-cert=$AWS_RELEASE_CERT" \ --set "ingress.hosts[0].host=$DOMAINNAME, ingress.hosts[0].paths[0].path=/, ingress.hosts[0].paths[0].pathType=Prefix" \ - --set ingress.className="nginx" --set applicationConfig.APPSMITH_CLOUD_SERVICES_BASE_URL="https://release-cs.appsmith.com" \ + --set ingress.className="nginx" \ --set image.pullPolicy="Always" --set autoupdate.enabled="true" --set persistence.size=2Gi \ --set applicationConfig.APPSMITH_SENTRY_DSN="https://abf15a075d1347969df44c746cca7eaa@o296332.ingest.sentry.io/1546547" \ --set applicationConfig.APPSMITH_SENTRY_ENVIRONMENT="$NAMESPACE" \