Page MenuHomePhabricator

[harbor] Cleanup empty projects
Closed, ResolvedPublic

Description

As we now create them on demand, we can scrap all the projects that have nothing in them and save resources and reduce the load for harbor.

Both in toolsbeta and tools.

Event Timeline

dcaro changed the task status from Open to In Progress.Aug 17 2023, 1:47 PM
dcaro claimed this task.
dcaro moved this task from Next Up to In Progress on the Toolforge Build Service (Iteration 18) board.

I think this is not deployed yet no?

Mentioned in SAL (#wikimedia-cloud) [2023-08-30T08:43:20Z] <dcaro> cleaning up empty harbor projects (T344435)

okok, deployed and ran for tools/toolsbeta.

I have changed the cron period to be daily, as we don't need it to create new projects, just to make sure policies are set.

Mentioned in SAL (#wikimedia-cloud) [2023-08-30T08:59:46Z] <dcaro> restarting harbor to flush caches (T344435)

dcaro changed the task status from Open to In Progress.Aug 30 2023, 9:05 AM
dcaro closed this task as Resolved.
dcaro moved this task from Done to In Review on the Toolforge Build Service (Iteration 19) board.
dcaro moved this task from In Review to Done on the Toolforge Build Service (Iteration 19) board.