diff options
author | Lokesh Mandvekar <lsm5@fedoraproject.org> | 2018-04-07 23:03:14 -0400 |
---|---|---|
committer | Lokesh Mandvekar <lsm5@fedoraproject.org> | 2018-04-07 23:03:14 -0400 |
commit | 5cce5a1adad5629f5fa5aed7ec38543ae2ea8e8e (patch) | |
tree | c3dcd66941f5c8e5bd419520a21ec2bc98bc8135 /tests/roles/cli/tasks/add.yaml | |
parent | 61290b1bc7bdace32a8f666ac2bfed4756ca0e14 (diff) | |
download | buildah-5cce5a1adad5629f5fa5aed7ec38543ae2ea8e8e.tar.gz buildah-5cce5a1adad5629f5fa5aed7ec38543ae2ea8e8e.tar.xz buildah-5cce5a1adad5629f5fa5aed7ec38543ae2ea8e8e.zip |
Revert "buildah-0.16-2.git4743c2e"
This reverts commit 61290b1bc7bdace32a8f666ac2bfed4756ca0e14
since it removed the tests/ dir, which is obviously unwanted behavior.
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 |