buildah/tests/roles/cli/tasks/run.yaml
Bruno Goncalves eea687c42a Sync new tests from upstreamfirst
* the tests is quite old since it moved from upstreamfirst
    * lots of new cases are added, like option 'run', 'inspect' etc
    * save log to TEST_ARTIFACTS when the variable is set
    * always run tests with latest runc built from source
    * merge task and task status to same line
2018-05-24 12:58:54 +02:00

11 lines
377 B
YAML

---
- name: buildah run with option hostname
command: buildah run --hostname example.buildah.com nginxc -- hostname
register: hostname
failed_when: '"example.buildah.com" not in hostname.stdout'
- name: buildah run with option volume
command: buildah run --volume /tmp/buildah/bud:/home nginxc ls /home
register: volume
failed_when: '"hello" not in volume.stdout'