From ecd20e4ab1f9d2e49ace5d68ac8c17d570c066b6 Mon Sep 17 00:00:00 2001 From: Josh Knapp Date: Thu, 12 Oct 2023 14:02:46 -0700 Subject: [PATCH] test --- orgs.yml | 4 ++++ pipeline.yml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 orgs.yml create mode 100644 pipeline.yml diff --git a/orgs.yml b/orgs.yml new file mode 100644 index 0000000..3bf533a --- /dev/null +++ b/orgs.yml @@ -0,0 +1,4 @@ +orgs: + - id: org1 + - id: org2 + - id: org3 \ No newline at end of file diff --git a/pipeline.yml b/pipeline.yml new file mode 100644 index 0000000..ddeeda8 --- /dev/null +++ b/pipeline.yml @@ -0,0 +1,31 @@ +resources: +- name: org-config + type: git + source: + uri: https://repo.anhonesthost.net/jknapp/Concourse-test + branch: main + +jobs: +- name: set-instanced-pipeline + plan: + - get: org-config + - load_var: orgs + file: org-config/orgs.yml + - 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