From ce0ed250a7e5ac8b1fd7bf673abe035105534f61 Mon Sep 17 00:00:00 2001 From: Marcin Wojtyczka Date: Fri, 31 Jan 2025 17:09:23 +0100 Subject: [PATCH] updated release pipeline --- .github/workflows/acceptance.yml | 1 + tests/integration/fixtures/test_connect.py | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml index 2db5f66..8fadbd6 100644 --- a/.github/workflows/acceptance.yml +++ b/.github/workflows/acceptance.yml @@ -52,3 +52,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }} ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }} + DATABRICKS_CLUSTER_ID: ${{ secrets.TEST_USER_ISOLATION_CLUSTER_ID }} diff --git a/tests/integration/fixtures/test_connect.py b/tests/integration/fixtures/test_connect.py index f0e501b..c578547 100644 --- a/tests/integration/fixtures/test_connect.py +++ b/tests/integration/fixtures/test_connect.py @@ -12,11 +12,12 @@ def serverless_env(): os.environ.pop('DATABRICKS_SERVERLESS_COMPUTE_ID') -@fixture -def debug_env_bugfix(monkeypatch, debug_env): - # This is a workaround to set shared cluster - # TODO: Update secret vault for acceptance testing and remove the bugfix - monkeypatch.setitem(debug_env, "DATABRICKS_CLUSTER_ID", "1114-152544-29g1w07e") +# @fixture +# def debug_env_bugfix(monkeypatch, debug_env): +# # This is a workaround to set shared cluster +# debug_env +# # TODO: Update secret vault for acceptance testing and remove the bugfix +# monkeypatch.setitem(debug_env, "DATABRICKS_CLUSTER_ID", "1114-152544-29g1w07e") @fixture