Skip to content

Commit 4018129

Browse files
committed
prep.dirs: Switch to Storage SIG repo for GlusterFS
This will help us in fetching the requirements for building samba-vfs-glusterfs on both x86_64 and aarch64.
1 parent 4385cfd commit 4018129

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

ansible/roles/prep.dirs/files/glusterfs-nightly-repo.tpl

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
config_opts['yum.conf'] += """
2+
3+
[centos-gluster11]
4+
name=CentOS-$releasever-stream - Gluster 11
5+
metalink=https://mirrors.centos.org/metalink?repo=centos-storage-sig-gluster-11-$releasever-stream&arch=$basearch
6+
#baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/storage/$basearch/gluster-11/
7+
gpgcheck=0
8+
enabled=1
9+
"""

ansible/roles/prep.dirs/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
- /etc/mock/centos-stream+epel-next-9-{{ os_arch }}.cfg
3838
- /etc/mock/rhel-8-{{ os_arch }}.cfg
3939
- /etc/mock/rhel-9-{{ os_arch }}.cfg
40-
- glusterfs-nightly-repo.tpl
40+
- sig-storage-gluster.tpl
4141
- ceph-repo.tpl.j2
4242
- epel-restricted.tpl
4343

ansible/roles/prep.dirs/tasks/repo.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
lineinfile:
33
path: "{{ mock_config }}"
44
insertafter: EOF
5-
line: "include('{{ mock_dir }}/glusterfs-nightly-repo.tpl')"
5+
line: "include('{{ mock_dir }}/sig-storage-gluster.tpl')"
66
with_items:
77
- "{{ mock_dir }}/centos-stream+epel-next-{{ os_vers }}-{{ os_arch }}.cfg"
88
- "{{ mock_dir }}/rhel-{{ os_vers }}-{{ os_arch }}.cfg"
99
loop_control:
1010
loop_var: mock_config
11-
when: os_arch == 'x86_64'
1211

1312
- name: adapt mock config to use additional template for ceph
1413
block:

0 commit comments

Comments
 (0)