зеркало из https://github.com/Azure/Moodle.git
CI: Check secrets before deleting test deployment
This commit is contained in:
Родитель
84633d529e
Коммит
4546c114e8
|
@ -28,4 +28,4 @@ cache:
|
||||||
script: ./etc/travis.sh
|
script: ./etc/travis.sh
|
||||||
|
|
||||||
after_script: # Teardown group and created resource after build.
|
after_script: # Teardown group and created resource after build.
|
||||||
- az login --service-principal -u "$SPNAME" -p "$SPPASSWORD" --tenant "$SPTENANT" && az group delete -g azmdl-travis-$TRAVIS_BUILD_NUMBER -y --no-wait
|
- [ -n "$SPNAME" -a -n "$SPPASSWORD" -a -n "$SPTENANT" ] && az login --service-principal -u "$SPNAME" -p "$SPPASSWORD" --tenant "$SPTENANT" && az group delete -g azmdl-travis-$TRAVIS_BUILD_NUMBER -y --no-wait
|
||||||
|
|
Загрузка…
Ссылка в новой задаче