Skip to content

Commit

Permalink
test: skip check for excluded packages on ostree
Browse files Browse the repository at this point in the history
Skip the check for missing excluded packages on ostree.  The packages
are built-in to the image - no easy way to build image with these
packages excluded.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
  • Loading branch information
richm committed Aug 22, 2024
1 parent 939486c commit 260a49e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/tests_packages_full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
- name: Ensure excluded packages are not installed
fail:
msg: The package {{ item }} should not be installed
when: item in ansible_facts.packages
when:
- not __cockpit_is_ostree | d(false) # skip this test on ostree
- item in ansible_facts.packages
loop: "{{ __cockpit_packages_exclude | d([]) }}"

- name: >-
Expand Down

0 comments on commit 260a49e

Please sign in to comment.