Browse Source

Added a script to automate the upload of the build pipeline to concourse

master
Drew Short 4 years ago
parent
commit
ade9846e14
  1. 1
      .dockerignore
  2. 13
      scripts/upload_pipeline.sh

1
.dockerignore

@ -1 +1,2 @@
scripts/
pipeline.yaml

13
scripts/upload_pipeline.sh

@ -0,0 +1,13 @@
#!/usr/bin/env bash
TEAM=docker
PIPELINE=terraform
START_DIR=$(pwd)
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "${DIR}/.." || exit
fly -t ${TEAM} set-pipeline --pipeline ${PIPELINE} --config pipeline.yml
cd "$START_DIR" || exit
Loading…
Cancel
Save