diff options
author | Yevhenii Shapovalov <yshapova@redhat.com> | 2017-12-12 13:28:04 +0200 |
---|---|---|
committer | Yevhenii Shapovalov <yshapova@redhat.com> | 2017-12-12 13:28:04 +0200 |
commit | e671b026e23409916843dcdaa52c4a0093954266 (patch) | |
tree | a2fb57055b78416e767af184e79167071524eefb /tests/roles/cli/tasks/mount.yaml | |
parent | c55445e494a75fedd4b351d71c6d9e0a0fcae85e (diff) | |
download | buildah-add_tests.tar.gz buildah-add_tests.tar.xz buildah-add_tests.zip |
add testsadd_tests
Diffstat (limited to 'tests/roles/cli/tasks/mount.yaml')
-rw-r--r-- | tests/roles/cli/tasks/mount.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/roles/cli/tasks/mount.yaml b/tests/roles/cli/tasks/mount.yaml new file mode 100644 index 0000000..09bd901 --- /dev/null +++ b/tests/roles/cli/tasks/mount.yaml @@ -0,0 +1,27 @@ +--- +- name: buildah mount container nginxc + command: buildah mount nginxc + register: mount + +- name: buildah mount without args will list all mounts + shell: buildah mount | grep storage + +- name: buildah add + import_tasks: add.yaml + tags: + - add + +- name: buildah umount + command: buildah umount nginxc + +- name: buildah mount --notruncate + command: buildah mount --notruncate nginxc-2 + register: mount + +- name: buildah copy + import_tasks: copy.yaml + tags: + - copy + +- name: buildah unmount + command: buildah unmount nginxc-2 |