Page MenuHomePhabricator

[webservice] Allow configuring the image registry used to pull
Open, HighPublic

Description

Currently we hardcode the OCI repository to pull images from when running webservice start.

That will block us from being able to have different repositories in tools and toolsbeta.

This task is to make that setting configurable for the "buldiservice" webservice type, and create the puppet configuration
to configure both tools and toolsbeta.

A proposal for the config path is /etc/toolforge/webservice.yaml, and the configuration key buildservice_repository
of type string.

Note that the configuration path itself should be hardcoded to avoid users from being able to change the OCI repository
to pull images from.