Basic Concept

Concourse is used to run tasks.

fly --target tutorial execute --config taskhelloworld.yml

will run taskhelloworld.yml

---
platform: linux

image_resource:
  type: docker-image
  source: {repository: busybox}

run:
  path: echo
  args: [hello world]

You can also pass in inputs

fly --target tutorial execute --config inputs_required.yml --input some-important-input=.
---
platform: linux

image_resource:
  type: docker-image
  source: {repository: busybox}

inputs:
- name: some-important-input

run:
  path: ls
  args: ['-alR']

If inputs matches the directory name, you won't have to pass in --input 03_task_scripts=.

results matching ""

    No results matching ""