Skip to content
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

Use new S3-based mirror for the CVMFS apt/yum repos #14

Open
wants to merge 4 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 @@ -120,7 +120,7 @@

- name: Download cvmfs_preload utility when desired
ansible.builtin.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 @@ -7,20 +7,20 @@

- name: Install CernVM apt key
ansible.builtin.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
ansible.builtin.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
ansible.builtin.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 @@ -29,7 +29,7 @@
ansible.builtin.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
38 changes: 19 additions & 19 deletions tasks/init_redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
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
ansible.builtin.copy:
content: |
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.14 (GNU/Linux)
Version: GnuPG v2.0.22 (GNU/Linux)

mQGiBEuGP6YRBADV89cbF4uoEX89Q8uxOklIDVJhOJAFKZ33LSdzHv3iObnjo5w4
wbb8FiSir4oWgarAco4u0kR1yKjHJ33oVB2xmPOzW3NWoHI7aPF7tCgo7FY9hNoC
Expand All @@ -42,22 +42,22 @@
IVHvyVr0mZF8xdyQNVPUX3/4uahKM4hwuFqdbyjuLGEIF3U73aIJ0+YDep/+I6yU
JGHnxy8Ex+a1XIhJ1hSI7+oalSdt+w/pE3+2MQyUfSDPSXVA3LQ+Q2VyblZNIEFk
bWluaXN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