Package webhooks
Release notes
New webhook event when a (maven/docker/generic) package is published
Problem to solve
As a systems integrator, when a (maven/docker/generic) package is published, I want to be notified by a webhook (just like tag/push events), so I can update external systems without the need for polling or proxying a user's requests to gitlab.com's API.
For my specific use case, support for webhooks for generic packages is sufficient.
Intended users
User experience goal
The user should be able to configure a system/group/project webhook for (maven/docker/generic) package publishing events, and receive information similar to that returned by the "Get a project package" API as part of the webhook body. The user should be able to check 'Package events' as a type of event when configuring Webhooks.
Proposal
Implement a webhook event for Package creation.
Further details
Permissions and Security
Documentation
https://docs.gitlab.com/ee/system_hooks/system_hooks.html would need to be updated with the new event(s).
Availability & Testing
No idea, probably a mix of unit test and integration test changes.
Available Tier
Free, like (maven/docker/generic) Packages.
What does success look like, and how can we measure that?
- Track the number of users that configure webhooks with the new event(s)
- Track how many repositories that start using generic packages after the webhook is made available
What is the type of buyer?
The buyer is probably Dakota - the Application Development Director or Casey - the Release and Change Management Director.
It should go in the Free tier, like Generic Packages. The Group Webhooks feature is in Premium at the time of writing, so that should cover where the feature is available.
Is this a cross-stage feature?
Probably not.
Links / references
N/A.