summaryrefslogtreecommitdiff
path: root/contrib/test/integration/build/cri-o.yml
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-11-01 13:22:04 -0400
committerMatthew Heon <matthew.heon@gmail.com>2017-11-01 13:22:04 -0400
commitc13f61798aa7bcf7b4de7ee31aa30148a3b08d97 (patch)
tree6f0c3297f91ecbe259d8dc5ff1b0ab3d63e44744 /contrib/test/integration/build/cri-o.yml
parent92b31c0ff7c75fab3b875fb6b10c14f8e2c031e7 (diff)
downloadpodman-c13f61798aa7bcf7b4de7ee31aa30148a3b08d97.tar.gz
podman-c13f61798aa7bcf7b4de7ee31aa30148a3b08d97.tar.bz2
podman-c13f61798aa7bcf7b4de7ee31aa30148a3b08d97.zip
Prune Server package. Convert to new github location.
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'contrib/test/integration/build/cri-o.yml')
-rw-r--r--contrib/test/integration/build/cri-o.yml79
1 files changed, 0 insertions, 79 deletions
diff --git a/contrib/test/integration/build/cri-o.yml b/contrib/test/integration/build/cri-o.yml
deleted file mode 100644
index fa025035c..000000000
--- a/contrib/test/integration/build/cri-o.yml
+++ /dev/null
@@ -1,79 +0,0 @@
----
-
-- name: stat the expected cri-o directory
- stat:
- path: "{{ ansible_env.GOPATH }}/src/github.com/kubernetes-incubator/cri-o"
- register: dir_stat
-
-- name: expect cri-o to be cloned already
- fail:
- msg: "Expected cri-o to be cloned at {{ ansible_env.GOPATH }}/src/github.com/kubernetes-incubator/cri-o but it wasn't!"
- when: not dir_stat.stat.exists
-
-- name: install cri-o tools
- make:
- target: install.tools
- chdir: "{{ ansible_env.GOPATH }}/src/github.com/kubernetes-incubator/cri-o"
-
-- name: build cri-o
- make:
- chdir: "{{ ansible_env.GOPATH }}/src/github.com/kubernetes-incubator/cri-o"
-
-- name: install cri-o
- make:
- target: install
- chdir: "{{ ansible_env.GOPATH }}/src/github.com/kubernetes-incubator/cri-o"
-
-- name: install cri-o systemd files
- make:
- target: install.systemd
- chdir: "{{ ansible_env.GOPATH }}/src/github.com/kubernetes-incubator/cri-o"
-
-- name: install cri-o config
- make:
- target: install.config
- chdir: "{{ ansible_env.GOPATH }}/src/github.com/kubernetes-incubator/cri-o"
-
-- name: install configs
- copy:
- src: "{{ ansible_env.GOPATH }}/src/github.com/kubernetes-incubator/cri-o/{{ item.src }}"
- dest: "{{ item.dest }}"
- remote_src: yes
- with_items:
- - src: contrib/cni/10-crio-bridge.conf
- dest: /etc/cni/net.d/10-crio-bridge.conf
- - src: contrib/cni/99-loopback.conf
- dest: /etc/cni/net.d/99-loopback.conf
- - src: test/redhat_sigstore.yaml
- dest: /etc/containers/registries.d/registry.access.redhat.com.yaml
-
-- name: run with overlay
- replace:
- regexp: 'storage_driver = ""'
- replace: 'storage_driver = "overlay"'
- name: /etc/crio/crio.conf
- backup: yes
-
-- name: run with systemd cgroup manager
- replace:
- regexp: 'cgroup_manager = "cgroupfs"'
- replace: 'cgroup_manager = "systemd"'
- name: /etc/crio/crio.conf
- backup: yes
-
-- name: add docker.io default registry
- lineinfile:
- dest: /etc/crio/crio.conf
- line: '"docker.io"'
- insertafter: 'registries = \['
- regexp: 'docker\.io'
- state: present
-
-- name: add overlay storage opts on RHEL/CentOS
- lineinfile:
- dest: /etc/crio/crio.conf
- line: '"overlay.override_kernel_check=1"'
- insertafter: 'storage_option = \['
- regexp: 'overlay\.override_kernel_check=1'
- state: present
- when: ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS'