Skip to content

Instantly share code, notes, and snippets.

@ddadlani
Created July 22, 2019 21:07
Show Gist options
  • Save ddadlani/067a3dd8c06406b6a371623141a3d0e8 to your computer and use it in GitHub Desktop.
Save ddadlani/067a3dd8c06406b6a371623141a3d0e8 to your computer and use it in GitHub Desktop.
Custom Fish Functions
# 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