* 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
11 lines
377 B
YAML
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'
|