Browse Source

Add generic inputs and outputs tasks for mapping examples

Signed-off-by: Taylor Silva <taylorsilva@outlook.com>
pull/7/head
Taylor Silva 4 years ago
parent
commit
734457ded6
  1. 13
      tasks/generic-inputs.yml
  2. 18
      tasks/generic-outputs.yml

13
tasks/generic-inputs.yml

@ -0,0 +1,13 @@
platform: linux
image_resource:
type: mock
source: {mirror_self: true}
inputs:
- name: main
- name: dev
- name: ci
run:
path: ls
args: ["-lah"]

18
tasks/generic-outputs.yml

@ -0,0 +1,18 @@
platform: linux
image_resource:
type: mock
source: {mirror_self: true}
outputs:
- name: main
- name: dev
- name: ci
run:
path: sh
args:
- -c
- |
echo "hello-world" > main/version
echo "hey there dev" > dev/version
echo "hi ci" > ci/version
Loading…
Cancel
Save