Follow-up to T437005: Test out the https://github.com/git-pkgs/proxy/ for CI. The proxy now runs in the integration project, rather than on borrowed quota in mediawiki-quickstart.
What is running
- integration-cache-proxy,
2 vCPU / 4GB8 vCPU / 32GB (g4.cores8.ram32.disk20), Debian 13, with a40GB320GB 4x-iops Cinder volume mounted at /mnt/data.We can pretty easily expand the volume size later if we get a storage quota bump.Resized after the disk quota bump (T438516) and the vCPU bump (T438940). The artifact cache, the sqlite database and the access log all live on it. - git-pkgs/proxy
0.7.00.8.1, installed from its release tarball with the checksum verified, supervised by systemd as an unprivileged user. Newer releases are installed in place with upgrade-proxy.sh. - No public hostname and no change to the shared security group. It is reachable only from other instances in integration, at http://integration-cache-proxy.integration.eqiad1.wikimedia.cloud:8080 plus the ecosystem path, so /npm, /composer, and so on.
All of it is OpenTofu managed, so it can be destroyed and rebuilt: https://gitlab.wikimedia.org/mhurd/integration-cache-proxy
Worth knowing before anyone rebuilds it
- Instances created on VLAN/legacy never get a DHCP lease, so they never reach the metadata service, cloud-init falls back to DataSourceNone and no user data runs at all. Three instances failed this way before we spotted it. Use VXLAN/IPv6-dualstack, which is where the CI agents, castor and the puppetserver already are.
- Each new instance needs its Puppet certificate signed by hand, because the project has not set profile::puppet::agent::puppetserver_ca_cert in Hiera. The repo README has the steps. Setting that Hiera key would remove the need (see T429413: Eliminate sudo rm -rf /var/lib/puppet/ssl step in new deployment-prep WMCS project (and others)).
- Traffic is plain http, so Composer needs secure-http: false, pip needs a --trusted-host, and Docker needs an insecure-registries entry. npm needs nothing.
Dashboard
There is no public URL by design. Forward the port over ssh (tunnel) and open it locally; the command and an explanation are under Viewing the web UI in the README.
Dashboard via SSH tunnel:
