diff options
author | Yevhenii Shapovalov <yshapova@redhat.com> | 2017-12-12 13:28:04 +0200 |
---|---|---|
committer | Yevhenii Shapovalov <yshapova@redhat.com> | 2017-12-20 18:19:30 +0200 |
commit | dfee2f675f2c43e589eb208a1cb9b39494a3cc22 (patch) | |
tree | 85894a09faa016b90ee39c96cc472db623f8831d /tests/roles/cli/tasks/mount.yaml | |
parent | 7cae8ede6d446bc7824c1f95a5e6cca7a8e1a8e8 (diff) | |
download | buildah-dfee2f675f2c43e589eb208a1cb9b39494a3cc22.tar.gz buildah-dfee2f675f2c43e589eb208a1cb9b39494a3cc22.tar.xz buildah-dfee2f675f2c43e589eb208a1cb9b39494a3cc22.zip |
add testsHEADadd_tests_f26
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 |