From 69321b3387ac559eb2e1669aa1f27e22138fba35 Mon Sep 17 00:00:00 2001 From: Josh Knapp Date: Thu, 12 Oct 2023 14:48:13 -0700 Subject: [PATCH] adding test file --- pipeline.yml | 37 +++++++++++++++++++------------------ test.yml | 3 +++ 2 files changed, 22 insertions(+), 18 deletions(-) create mode 100644 test.yml 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