Created
July 22, 2019 21:07
-
-
Save ddadlani/067a3dd8c06406b6a371623141a3d0e8 to your computer and use it in GitHub Desktop.
Custom Fish Functions
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
# custom functions | |
function set_booklit | |
fly -t dev login -u test -p test -c http://localhost:8080 | |
fly -t dev sp -p booklit -c (echo "\ | |
resources: | |
- name: booklit | |
type: git | |
source: {uri: "https://github.com/vito/booklit"} | |
jobs: | |
- name: unit | |
plan: | |
- get: booklit | |
trigger: true | |
- task: test | |
file: booklit/ci/test.yml" | psub | |
) | |
fly -t dev up -p booklit | |
end | |
function restart_concourse | |
docker-compose down | |
docker-compose up | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment