summaryrefslogtreecommitdiff
path: root/contrib/test/integration/build/cri-tools.yml
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/test/integration/build/cri-tools.yml')
-rw-r--r--contrib/test/integration/build/cri-tools.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/test/integration/build/cri-tools.yml b/contrib/test/integration/build/cri-tools.yml
new file mode 100644
index 000000000..e314225ef
--- /dev/null
+++ b/contrib/test/integration/build/cri-tools.yml
@@ -0,0 +1,16 @@
+---
+
+- name: clone cri-tools source repo
+ git:
+ repo: "https://github.com/kubernetes-incubator/cri-tools.git"
+ dest: "{{ ansible_env.GOPATH }}/src/github.com/kubernetes-incubator/cri-tools"
+ version: "16e6fe4d7199c5689db4630a9330e6a8a12cecd1"
+
+- name: install crictl
+ command: "/usr/bin/go install github.com/kubernetes-incubator/cri-tools/cmd/crictl"
+
+- name: link crictl
+ file:
+ src: "{{ ansible_env.GOPATH }}/bin/crictl"
+ dest: /usr/bin/crictl
+ state: link