You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
699 B

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. resource_types:
  2. - name: file-url
  3. type: docker-image
  4. source:
  5. repository: pivotalservices/concourse-curl-resource
  6. tag: latest
  7. resources:
  8. - name: my-file
  9. type: file-url
  10. source:
  11. url: https://raw.githubusercontent.com/pivotalservices/concourse-curl-resource/master/test/data/pivotal-1.0.0.txt
  12. filename: pivotal-1.0.0.txt
  13. jobs:
  14. - name: run-and-get-file
  15. plan:
  16. - get: my-file
  17. - task: run-and-get-file
  18. config:
  19. platform: linux
  20. image_resource:
  21. type: docker-image
  22. source:
  23. repository: ubuntu
  24. tag: "latest"
  25. inputs:
  26. - name: my-file
  27. run:
  28. path: sh
  29. args:
  30. - -exc
  31. - |
  32. find .