* 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 * merge task and task status to same line
22 lines
641 B
YAML
22 lines
641 B
YAML
---
|
|
- 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
|