Skip to content

Use new S3-based mirror for CernVM packages #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tasks/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@

- name: Download cvmfs_preload utility when desired
get_url:
url: https://cvmrepo.web.cern.ch/cvmrepo/preload/cvmfs_preload
url: https://cvmrepo.s3.cern.ch/cvmrepo/preload/cvmfs_preload
dest: "{{ cvmfs_preload_path }}/cvmfs_preload"
owner: root
group: root
Expand Down
8 changes: 4 additions & 4 deletions tasks/init_debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@

- name: Install CernVM apt key
apt_key:
url: https://cvmrepo.web.cern.ch/cvmrepo/apt/cernvm.gpg
url: https://cvmrepo.s3.cern.ch/cvmrepo/apt/cernvm.gpg

- name: Configure CernVM apt repository
apt_repository:
filename: "cernvm.list"
mode: 422
repo: "deb [allow-insecure=true] https://cvmrepo.web.cern.ch/cvmrepo/apt/ {{ ansible_distribution_release }}-prod main"
repo: "deb [allow-insecure=true] https://cvmrepo.s3.cern.ch/cvmrepo/apt/ {{ ansible_distribution_release }}-prod main"
when: ansible_distribution != 'Ubuntu'

- name: Configure CernVM apt repository
apt_repository:
filename: "cernvm.list"
mode: 422
repo: "deb [allow-insecure=true] https://cvmrepo.web.cern.ch/cvmrepo/apt/ {{ ansible_distribution_release }}-prod main"
repo: "deb [allow-insecure=true] https://cvmrepo.s3.cern.ch/cvmrepo/apt/ {{ ansible_distribution_release }}-prod main"
when: ansible_distribution == 'Ubuntu' and ansible_distribution_release in ('bionic', 'xenial', 'precise', 'focal', 'jammy')

# There are no packages for any of the non LTS versions so good
Expand All @@ -30,7 +30,7 @@
apt_repository:
filename: "cernvm.list"
mode: 422
repo: "deb [allow-insecure=true] https://cvmrepo.web.cern.ch/cvmrepo/apt/ xenial-prod main"
repo: "deb [allow-insecure=true] https://cvmrepo.s3.cern.ch/cvmrepo/apt/ xenial-prod main"
when: ansible_distribution == 'Ubuntu' and ansible_distribution_release not in ('bionic', 'xenial', 'precise', 'focal', 'jammy')

- name: Install CernVM-FS packages and dependencies (apt)
Expand Down
4 changes: 2 additions & 2 deletions tasks/init_redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
loop:
- name: cernvm
description: "CernVM packages"
baseurl: "http://cvmrepo.web.cern.ch/cvmrepo/yum/cvmfs/EL/$releasever/$basearch/"
baseurl: "http://cvmrepo.s3.cern.ch/cvmrepo/yum/cvmfs/EL/$releasever/$basearch/"
- name: cernvm-config
description: "CernVM-FS extra config packages"
baseurl: "http://cvmrepo.web.cern.ch/cvmrepo/yum/cvmfs-config/EL/$releasever/$basearch/"
baseurl: "http://cvmrepo.s3.cern.ch/cvmrepo/yum/cvmfs-config/EL/$releasever/$basearch/"

- name: Install CernVM yum key
copy:
Expand Down