buildah/tests/roles/cli/tasks/from.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

24 lines
676 B
YAML

---
- name: remove all containers before pull
command: buildah rm --all
- name: buildah from without pull
command: buildah from --name nginxc docker.io/nginx
- name: buildah from with pull
command: buildah from --pull --name nginxc-2 docker.io/nginx
- name: buildah from with pull always
command: buildah from --pull-always docker.io/busybox
- name: remove busybox-working-container
command: buildah rm busybox-working-container
- name: remove exist image so it will pull again
command: buildah rmi busybox
- name: buildah from with quiet
command: buildah from --quiet docker.io/busybox
register: quietpull
failed_when: '"Getting" in quietpull.stdout'