diff options
author | 2018-11-18 01:59:00 +0100 | |
---|---|---|
committer | 2018-11-18 01:59:00 +0100 | |
commit | 0558c5a2ee105499df39fea05b58c0263472cbd1 (patch) | |
tree | 29087e162cd96d502533c6aae1ed3cd3a2864718 /scripts/deploy-azure.sh | |
parent | UNSILENCE, FOOLS (diff) |
Passing the secret env vars into the script
Diffstat (limited to 'scripts/deploy-azure.sh')
-rwxr-xr-x | scripts/deploy-azure.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/deploy-azure.sh b/scripts/deploy-azure.sh index 5a7f895e..47573879 100755 --- a/scripts/deploy-azure.sh +++ b/scripts/deploy-azure.sh @@ -2,6 +2,11 @@ cd .. +export SALTAPI_USER=$2 +export SALTAPI_PASS=$3 +export SALTAPI_URL=$4 +export SALTAPI_EAUTH=$5 + # Build and deploy on master branch, only if not a pull request if [[ ($BUILD_SOURCEBRANCHNAME == 'master') && ($SYSTEM_PULLREQUEST_PULLREQUESTID == '') ]]; then echo "Building image" |