Skip to content

Commit d6a8277

Browse files
committed
wip - switch index_url from output to secret
1 parent e5751a3 commit d6a8277

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/publish-python-packages.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ jobs:
6060
echo " Source tarball file [$tarball] not found. Aborting!"
6161
exit 1
6262
fi
63-
printf "TODO: DELETE THIS temporary %s\n" "${{ needs.get-index-url.outputs.index_url }}"
64-
uv publish "$wheel" "$tarball" --publish-url "${{ needs.get-index-url.outputs.index_url }}"
63+
printf "TODO: DELETE THIS temporary %s\n" "${{ needs.get-index-url.secrets.index_url }}"
64+
uv publish "$wheel" "$tarball" --publish-url "${{ needs.get-index-url.secrets.index_url }}"

.github/workflows/reusable-check-python-package-versions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
package=$(echo "$entry" | jq -r '.package')
9797
after=$(echo "$entry" | jq -r '.after')
9898
exit_code=0
99-
output=$(uv run pip download "${package}==${after}" --index-url "${{ needs.get-index-url.outputs.index_url }}simple/" --no-deps -d /tmp --quiet 2>&1) || exit_code=$?
99+
output=$(uv run pip download "${package}==${after}" --index-url "${{ needs.get-index-url.secrets.index_url }}simple/" --no-deps -d /tmp --quiet 2>&1) || exit_code=$?
100100
if [[ $exit_code -eq 0 || (
101101
"${output,,}" != *"could not find a version"* &&
102102
"${output,,}" != *"no matching distributions"*

.github/workflows/reusable-get-code-artifact-index-url.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ on:
2929
required: false
3030
default: overture
3131
outputs:
32-
index_url:
33-
description: The CodeArtifact Python index URL
34-
value: ${{ jobs.get-code-artifact-index-url.outputs.index_url }}
32+
secrets:
33+
description: The CodeArtifact Python index URL with embedded authentication token
34+
value: ${{ jobs.get-code-artifact-index-url.secrets.index_url }}
3535

3636
jobs:
3737
get-code-artifact-index-url:
3838
runs-on: ubuntu-latest
39-
outputs:
39+
secrets:
4040
index_url: ${{ steps.get-code-artifact-index-url.outputs.index_url }}
4141
steps:
4242
- name: Configure AWS credentials
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = "0.1.1.dev0"
1+
__version__ = "0.1.0"
22

33
# TEMPORARY COMMENT updated, again, and again, and again, and again

0 commit comments

Comments
 (0)