int variable reference test

This commit is contained in:
Shreyas Goenka 2024-06-27 11:22:57 +02:00
parent f471fabd11
commit 70f8192a01
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
2 changed files with 22 additions and 1 deletions

View File

@ -118,6 +118,5 @@ jobs:
# Valid configuration should pass schema validation.
for file in ./bundle/tests/jsonschema/allowed/*.yml; do
echo "validating $file"
ajv -s schema.json -d $file
done

View File

@ -0,0 +1,22 @@
bundle:
name: variable reference int
variables:
my_var:
description: does not matter
default: 1234
resources:
jobs:
foo:
name: def
tasks:
- task_key: abcd
run_job_task:
job_id: ${var.my_var}
targets:
staging:
default: true
variables:
my_var: 7890