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/github-buildah/tasks/main.yml | |
| 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/github-buildah/tasks/main.yml')
| -rw-r--r-- | tests/roles/github-buildah/tasks/main.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/roles/github-buildah/tasks/main.yml b/tests/roles/github-buildah/tasks/main.yml new file mode 100644 index 0000000..71edef8 --- /dev/null +++ b/tests/roles/github-buildah/tasks/main.yml @@ -0,0 +1,21 @@ +--- +- name: pull latest buildah source from github + git: + repo: https://github.com/projectatomic/buildah + dest: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah" + +- name: make binary for buildah + command: make + args: + chdir: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah" + +- name: install buildah to /usr/local/bin + command: make install + args: + chdir: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah" + +- name: copy buildah to /usr/bin + copy: + remote_src: True + src: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah/buildah" + dest: /usr/bin/buildah |
