diff --git a/pipeline.yml b/pipeline.yml index ddeeda8..a13e068 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -10,22 +10,23 @@ jobs: plan: - get: org-config - load_var: orgs - file: org-config/orgs.yml + file: org-config/test.yml + reveal: true - across: - var: org - values: ((.:orgs)) - run: - task: show-org - config: - platform: linux - image_resource: - type: registry-image - source: {repository: alpine} - run: - path: sh - args: - - -exc - - | - echo "Setting pipeline for org: ${ORG_ID}" - params: - ORG_ID: ((.:org.id)) \ No newline at end of file + - var: org + values: orgs + do: + - task: show-org + config: + platform: linux + image_resource: + type: registry-image + source: {repository: alpine} + run: + path: sh + args: + - -exc + - | + echo "Setting pipeline for org: ${ORG_ID}" + params: + ORG_ID: ((.:org)) \ No newline at end of file diff --git a/test.yml b/test.yml new file mode 100644 index 0000000..b8b71a4 --- /dev/null +++ b/test.yml @@ -0,0 +1,3 @@ +- org1 +- org2 +- org3 \ No newline at end of file