Skip to content

Protected containers: Create protection rules in project settings

What does this MR do and why?

feat: Protected containers: Protection rules in project settings ui

🛠 with at Siemens

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

MR Checklist (@gerardo-navarro)

Screenshots or screen recordings

Screencast: https://www.loom.com/share/8f1db270e25346b584fd0057ce1a554a

image

How to set up and validate locally

  1. Enable Registry by editting config/gitlab.yml with the following setting
registry:
  enabled: true
  1. Restart GDK, see also https://docs.gitlab.com/ee/administration/packages/container_registry.html#configure-container-registry-under-an-existing-gitlab-domain
gdk restart
  1. In rails console enable the experiment fully
Feature.enable(:container_registry_protected_containers)
  1. Go to http://gdk.test:3000/flightjs/Flight/-/settings/packages_and_registries
  2. Start adding new container protection rules in the second half of the page and play around with the form

Related to #441345 (closed)

Edited by Gerardo Navarro

Merge request reports

Loading