#141 tests: enable CRB/EPEL in CentOS/RHEL
Merged 3 months ago by sergesanspaille. Opened 4 months ago by jcheca.
rpms/ jcheca/clang tests-fix-downstream-repos  into  rawhide

tests: enable CRB/EPEL in CentOS/RHEL
Jesus Checa Hidalgo • 3 months ago  
file modified
+21
@@ -24,6 +24,27 @@ 

        WITH_SCL: "scl enable llvm-toolset-13.0 rust-toolset-1.58"

      when: "collection == llvm-toolset-13.0"

  

+   # Unfortunately, TMT does not support more declarative approach, we need to run commands on our own.

+   - because: "On RHEL, CRB must be enabled to provide rarer packages"

+     prepare+:

+       - name: Enable CRB

+         how: shell

+         script: dnf config-manager --set-enabled rhel-CRB

+     when: >-

+       distro == centos

+       or distro == rhel-9

+       or distro == rhel-8

+ 

+   # Unfortunatelly, TMT does not support more declarative approach, we need to run commands on our own.

+   - because: "On RHEL-7, EPEL must be enabled to provided rarer packages"

+     prepare+:

+       - name: Enable EPEL

+         how: shell

+         script: |

+           rpm -q epel-release || yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

+           yum-config-manager --enable epel

+     when: distro == rhel-7

+ 

  discover:

      - name: Local tests

        how: fmf

Without enabling the repos some required packages such as ninja-build or glibc-static cannot be installed in CentOS/RHEL.

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Hey, It's failing because we have pending release-candidate commits that have not been synced to rawhide yet. Stated otherwise, once 13.0.1 is out you should be able to rebase and get green. (see https://kojipkgs.fedoraproject.org//work/tasks/82/81610082/mock_output.log tail)

rebased onto d280ec1

3 months ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Pull-Request has been merged by sergesanspaille

3 months ago
Metadata