aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deploy-azure.sh
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-11-18 01:59:00 +0100
committerGravatar Leon Sandøy <[email protected]>2018-11-18 01:59:00 +0100
commit0558c5a2ee105499df39fea05b58c0263472cbd1 (patch)
tree29087e162cd96d502533c6aae1ed3cd3a2864718 /scripts/deploy-azure.sh
parentUNSILENCE, FOOLS (diff)
Passing the secret env vars into the script
Diffstat (limited to 'scripts/deploy-azure.sh')
-rwxr-xr-xscripts/deploy-azure.sh5
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"