Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyPI upload update revert #5971

Merged
merged 3 commits into from
Jun 26, 2024
Merged

Conversation

richtja
Copy link
Contributor

@richtja richtja commented Jun 24, 2024

This will re-enable uploads to pypi with usage of Trusted Publisher Management. It adds again commits from #5926 and #5886 which has been reverted in d069e11, 74777fa and 94d6a61. The only issue with this CI changes was in configuration of pypi and MR. Avocado bot and those have been fixed.

This commit updates the pypi release process. It uses PyPI Trusted
Publisher Management and gh-action-pypi-publish action instead of
private token. This change will make our pypi process more simple and
more secure.

Reference: avocado-framework#5903
Signed-off-by: Jan Richter <[email protected]>
This commit adds a new check to pre-release workflow to test the pypi
upload by uploading the avocado build into test-pypi server.

Reference: avocado-framework#5903
Signed-off-by: Jan Richter <[email protected]>
It adds Avocado bot organization token to the release workflow instead of
personal token. This makes the release independent to one specific avocado
maintainer.

Signed-off-by: Jan Richter <[email protected]>
@richtja richtja requested a review from clebergnu June 24, 2024 14:37
@richtja richtja self-assigned this Jun 24, 2024
Copy link
Contributor

@clebergnu clebergnu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@richtja richtja merged commit 782ca79 into avocado-framework:master Jun 26, 2024
58 of 59 checks passed
@richtja richtja deleted the pypi_ci_update branch October 9, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants