Skip to content

Commit 054a732

Browse files
authored
Swap to using the main rocky repos hosted by fastly - mirrors are being unreliable (#20181)
1 parent 0a26924 commit 054a732

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test-install-scripts.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,16 @@ jobs:
241241
run: |
242242
yum install --assumeyes git
243243
244+
- name: Set rocky8 repo
245+
if: ${{ matrix.distribution.name == 'rockylinux:8' }}
246+
run: |
247+
sed -i -e 's|^mirrorlist=|#mirrorlist=|' -e 's|^#baseurl=http://dl\.rockylinux\.org/|baseurl=https://dl.rockylinux.org/|' /etc/yum.repos.d/Rocky-*.repo
248+
249+
- name: Set rocky9 repo
250+
if: ${{ matrix.distribution.name == 'rockylinux:9' }}
251+
run: |
252+
sed -i -e 's|^mirrorlist=|#mirrorlist=|' -e 's|^#baseurl=http://dl\.rockylinux\.org/|baseurl=https://dl.rockylinux.org/|' /etc/yum.repos.d/rocky-*.repo
253+
244254
- name: Prepare Rocky
245255
if: ${{ matrix.distribution.type == 'rocky' }}
246256
run: |

0 commit comments

Comments
 (0)