Draft: refactor: Better shared examples for pypi package tests
requested to merge gitlab-community/gitlab:323971-protected-packages-pypi-push-protection-follow-up-refactoring into master
What does this MR do and why?
feat: Integrate package protection rules for pypi packages
This MR includes:
- Push protecting pypi packages when a package protection rule exists.
- Enabling pypi as a valid package type for package protection rules.
- Tests
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR. -
Changelog entry added, if necessary -
Documentation created/updated via this MR -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Tested in all supported browsers -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the javascript style guides -
Conforms to the database guides
-
Related to #323971