Skip to content

Instantly share code, notes, and snippets.

@benjvi
Created September 14, 2020 11:50
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 benjvi/e5f12c5618a88e473bc15b6a5905cac5 to your computer and use it in GitHub Desktop.
Save benjvi/e5f12c5618a88e473bc15b6a5905cac5 to your computer and use it in GitHub Desktop.
resources:
- name: test-file
type: s3
source:
endpoint: http://MY_MINIO_ENDPOINT:9000
access_key_id: MY_ACCESS_KEY
bucket: concourse-resources
secret_access_key: MY_SECRET
regexp: test-(.*).txt
jobs:
- name: test-job
plan:
- get: test-file
- task: display-cred
config:
platform: linux
image_resource:
type: registry-image
source:
repository: ubuntu
run:
path: bash
args: [-c, "echo Hello, ((provided-by-credhub)) and Hello, $(cat test-file/test-*.txt)"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment