Last active
January 20, 2021 09:43
-
-
Save martin-g/5f73493253118300de9f6720cce4fec7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eu | |
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
export fly_target=${fly_target:-tutorial} | |
echo "Concourse API target ${fly_target}" | |
echo "Tutorial $(basename $DIR)" | |
pushd $DIR | |
fly -t ${fly_target} set-pipeline -p tutorial-pipeline -c concourse-basic-pipeline.yml -n | |
fly -t ${fly_target} unpause-pipeline -p tutorial-pipeline | |
fly -t ${fly_target} trigger-job -w -j tutorial-pipeline/job-hello-world | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment