sciencebox / frontier-squid

The Frontier Squid proxy used by CVMFS in ScienceBox
1 stars 0 forks source link

Update DNF repo used for frontier-squid installation #2

Open rptaylor opened 4 months ago

rptaylor commented 4 months ago

Currently http://frontier.cern.ch/dist/rpms/RPMS/x86_64/ is used. However I think we should instead be using http://frontier.cern.ch/dist/el9/RPMS/x86_64/ (confirmed by a squid dev, the former is for legacy compatibility only).

This repo change should be done as part of the upgrade to squid v5. After that the changes related to version strings in https://github.com/sciencebox/frontier-squid/pull/1 should work.

For the time being, an easy workaround is this slight change to the build command:

# this works
docker build --build-arg SQUID_VERSION=4.17-2.1      -t gitlab-registry.cern.ch/sciencebox/docker-images/frontier-squid:4.17-2.1.el9 .

# instead of this
docker build --build-arg SQUID_VERSION=4.17-2.1.el9 -t gitlab-registry.cern.ch/sciencebox/docker-images/frontier-squid:4.17-2.1.el9 .
rptaylor commented 4 months ago

Related to https://github.com/sciencebox/charts/pull/124