Skip to content

Commit

Permalink
Merge pull request #88 from model-driven-devops/jk-dev
Browse files Browse the repository at this point in the history
Updated .gitlab-ci.yml to better support workshops
  • Loading branch information
jasonking3 authored Feb 8, 2023
2 parents 23438af + 43af63d commit f5c1136
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ clean:
build-cml:
stage: build-cml
script:
- ansible-playbook cisco.cml.build -e startup='host' -e wait='yes'
- ansible-playbook cisco.cml.build -e startup='host' -e wait='yes' -e retries=100
resource_group: mdd
rules:
- if: $CLEAN == "true"
Expand All @@ -47,10 +47,12 @@ init-nso:
stage: init-nso
script:
- ansible-playbook ciscops.mdd.nso_init
- ansible-playbook ciscops.mdd.nso_delete_devices
- ansible-playbook ciscops.mdd.nso_update_devices
- ansible-playbook ciscops.mdd.update -e dry_run=no
resource_group: mdd
rules:
- if: $CLEAN == "true"
- if: $NSO_INIT == "true"

save-rollback:
stage: save-rollback
Expand Down

0 comments on commit f5c1136

Please sign in to comment.