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 27, 2024
1 parent e93cddd commit 9b73f1e
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 9b73f1e

Please sign in to comment.