From 690db3cd6369bfea5afffdf5b6cbc8c6f09bedac Mon Sep 17 00:00:00 2001 From: Pankaj Singh <98807258+pankajastro@users.noreply.github.com> Date: Thu, 16 May 2024 17:13:52 +0530 Subject: [PATCH] Update ci-test-connections.yaml (#2161) Update databricks sql http path --- .github/ci-test-connections.yaml | 2 +- .github/workflows/ci-python-sdk.yaml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/ci-test-connections.yaml b/.github/ci-test-connections.yaml index a083be743..8ccdcc39f 100644 --- a/.github/ci-test-connections.yaml +++ b/.github/ci-test-connections.yaml @@ -104,7 +104,7 @@ connections: host: $DATABRICKS_HOST password: $DATABRICKS_TOKEN extra: - http_path: /sql/1.0/warehouses/cf414a2206dfb397 + http_path: $DATABRICKS_HTTP_PATH - conn_id: wasb_default conn_type: wasb description: null diff --git a/.github/workflows/ci-python-sdk.yaml b/.github/workflows/ci-python-sdk.yaml index dad2669e4..3c430b516 100644 --- a/.github/workflows/ci-python-sdk.yaml +++ b/.github/workflows/ci-python-sdk.yaml @@ -208,6 +208,8 @@ jobs: SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_UNAME }} SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }} + DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }} + DATABRICKS_HTTP_PATH: ${{ secrets.DATABRICKS_HTTP_PATH }} AIRFLOW__ASTRO_SDK__DATABRICKS_CLUSTER_ID: ${{ secrets.DATABRICKS_CLUSTER_ID }} AZURE_WASB_CONN_STRING: ${{ secrets.AZURE_WASB_CONN_STRING }} AZURE_WASB_ACCESS_KEY: ${{ secrets.AZURE_WASB_ACCESS_KEY }} @@ -357,6 +359,8 @@ jobs: SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_UNAME }} SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }} + DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }} + DATABRICKS_HTTP_PATH: ${{ secrets.DATABRICKS_HTTP_PATH }} AIRFLOW__ASTRO_SDK__DATABRICKS_CLUSTER_ID: ${{ secrets.DATABRICKS_CLUSTER_ID }} AZURE_WASB_CONN_STRING: ${{ secrets.AZURE_WASB_CONN_STRING }} @@ -456,6 +460,8 @@ jobs: SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_UNAME }} SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }} + DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }} + DATABRICKS_HTTP_PATH: ${{ secrets.DATABRICKS_HTTP_PATH }} AIRFLOW__ASTRO_SDK__DATABRICKS_CLUSTER_ID: ${{ secrets.DATABRICKS_CLUSTER_ID }} AZURE_WASB_CONN_STRING: ${{ secrets.AZURE_WASB_CONN_STRING }} @@ -555,6 +561,8 @@ jobs: SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_UNAME }} SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }} + DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }} + DATABRICKS_HTTP_PATH: ${{ secrets.DATABRICKS_HTTP_PATH }} AIRFLOW__ASTRO_SDK__DATABRICKS_CLUSTER_ID: ${{ secrets.DATABRICKS_CLUSTER_ID }} AZURE_WASB_CONN_STRING: ${{ secrets.AZURE_WASB_CONN_STRING }} AZURE_WASB_ACCESS_KEY: ${{ secrets.AZURE_WASB_ACCESS_KEY }}