aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-11-18 02:05:31 +0100
committerGravatar Leon Sandøy <[email protected]>2018-11-18 02:05:31 +0100
commit2facac6123773400d8b17fdadec4d9a37f9e0005 (patch)
treed66d964b39252590e669e0a77629e6ccac7bf962
parentPassing the secret env vars into the script (diff)
Hardcoding EAUTH
-rw-r--r--azure-pipelines.yml2
-rwxr-xr-xscripts/deploy-azure.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 52c1471d..2b43cc57 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -65,4 +65,4 @@ jobs:
inputs:
scriptPath: scripts/deploy-azure.sh
- args: '$(SALTAPI_TARGET) $(SALTAPI_USER) $(SALTAPI_PASS) $(SALTAPI_URL) $(SALTAPI_EAUTH)'
+ args: '$(SALTAPI_TARGET) $(SALTAPI_USER) $(SALTAPI_PASS) $(SALTAPI_URL)'
diff --git a/scripts/deploy-azure.sh b/scripts/deploy-azure.sh
index 47573879..e96f64fe 100755
--- a/scripts/deploy-azure.sh
+++ b/scripts/deploy-azure.sh
@@ -5,7 +5,7 @@ cd ..
export SALTAPI_USER=$2
export SALTAPI_PASS=$3
export SALTAPI_URL=$4
-export SALTAPI_EAUTH=$5
+export SALTAPI_EAUTH=pam
# Build and deploy on master branch, only if not a pull request
if [[ ($BUILD_SOURCEBRANCHNAME == 'master') && ($SYSTEM_PULLREQUEST_PULLREQUESTID == '') ]]; then