Skip to content

Commit 26641b9

Browse files
committed
CI: improve ci/configure.sh
1 parent 93754fa commit 26641b9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

ci/configure.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env bash
2+
set -euo pipefail
23

3-
set -eu
4+
REPO_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
45

5-
fly -t bosh set-pipeline -p bosh-deployment \
6-
-c ci/pipeline.yml
6+
fly -t "${CONCOURSE_TARGET:-bosh}" set-pipeline -p bosh-deployment \
7+
-c "${REPO_ROOT}/ci/pipeline.yml"

0 commit comments

Comments
 (0)