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/add.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/add.yaml')
-rw-r--r-- | tests/roles/cli/tasks/add.yaml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/roles/cli/tasks/add.yaml b/tests/roles/cli/tasks/add.yaml new file mode 100644 index 0000000..0bd6498 --- /dev/null +++ b/tests/roles/cli/tasks/add.yaml @@ -0,0 +1,41 @@ +--- +- name: buildah add + command: buildah add nginxc /tmp/buildah/bud/Dockerfile + +- name: check buildah add + command: ls {{mount.stdout}}/Dockerfile + +- name: buildah add to destination + command: buildah add nginxc /tmp/buildah/bud/Dockerfile /home + +- name: check buildah add to + command: ls {{mount.stdout}}/home/Dockerfile + +- name: buildah add URL + command: buildah add nginxc https://github.com/projectatomic/buildah/raw/master/README.md + +- name: check buildah add URL + command: ls {{mount.stdout}}/README.md + +- name: buildah add URL to destination + command: buildah add nginxc https://github.com/projectatomic/buildah/raw/master/README.md /home + +- name: check buildah add URL to destination + command: ls {{mount.stdout}}/home/README.md + +- name: Download buildah README.md + get_url: + url: https://github.com/projectatomic/buildah/raw/master/README.md + dest: /tmp/buildah/ + +- name: buildah add dir + command: buildah add nginxc /tmp + +- name: check buildah add dir + command: ls {{mount.stdout}}/buildah/README.md + +- name: buildah add dir to destination + command: buildah add nginxc /tmp /home + +- name: check buildah add dir to destination + command: ls {{mount.stdout}}/home/buildah/README.md |