diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index f30b3ec9c..beec8dce2 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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 diff --git a/bundle/tests/jsonschema/allowed/var-reference-int.yml b/bundle/tests/jsonschema/allowed/var-reference-int.yml new file mode 100644 index 000000000..782ef54cd --- /dev/null +++ b/bundle/tests/jsonschema/allowed/var-reference-int.yml @@ -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