cockpit-podman/tests/roles/test/tasks/main.yml

31 lines
778 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: "{{ test_script_dir | default('.') }}/source"
# directory changed after release 29: https://github.com/cockpit-project/cockpit-podman/pull/684
# drop this after packaging 30
run: "if [ -e test/browser/browser.sh ]; then test/browser/browser.sh; else plans/browser.sh; fi"
save-files: ["logs/*"]