Repository navigation
ci(publish): poll for the new version in verify, and drop the approval step - #162
Open
huangjeff5 wants to merge 2 commits into
Open
huangjeff5 wants to merge 2 commits into
huangjeff5 wants to merge 2 commits into
Conversation
PyPI's simple index lags the upload, so the v0.14.0 verify job failed 5s after a successful publish. pip --retries only covers network errors.
pypi_github_publishing has no required reviewers, so the tag push uploads to PyPI immediately. Say so in the playbook and create_release output.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two fixes from the v0.14.0 release.
Verify job polls for the new version. The v0.14.0 verify job failed 5s after a successful publish:
No matching distribution found for genkit==0.14.0. PyPI's simple index lags the upload, andpip install --retries 10only retries network errors, not a missing version. The smoke test now pollspip install genkit==<version>every 30s for up to 10 minutes, then fails.No approval step.
pypi_github_publishinghas no required reviewers, so the tag push uploads to PyPI immediately. The playbook's "approve the publish" step and the matchingcreate_releaseoutput said otherwise. Step 5 is removed, and step 4 now says the tag push publishes.Verified: workflow parses, the smoke test step and
bin/create_releasepassbash -n.