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
1ca93c66
Commit
1ca93c66
authored
Oct 04, 2020
by
Daniel Scholl
Browse files
Updated
parent
0ead5354
Changes
1
Hide whitespace changes
Inline
Side-by-side
devops/tasks/flux-service-wait.yml
View file @
1ca93c66
...
...
@@ -17,7 +17,7 @@ steps:
-
task
:
AzureCLI@1
displayName
:
'
Flux
Deployment
Wait'
env
:
IMAGE
:
$(CONTAINER_REGISTRY_NAME).azurecr.io/${{ parameters.imageRepoName }}-${{ parameters.environment }}:$(Build.
BuildId
)
IMAGE
:
$(CONTAINER_REGISTRY_NAME).azurecr.io/${{ parameters.imageRepoName }}-${{ parameters.environment }}:$(Build.
SourceVersion
)
SERVICE_NAME
:
${{parameters.serviceName}}
BASE_NAME_SR
:
$(base-name-sr)
inputs
:
...
...
@@ -33,8 +33,8 @@ steps:
sudo az aks install-cli
az aks get-credentials -g $BASE_NAME_SR-rg -n $BASE_NAME_SR-aks
echo "Checking Deployment $SERVICE_NAME
Available
"
echo "------------------------------------"
echo "Checking Deployment $SERVICE_NAME
Exists
"
echo "------------------------------------
----
"
attempt_counter=0
max_attempts=30
until kubectl get deployment $SERVICE_NAME -n osdu
...
...
@@ -63,4 +63,7 @@ steps:
sleep 20
done
echo "Checking Deployment $SERVICE_NAME Available"
echo "----------------------------------------"
kubectl wait --for=condition=available --timeout=600s deployment/$SERVICE_NAME -n osdu
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