Skip to content

Instantly share code, notes, and snippets.

@mikegehard
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikegehard/0de4097da14a1bba158f to your computer and use it in GitHub Desktop.
Save mikegehard/0de4097da14a1bba158f to your computer and use it in GitHub Desktop.
BOSH manifest
++++++++++++++++++
jobs:
- name: harvey
plan:
- aggregate:
- get: harvey
- task: unit-tests
file: harvey/concourse/unit-tests.yml
unit-tests.yml
+++++++++++++++++++
---
platform: linux
image: docker:///golang
run:
path: harvey/bin/unit_tests.sh
Works fine in UI and fly execute.
BOSH manifest
++++++++++++++++++
jobs:
- name: harvey
plan:
- get: harvey
- task: unit-tests
file: harvey/concourse/unit-tests.yml
unit-tests.yml
+++++++++++++++++++
---
platform: linux
image: docker:///golang
run:
path: harvey/bin/unit_tests.sh
Fails with "file not found" in UI but works with fly execute.
BOSH manifest
++++++++++++++++++
jobs:
- name: harvey
plan:
- get: harvey
- task: unit-tests
file: concourse/unit-tests.yml
unit-tests.yml
+++++++++++++++++
---
platform: linux
image: docker:///golang
run:
path: bin/unit_tests.sh
Works in UI but fails with `fly execute -c concourse/unit-tests.yml`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment