buildah/tests/roles/github-runc/tasks/main.yml
Bruno Goncalves eea687c42a Sync new tests from upstreamfirst
* 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
2018-05-24 12:58:54 +02:00

17 lines
480 B
YAML

---
- name: pull latest runc source from github
git:
repo: https://github.com/opencontainers/runc
dest: "{{ ansible_env.HOME }}/go/src/github.com/opencontainers/runc"
- name: building runc for buildah runtime
command: make
args:
chdir: "{{ ansible_env.HOME }}/go/src/github.com/opencontainers/runc"
- name: copy runc to /usr/bin
copy:
remote_src: True
src: "{{ ansible_env.HOME }}/go/src/github.com/opencontainers/runc/runc"
dest: /usr/bin/runc