summaryrefslogtreecommitdiffstats
path: root/tests/roles/cli/tasks/bud.yaml
diff options
context:
space:
mode:
authorLokesh Mandvekar <lsm5@fedoraproject.org>2018-04-07 23:03:14 -0400
committerLokesh Mandvekar <lsm5@fedoraproject.org>2018-04-07 23:03:14 -0400
commit5cce5a1adad5629f5fa5aed7ec38543ae2ea8e8e (patch)
treec3dcd66941f5c8e5bd419520a21ec2bc98bc8135 /tests/roles/cli/tasks/bud.yaml
parent61290b1bc7bdace32a8f666ac2bfed4756ca0e14 (diff)
downloadbuildah-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/bud.yaml')
-rw-r--r--tests/roles/cli/tasks/bud.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/roles/cli/tasks/bud.yaml b/tests/roles/cli/tasks/bud.yaml
new file mode 100644
index 0000000..1f1c678
--- /dev/null
+++ b/tests/roles/cli/tasks/bud.yaml
@@ -0,0 +1,24 @@
+---
+- name: buildah bud localfile
+ command: buildah bud -t testing/nginx --pull /tmp/buildah/bud
+
+- name: check bud images with buildah images command
+ shell: buildah images | grep testing/nginx
+
+- name: buildah bud -f localfile
+ command: buildah bud -t testing/nginx2 -f /tmp/buildah/bud/Dockerfile .
+
+- name: buildah bud URL
+ command: buildah bud -t testing/nginx3 http://localhost/bud/Dockerfile.tar.gz
+
+- name: buildah build-using-dockerfile localfile
+ command: buildah build-using-dockerfile -t testing/nginx4 /tmp/buildah/bud
+
+- name: buildah build-using-dockerfile -f localfile
+ command: buildah build-using-dockerfile -t testing/nginx5 --file /tmp/buildah/bud/Dockerfile .
+
+- name: buildah build-using-dockerfile URL
+ command: buildah build-using-dockerfile --tag testing/nginx6 http://localhost/bud/Dockerfile.tar.gz
+
+- name: buildah rmi
+ command: buildah rmi testing/nginx{2..6}