cockpit-podman/tests/roles/test/tasks/main.yml
Martin Pitt 93e376265a tests: Use gating test code from upstream releases
These now regularly run upstream through packit, and thus are reasonably
well gated.

We unfortunately can't switch from STI to FMF completely, as in RHEL the
tests are part of the container-tools module, which uses STI. But the
remaining two ansible files change very rarely, getting rid of the
browser.sh and runt-est.sh duplication gives us most of the benefit
already.
2021-02-23 11:29:55 +01:00

29 lines
556 B
YAML

---
- name: upgrade critical packages to the latest version
dnf:
name:
- podman
- conmon
state: latest
- include_role:
name: standard-test-source
- include_role:
name: standard-test-basic
vars:
required_packages:
- cockpit-podman
- cockpit-ws
- cockpit-system
- git
- libvirt-python3
- make
- npm
- python3
tests:
- cockpit-podman:
dir: .
run: "{{ test_script_dir | default('.') }}/source/plans/browser.sh"
save-files: ["logs/*"]