Skip to content

Commit

Permalink
Add retry to kubectl-ng publishing (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson authored Aug 1, 2024
1 parent 808a54a commit c5bda93
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
publish-kubectl-ng:
runs-on: ubuntu-latest
needs: publish-kr8s
timeout-minutes: 30
permissions:
contents: write
steps:
Expand All @@ -37,7 +38,11 @@ jobs:
- name: Update kr8s pin in kubectl-ng
run: |
pushd examples/kubectl-ng
poetry add kr8s==${RELEASE_VERSION}
until false; do
poetry add kr8s==${RELEASE_VERSION} && break
echo "Waiting for kr8s==${RELEASE_VERSION} to be available on PyPI..."
sleep 15
done
poetry lock
popd
- name: Push new pins back to the repo
Expand Down

0 comments on commit c5bda93

Please # to comment.