Page MenuHomePhabricator

[harbor,infra] Find a way to manage toolforge project policies with code
Open, MediumPublic

Description

To be elaborated on, but probably at harbor install/setup time

Note that there's a combo of policies for the toolforge project:

  • Immutable tags: all but *dev-* are immutable
  • Retention policy: For the repositories matching **, retain the most recently pushed 10 artifacts with tags matching *dev*

Then we have to manually keep the last 10 immutable images (like we do with maintain-harbor on tools-harbor currently).

Event Timeline

One issue of doing it at deploy/install time is that you can't change them after without redepolying.

Note also that maintain-harbor already manages the policies for all the other projects in harbor.

Note also that maintain-harbor already manages the policies for all the other projects in harbor.

Then maybe add this to maintain-harbor too and make it a source of truth for any config that need to happen after deploy time?

dcaro renamed this task from [harbor] Find a way to manage toolforge project policies with code to [harbor,infra] Find a way to manage toolforge project policies with code.Mar 20 2024, 11:18 AM
dcaro triaged this task as Medium priority.
dcaro moved this task from Backlog to Ready to be worked on on the Toolforge board.