podman/tests/test_podman.yml
Ed Santiago 7203469f10 Quick simple tests for podman
This is a placeholder only. The idea is that, once the ginkgo
tests are approved and merged and packaged, you add that
package to test_podman.yml:required_packages, then rewrite
the .sh script so it invokes those tests and writes PASS/FAIL
to test.log as appropriate.

Until then, this can serve as a rudimentary gate.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2018-11-13 09:50:53 -07:00

28 lines
551 B
YAML

---
- hosts: localhost
vars:
- artifacts: ./artifacts
- required_packages:
- podman
tags:
- classic
- container
tasks:
- name: install packages
dnf: name="{{ required_packages }}" state=installed
enablerepo=updates-testing
- block:
- name: Run test
script: ./test_podman.sh
always:
- name: Pull out logs
fetch:
src: "/tmp/{{ item }}"
dest: "{{ artifacts }}/{{ item }}"
flat: yes
with_items:
- test.log
- test.debug.log