diff options
| author | Guohua Ouyang <gouyang@redhat.com> | 2018-04-19 21:43:06 +0800 |
|---|---|---|
| committer | Guohua Ouyang <gouyang@redhat.com> | 2018-04-19 21:43:06 +0800 |
| commit | 619163f3a6ef9c19a644bd314382b0ff6edbddbc (patch) | |
| tree | b620ef957f3ccf2de3c3e60a2165244707ccdf0f /tests/roles/cli/tasks/push.yaml | |
| parent | 4770dbb8bf1af8c6a58c2cc154838bc613d939e4 (diff) | |
| download | buildah-master.tar.gz buildah-master.tar.xz buildah-master.zip | |
* the tests is quite old since it moved from upstreamfirst
* lots of new cases are added, like option 'run', 'inspect' etc
* save log to TEST_ARTIFACTS when the variable is set
* always run tests with latest runc built from source
Signed-off-by: Guohua Ouyang <gouyang@redhat.com>
Diffstat (limited to 'tests/roles/cli/tasks/push.yaml')
| -rw-r--r-- | tests/roles/cli/tasks/push.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/roles/cli/tasks/push.yaml b/tests/roles/cli/tasks/push.yaml index cc38b51..f16112b 100644 --- a/tests/roles/cli/tasks/push.yaml +++ b/tests/roles/cli/tasks/push.yaml @@ -1,6 +1,6 @@ --- - name: pull busybox before push - command: buildah from --pull --name busybox busybox + command: buildah from --pull --name busybox docker.io/busybox - name: buildah push image to containers-storage command: buildah push docker.io/busybox:latest containers-storage:docker.io/busybox:latest @@ -46,15 +46,20 @@ - name: init default ostree repo command: ostree --repo=/ostree/repo init + when: not ansible_distribution == "CentOS" - name: create /tmp/buildah/ostree/repo file: path=/tmp/buildah/ostree/repo state=directory + when: not ansible_distribution == "CentOS" - name: init tmp ostree repo command: ostree --repo=/tmp/buildah/ostree/repo init + when: not ansible_distribution == "CentOS" - name: buildah push image to ostree command: buildah push docker.io/busybox:latest ostree:busybox:latest + when: not ansible_distribution == "CentOS" - name: buildah push image to non-default ostree repo command: buildah push docker.io/busybox:latest ostree:busybox:latest@/tmp/buildah/ostree/repo + when: not ansible_distribution == "CentOS" |
