Skip to content

Commit 28dbf3c

Browse files
authored
When testing rpms on rocky, swap to using the main rocky repos (#20191)
* When testing rpms on rocky, swap to using the main rocky repos hosted by fastly * Remove rocky-builder, since we're already testing on both rocky8 and rocky9 (which the builder is based on)
1 parent 9712d26 commit 28dbf3c

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/build-linux-installer-rpm.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,6 @@ jobs:
285285
# bypass this error for now: Problem: The operation would result in removing the following protected packages: systemd-udev
286286
noautoremove:
287287
gui: --noautoremove
288-
- name: build image
289-
type: rocky
290-
url: "docker://chianetwork/rocky8-builder:latest"
291288
mode:
292289
- name: GUI
293290
matrix: gui
@@ -306,6 +303,16 @@ jobs:
306303
steps:
307304
- uses: Chia-Network/actions/clean-workspace@main
308305

306+
- name: Set rocky8 repo
307+
if: ${{ matrix.distribution.name == 'rockylinux:8' }}
308+
run: |
309+
sed -i -e 's|^mirrorlist=|#mirrorlist=|' -e 's|^#baseurl=http://dl\.rockylinux\.org/|baseurl=https://dl.rockylinux.org/|' /etc/yum.repos.d/Rocky-*.repo
310+
311+
- name: Set rocky9 repo
312+
if: ${{ matrix.distribution.name == 'rockylinux:9' }}
313+
run: |
314+
sed -i -e 's|^mirrorlist=|#mirrorlist=|' -e 's|^#baseurl=http://dl\.rockylinux\.org/|baseurl=https://dl.rockylinux.org/|' /etc/yum.repos.d/rocky-*.repo
315+
309316
- name: Download packages
310317
uses: actions/download-artifact@v5
311318
id: download

0 commit comments

Comments
 (0)