mirror of https://github.com/databricks/cli.git
int variable reference test
This commit is contained in:
parent
f471fabd11
commit
70f8192a01
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue