Skip to content

Commit eaf86ba

Browse files
committed
temp(deploy): remove echo
1 parent e474392 commit eaf86ba

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

backend/deploy.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fi
1515

1616
# Install Azure CLI (if not already installed)
1717
if ! command -v az &> /dev/null; then
18-
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
18+
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash > /dev/null 2>&1
1919
fi
2020

2121
# Install kubectl (if not already installed)
@@ -27,20 +27,20 @@ fi
2727

2828
# Install Helm (if not already installed)
2929
if ! command -v helm &> /dev/null; then
30-
curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
30+
curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash > /dev/null 2>&1
3131
fi
3232

3333
# Login to Azure
3434
az login --service-principal \
3535
-u ${AZURE_CLIENT_ID} \
3636
-p ${AZURE_CLIENT_SECRET} \
37-
--tenant ${AZURE_TENANT_ID}
37+
--tenant ${AZURE_TENANT_ID} > /dev/null 2>&1
3838

3939
# Get AKS credentials
4040
az aks get-credentials \
4141
--resource-group ${AZURE_RESOURCE_GROUP} \
4242
--name ${AZURE_CLUSTER_NAME} \
43-
--overwrite-existing
43+
--overwrite-existing > /dev/null 2>&1
4444

4545
# Deploy using Helm
4646
helm upgrade ${RELEASE_NAME} ./helm-chart \
@@ -53,4 +53,4 @@ helm upgrade ${RELEASE_NAME} ./helm-chart \
5353
--history-max 3 \
5454
--wait \
5555
--timeout 5m \
56-
--atomic
56+
--atomic > /dev/null 2>&1

0 commit comments

Comments
 (0)