adding test file

This commit is contained in:
Josh Knapp 2023-10-12 14:48:13 -07:00
parent ecd20e4ab1
commit 69321b3387
2 changed files with 22 additions and 18 deletions

View File

@ -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))
- 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))

3
test.yml Normal file
View File

@ -0,0 +1,3 @@
- org1
- org2
- org3