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

Improve PowerShell Gallery release step by doing a verification of all published packages #368

Closed
stijnmoreels opened this issue Feb 10, 2023 · 0 comments · Fixed by #375
Assignees
Labels
automation All issues related to project automation enhancement New feature or request management All issues related to management of the project
Milestone

Comments

@stijnmoreels
Copy link
Member

stijnmoreels commented Feb 10, 2023

Is your feature request related to a problem? Please describe.
It is a good think that right now, the deployment of packages is not stopped when a single package failed to upload to the PowerShell Gallery. The problem, though, is that the build does not fail at this point.

Describe the solution you'd like
Make sure that there's a final check that verifies if all the returned HTTP status codes from the packages are Created and not BadRequest. Also, make sure that the Conflict is seen as a success, as it means that the package is already there.

⚠️ Make sure that this is done at the very end so as not to block the release of other packages.

It is good to know that the automatically created GitHub release is a draft release (not published) so it can easily be removed if the release pipeline is run twice.

@stijnmoreels stijnmoreels added automation All issues related to project automation enhancement New feature or request management All issues related to management of the project labels Feb 10, 2023
@stijnmoreels stijnmoreels added this to the v0.9.0 milestone Feb 10, 2023
@stijnmoreels stijnmoreels self-assigned this Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation All issues related to project automation enhancement New feature or request management All issues related to management of the project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant