Commit e0054066 authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Added Skip Deploy to Flux Chart Wait task

parent b0b515d4
......@@ -53,5 +53,6 @@ stages:
- template: tasks/flux-chart-wait.yml
parameters:
serviceName: ${{parameters.serviceName}}
skipDeploy: ${{ parameters.skipDeploy }}
environment: ${{ environment }}
imageRepoName: '${{ parameters.serviceName }}'
......@@ -19,6 +19,7 @@ steps:
env:
SERVICE_NAME: ${{parameters.serviceName}}
BASE_NAME_SR: $(base-name-sr)
SKIP_DEPLOY: ${{parameters.skipDeploy}}
inputs:
azureSubscription: '$(SERVICE_CONNECTION_NAME)'
addSpnToEnvironment: true
......@@ -27,6 +28,14 @@ steps:
#!/usr/bin/env bash
set -euo pipefail
if [[ $SKIP_DEPLOY == true ]]
then
echo "***********************"
echo "FLUX DEPLOYMENT SKIPPED"
echo "***********************"
exit 0
fi
echo "Logging in to AKS"
echo "------------------------------------"
sudo az aks install-cli
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment