Created
April 3, 2019 19:03
-
-
Save ddadlani/94137f87028e54518dfd79a8b26f9e80 to your computer and use it in GitHub Desktop.
A script to quickly set a test concourse pipeline
This file contains hidden or 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 | |
fly -t dev login -c http://localhost:8080 -u test -p test | |
cat << EOF > /tmp/booklit | |
resources: | |
- name: booklit | |
type: git | |
source: {uri: "https://github.com/vito/booklit"} | |
jobs: | |
- name: unit | |
public: true | |
plan: | |
- get: booklit | |
trigger: true | |
- task: test | |
file: booklit/ci/test.yml | |
EOF | |
fly -t dev sp -p test -c /tmp/booklit -n | |
fly -t dev ep -p test | |
fly -t dev up -p test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment