From 90a95846ad0d013feead02103c70e7b06f2e9f09 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Wed, 5 Mar 2025 13:00:06 +0100 Subject: [PATCH] - --- .../exec/databricks-cli/profile-is-passed/from_bundle/script | 2 +- .../exec/databricks-cli/profile-is-passed/from_flag/script | 2 +- .../exec/databricks-cli/target-is-passed/default/script | 4 ++-- .../exec/databricks-cli/target-is-passed/from_flag/script | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/acceptance/bundle/exec/databricks-cli/profile-is-passed/from_bundle/script b/acceptance/bundle/exec/databricks-cli/profile-is-passed/from_bundle/script index a614758e5..e894e4582 100644 --- a/acceptance/bundle/exec/databricks-cli/profile-is-passed/from_bundle/script +++ b/acceptance/bundle/exec/databricks-cli/profile-is-passed/from_bundle/script @@ -1,4 +1,4 @@ -# Replace placeholder with an actual host URL +# Replace placeholder with an actual host URL and token envsubst < .databrickscfg > out && mv out .databrickscfg export DATABRICKS_CONFIG_FILE=.databrickscfg diff --git a/acceptance/bundle/exec/databricks-cli/profile-is-passed/from_flag/script b/acceptance/bundle/exec/databricks-cli/profile-is-passed/from_flag/script index 7d0124c0a..9afda563b 100644 --- a/acceptance/bundle/exec/databricks-cli/profile-is-passed/from_flag/script +++ b/acceptance/bundle/exec/databricks-cli/profile-is-passed/from_flag/script @@ -1,4 +1,4 @@ -# Replace placeholder with an actual host URL +# Replace placeholder with an actual host URL and token envsubst < .databrickscfg > out && mv out .databrickscfg export DATABRICKS_CONFIG_FILE=.databrickscfg diff --git a/acceptance/bundle/exec/databricks-cli/target-is-passed/default/script b/acceptance/bundle/exec/databricks-cli/target-is-passed/default/script index 4b036659d..f719893cc 100644 --- a/acceptance/bundle/exec/databricks-cli/target-is-passed/default/script +++ b/acceptance/bundle/exec/databricks-cli/target-is-passed/default/script @@ -1,4 +1,4 @@ -# Replace placeholder with an actual host URL +# Replace placeholder with an actual host URL and token envsubst < .databrickscfg > out && mv out .databrickscfg export DATABRICKS_CONFIG_FILE=.databrickscfg @@ -6,5 +6,5 @@ export DATABRICKS_CONFIG_FILE=.databrickscfg unset DATABRICKS_HOST unset DATABRICKS_TOKEN -# Should use default target, which is bat based authentication +# Should use default target, which is pat based authentication trace $CLI bundle exec -- $CLI current-user me diff --git a/acceptance/bundle/exec/databricks-cli/target-is-passed/from_flag/script b/acceptance/bundle/exec/databricks-cli/target-is-passed/from_flag/script index 58a407a10..a314d0223 100644 --- a/acceptance/bundle/exec/databricks-cli/target-is-passed/from_flag/script +++ b/acceptance/bundle/exec/databricks-cli/target-is-passed/from_flag/script @@ -1,4 +1,4 @@ -# Replace placeholder with an actual host URL +# Replace placeholder with an actual host URL and token envsubst < .databrickscfg > out && mv out .databrickscfg export DATABRICKS_CONFIG_FILE=.databrickscfg