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-runc | |
parent | 4770dbb8bf1af8c6a58c2cc154838bc613d939e4 (diff) | |
download | buildah-619163f3a6ef9c19a644bd314382b0ff6edbddbc.tar.gz buildah-619163f3a6ef9c19a644bd314382b0ff6edbddbc.tar.xz buildah-619163f3a6ef9c19a644bd314382b0ff6edbddbc.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-runc')
-rw-r--r-- | tests/roles/github-runc/tasks/main.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/roles/github-runc/tasks/main.yml b/tests/roles/github-runc/tasks/main.yml new file mode 100644 index 0000000..1752a24 --- /dev/null +++ b/tests/roles/github-runc/tasks/main.yml @@ -0,0 +1,16 @@ +--- +- 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 |