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.
Raymond_Ndibe changed the task status from Open to In Progress.May 18 2025, 8:50 PM

raymond-ndibe opened https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/merge_requests/881

Draft: [maintain-harbor] add tests and configurations for new maintain-harbor jobs

fnegri changed the task status from In Progress to Stalled.Nov 25 2025, 3:23 PM
fnegri changed the task status from Stalled to Open.Jan 5 2026, 7:16 PM
fnegri subscribed.

What is this stalled on?

Nothing, I just wanted to show that nobody is working on it, but "Open" is probably a better status.

dcaro edited projects, added Toolforge; removed Toolforge (Toolforge iteration 25).
dcaro added a subscriber: Raymond_Ndibe.

raymond-ndibe closed https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/merge_requests/881

[maintain-harbor] add tests and configurations for new maintain-harbor jobs