summaryrefslogtreecommitdiffstats
path: root/tests/roles/binary/tasks/runc.yml
diff options
context:
space:
mode:
authorYevhenii Shapovalov <yshapova@redhat.com>2017-12-12 13:28:04 +0200
committerYevhenii Shapovalov <yshapova@redhat.com>2017-12-20 18:19:30 +0200
commitdfee2f675f2c43e589eb208a1cb9b39494a3cc22 (patch)
tree85894a09faa016b90ee39c96cc472db623f8831d /tests/roles/binary/tasks/runc.yml
parent7cae8ede6d446bc7824c1f95a5e6cca7a8e1a8e8 (diff)
downloadbuildah-add_tests_f26.tar.gz
buildah-add_tests_f26.tar.xz
buildah-add_tests_f26.zip
Diffstat (limited to 'tests/roles/binary/tasks/runc.yml')
-rw-r--r--tests/roles/binary/tasks/runc.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/roles/binary/tasks/runc.yml b/tests/roles/binary/tasks/runc.yml
new file mode 100644
index 0000000..d64d5fb
--- /dev/null
+++ b/tests/roles/binary/tasks/runc.yml
@@ -0,0 +1,16 @@
+---
+- name: pull latest runc source from github
+ git:
+ repo: https://github.com/opencontainers/runc
+ dest: "{{ HOME }}/go/src/github.com/opencontainers/runc"
+
+- name: building runc for buildah runtime
+ command: make
+ args:
+ chdir: "{{ HOME }}/go/src/github.com/opencontainers/runc"
+
+- name: copy runc to /usr/bin
+ copy:
+ remote_src: True
+ src: "{{ HOME }}/go/src/github.com/opencontainers/runc/runc"
+ dest: /usr/bin/runc