What would be the equivalent of below in the circleci
- script: |
echo “y
$(WORKSPACE-REGION-URL)
$(CSE-DEVELOP-PAT)
$(EXISTING-CLUSTER-ID)
$(WORKSPACE-ORG-ID)
15001” | databricks-connect configure
I tried the above under the "command"and with the variables defined under context, however its not working.
command: |
echo 'y
$WORKSPACE-REGION-URL
$CSE-DEVELOP-PAT
$EXISTING-CLUSTER-ID
$WORKSPACE-ORG-ID
15001 | databricks-connect configure | databricks-connect test
[quote=“amazedrockuser, post:1, topic:43948, full:true”]HealthCareGov
What would be the equivalent of below in the circleci
- script: |
echo “y
$(WORKSPACE-REGION-URL)
$(CSE-DEVELOP-PAT)
$(EXISTING-CLUSTER-ID)
$(WORKSPACE-ORG-ID)
15001” | databricks-connect configure
I tried the above under the "command"and with the variables defined under context, however its not working.
command: |
echo 'y
$WORKSPACE-REGION-URL
$CSE-DEVELOP-PAT
$EXISTING-CLUSTER-ID
$WORKSPACE-ORG-ID
15001 | databricks-connect configure | databricks-connect test
[/quote]
Hello,
It looks like you’re trying to configure Databricks Connect using CircleCI. Here’s a way to structure your CircleCI configuration to achieve this:
version: 2.1
executors:
default:
docker:
- image: circleci/python:3.8
jobs:
configure-databricks:
executor: default
steps:
- checkout
- run:
name: Configure Databricks Connect
command: |
echo 'y
$WORKSPACE_REGION_URL
$CSE_DEVELOP_PAT
$EXISTING_CLUSTER_ID
$WORKSPACE_ORG_ID
15001' | databricks-connect configure
- run:
name: Test Databricks Connect
command: databricks-connect test
workflows:
version: 2
configure-and-test:
jobs:
- configure-databricks
Make sure to define your environment variables (WORKSPACE_REGION_URL, CSE_DEVELOP_PAT, EXISTING_CLUSTER_ID, WORKSPACE_ORG_ID) in the CircleCI context or project settings.
This setup should help you configure and test Databricks Connect within CircleCI.
Hope this will help you.
Best regards,
florence023