Skip to content

Commit 4cf155d

Browse files
committed
fix(ci): add artifactory credentials to release workflow
PR #744 added Cisco Artifactory as the default PyPI index but only configured credentials in test.yml. The release pipeline failed with 401 Unauthorized when uv build tried to resolve hatchling.
1 parent b67744e commit 4cf155d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ on:
77
tags:
88
- "v*"
99

10+
env:
11+
# Artifactory credentials for resolving build dependencies (e.g. hatchling)
12+
# via the default index configured in pyproject.toml.
13+
# No UV_DEFAULT_INDEX fallback needed here — unlike test.yml, releases only
14+
# trigger on tag pushes to the main repo where secrets are always available.
15+
UV_INDEX_CISCO_ARTIFACTORY_DEVHUB_USERNAME: ${{ secrets.UV_INDEX_CISCO_ARTIFACTORY_DEVHUB_USERNAME }}
16+
UV_INDEX_CISCO_ARTIFACTORY_DEVHUB_PASSWORD: ${{ secrets.UV_INDEX_CISCO_ARTIFACTORY_DEVHUB_PASSWORD }}
17+
UV_HTTP_TIMEOUT: 120
18+
UV_HTTP_CONNECT_TIMEOUT: 30
19+
UV_HTTP_RETRIES: 10
20+
1021
jobs:
1122
test:
1223
uses: ./.github/workflows/test.yml

0 commit comments

Comments
 (0)