Skip to content

Commit d5f2671

Browse files
authored
Enable manual CI runs via workflow_dispatch (#81)
* Enable manual CI runs via workflow_dispatch Adds the "Run workflow" button on the Actions tab so CI can be triggered manually against a branch. * Route uv through the Databricks pypi proxy in CI The databricks-protected-runner-group blocks direct egress to pypi.org (TLS handshake EOF when fetching setuptools to build thrift from sdist). Point UV_INDEX_URL at the internal mirror so installs go through the allowed proxy.
1 parent 04b27f7 commit d5f2671

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: CI
22

33
on:
4+
workflow_dispatch:
45
pull_request:
56
push:
67
branches: [main]
@@ -13,6 +14,8 @@ jobs:
1314
runs-on:
1415
group: databricks-protected-runner-group
1516
labels: linux-ubuntu-latest
17+
env:
18+
UV_INDEX_URL: https://pypi.proxy.cloud.databricks.com/simple
1619
steps:
1720
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1821
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
@@ -24,6 +27,7 @@ jobs:
2427
group: databricks-protected-runner-group
2528
labels: linux-ubuntu-latest
2629
env:
30+
UV_INDEX_URL: https://pypi.proxy.cloud.databricks.com/simple
2731
UCODE_TEST_WORKSPACE: ${{ secrets.UCODE_TEST_WORKSPACE }}
2832
DATABRICKS_HOST: ${{ secrets.UCODE_TEST_WORKSPACE }}
2933
DATABRICKS_CLIENT_ID: ${{ secrets.DATABRICKS_CLIENT_ID }}

0 commit comments

Comments
 (0)