Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Deployment and Operations
infra-azure-provisioning
Commits
e0054066
Commit
e0054066
authored
Oct 05, 2020
by
Daniel Scholl
Browse files
Added Skip Deploy to Flux Chart Wait task
parent
b0b515d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
devops/chart-stages.yml
View file @
e0054066
...
...
@@ -53,5 +53,6 @@ stages:
-
template
:
tasks/flux-chart-wait.yml
parameters
:
serviceName
:
${{parameters.serviceName}}
skipDeploy
:
${{ parameters.skipDeploy }}
environment
:
${{ environment }}
imageRepoName
:
'
${{
parameters.serviceName
}}'
devops/tasks/flux-chart-wait.yml
View file @
e0054066
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment