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-12 13:28:04 +0200
commite671b026e23409916843dcdaa52c4a0093954266 (patch)
treea2fb57055b78416e767af184e79167071524eefb /tests/roles/binary/tasks/runc.yml
parentc55445e494a75fedd4b351d71c6d9e0a0fcae85e (diff)
downloadbuildah-e671b026e23409916843dcdaa52c4a0093954266.tar.gz
buildah-e671b026e23409916843dcdaa52c4a0093954266.tar.xz
buildah-e671b026e23409916843dcdaa52c4a0093954266.zip
add tests
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