Skip to content

Commit

Permalink
Check that rpms install in tmt come from copr
Browse files Browse the repository at this point in the history
Add a prepare step that checks the version of installed llvm-libs
to ensure it's a copr package.
  • Loading branch information
Jesus Checa Hidalgo committed Aug 28, 2024
1 parent 97fa0ce commit 09e02fd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/snapshot-gating.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ prepare:
script: |
dnf install -y dnf-plugins-core
dnf config-manager --save --setopt="testing-farm-tag-repository.priority=999" || true

- name: "Check that snapshot (~pre) version of LLVM is installed"
how: shell
order: 99
script: rpm -q --qf "%{version}" llvm-libs | grep '~pre'
adjust:
- discover+:
- name: redhat-rpm-config-tests
Expand Down

0 comments on commit 09e02fd

Please sign in to comment.