Resolve "Add configuration options for GitLab container registry to support notification endpoints to template"
requested to merge alejdg/omnibus-gitlab:1867-Add-configuration-of-Gitlab-registry-notification-endpoint-to-template into master
Closes #1867 (closed)
As stated in gitlab-ce#26761 (comment 21586201) Gitlab Container Registry supports notification endpoints. I have made my own simulations, configuring a registry and a notification endpoint, verifying it is true.
Then I proceeded to add the notification endpoint configuration to the registry template and set the example config into the (gitlab.rb template)[https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-config-template/gitlab.rb.template].
Tests: I have created tests for the following scenarios:
- Endpoint is not configured
- Endpoint is configured correctly
- Endpoint is configured without all the parameters