From 9d91d72cc5ddd3e4618cb129a6715ba52c4d4e72 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Thu, 16 Jan 2025 14:14:10 +0100 Subject: [PATCH] add another cycle test with one variable --- .../bundle/variables/complex-cycle-self/databricks.yml | 7 +++++++ .../bundle/variables/complex-cycle-self/output.txt | 9 +++++++++ acceptance/bundle/variables/complex-cycle-self/script | 1 + 3 files changed, 17 insertions(+) create mode 100644 acceptance/bundle/variables/complex-cycle-self/databricks.yml create mode 100644 acceptance/bundle/variables/complex-cycle-self/output.txt create mode 100644 acceptance/bundle/variables/complex-cycle-self/script diff --git a/acceptance/bundle/variables/complex-cycle-self/databricks.yml b/acceptance/bundle/variables/complex-cycle-self/databricks.yml new file mode 100644 index 0000000000..bb461795cc --- /dev/null +++ b/acceptance/bundle/variables/complex-cycle-self/databricks.yml @@ -0,0 +1,7 @@ +bundle: + name: cycle + +variables: + a: + default: + hello: ${var.a} diff --git a/acceptance/bundle/variables/complex-cycle-self/output.txt b/acceptance/bundle/variables/complex-cycle-self/output.txt new file mode 100644 index 0000000000..ed724e19de --- /dev/null +++ b/acceptance/bundle/variables/complex-cycle-self/output.txt @@ -0,0 +1,9 @@ +Warning: Detected unresolved variables after 12 resolution rounds + +Name: cycle +Target: default +Workspace: + User: $USERNAME + Path: /Workspace/Users/$USERNAME/.bundle/cycle/default + +Found 1 warning diff --git a/acceptance/bundle/variables/complex-cycle-self/script b/acceptance/bundle/variables/complex-cycle-self/script new file mode 100644 index 0000000000..72555b332a --- /dev/null +++ b/acceptance/bundle/variables/complex-cycle-self/script @@ -0,0 +1 @@ +$CLI bundle validate