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/bud.yaml | |
parent | 7cae8ede6d446bc7824c1f95a5e6cca7a8e1a8e8 (diff) | |
download | buildah-add_tests_f26.tar.gz buildah-add_tests_f26.tar.xz buildah-add_tests_f26.zip |
add testsHEADadd_tests_f26
Diffstat (limited to 'tests/roles/cli/tasks/bud.yaml')
-rw-r--r-- | tests/roles/cli/tasks/bud.yaml | 24 |
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} |