File tree Expand file tree Collapse file tree 4 files changed +29
-8
lines changed
Expand file tree Collapse file tree 4 files changed +29
-8
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ - name : install conmon-rs
3+ shell : curl -sSfL --retry 5 --retry-delay 3 https://raw.githubusercontent.com/containers/conmon-rs/main/scripts/get | bash -s -- -o /usr/bin/conmonrs
4+ register : out
5+ - debug : var=out.stdout_lines
Original file line number Diff line number Diff line change 11---
22- name : create crio dir
3- file :
4- path : " {{ ansible_env.GOPATH }}/src/github.com/cri-o/cri-o"
5- state : directory
3+ file :
4+ path : " {{ ansible_env.GOPATH }}/src/github.com/cri-o/cri-o"
5+ state : directory
66
77# # extract source
88
1111 path : " /home/deadbeef/cri-o.tar.gz"
1212 register : source_tar
1313
14- - name : extract cri-o
15- unarchive :
14+ - name : extract cri-o
15+ unarchive :
1616 src : " /home/deadbeef/cri-o.tar.gz"
1717 dest : " {{ ansible_env.GOPATH }}/src/github.com/cri-o/cri-o"
1818 when : source_tar.stat.exists
8585 runtime_root = "/run/crun"
8686 when : " build_crun | default(False) | bool"
8787
88+ - name : use conmon-rs
89+ copy :
90+ dest : /etc/crio/crio.conf.d/99-conmonrs.conf
91+ content : |
92+ [crio.runtime.runtimes.runc]
93+ runtime_type = "pod"
94+
95+ [crio.runtime.runtimes.crun]
96+ runtime_type = "pod"
97+ runtime_root = "/run/crun"
98+
99+ when : " use_conmonrs | default(False) | bool"
100+
88101- name : use kata
89102 copy :
90103 dest : /etc/crio/crio.conf.d/50-kata.conf
123136 content : |
124137 [crio.image]
125138 registries = [ "quay.io", "docker.io" ]
126-
Original file line number Diff line number Diff line change 99
1010- name : clone build and install cri-o
1111 include : " build/cri-o.yml"
12-
12+
1313- name : clone build and install bats
1414 include : " build/bats.yml"
1515
4141- name : install conmon
4242 include : " build/conmon.yml"
4343
44+ - name : install conmon-rs
45+ include : " build/conmon-rs.yml"
46+
4447- name : install jq
4548 include : " build/jq.yml"
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ build_runc: True
1010build_crun : False
1111build_kata : False
1212cgroupv2 : False
13+ use_conmonrs : ' {{ USE_CONMONRS | default(False) | bool }}'
1314
1415critest_mirror_repo : quay.io/crio
1516
@@ -20,7 +21,7 @@ crio_integration_userns_filepath: "{{ artifacts }}/testout_userns.txt"
2021crio_node_e2e_filepath : " {{ artifacts }}/junit_01.xml"
2122result_dest_basedir : ' {{ lookup("env","WORKSPACE") |
2223 default(playbook_dir, True) }}/artifacts'
23- # Environment variables to set when executing e2e tests
24+ # Environment variables to set when executing e2e tests
2425e2e_test_env :
2526 KUBECONFIG : /var/run/kubernetes/admin.kubeconfig
2627
You can’t perform that action at this time.
0 commit comments