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