From 4f6649ffd7d05862bda27b5e12c57f04a79ab400 Mon Sep 17 00:00:00 2001 From: Anton Nekipelov <226657+anton-107@users.noreply.github.com> Date: Tue, 11 Mar 2025 17:25:57 +0100 Subject: [PATCH] (ci/cd debug) prepend experiment name with an extra slash to avoid replacements in windows environments --- acceptance/bundle/deployment/bind/experiment/script | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/acceptance/bundle/deployment/bind/experiment/script b/acceptance/bundle/deployment/bind/experiment/script index f1161cd9b..46a631aea 100644 --- a/acceptance/bundle/deployment/bind/experiment/script +++ b/acceptance/bundle/deployment/bind/experiment/script @@ -4,9 +4,10 @@ title "Substitute variables in the template" BUNDLE_NAME_SUFFIX=$(uuid) export BUNDLE_NAME_SUFFIX -EXPERIMENT_NAME="/Workspace/Users/${CURRENT_USER_NAME}/test-experiment$(uuid)" +# double slash at the start prevents Windows to apply replacements to the path +EXPERIMENT_NAME="//Workspace/Users/${CURRENT_USER_NAME}/test-experiment$(uuid)" if [ -z "$CLOUD_ENV" ]; then - EXPERIMENT_NAME="/Workspace/Users/${CURRENT_USER_NAME}/test-experiment6260d50f-e8ff-4905-8f28-812345678903" # use hard-coded uuid when running locally + EXPERIMENT_NAME="//Workspace/Users/${CURRENT_USER_NAME}/test-experiment6260d50f-e8ff-4905-8f28-812345678903" # use hard-coded uuid when running locally fi export EXPERIMENT_NAME envsubst < databricks.yml > out.yml && mv out.yml databricks.yml