Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions contrib/test/integration/build/kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@
version: "{{ k8s_git_version }}"
force: "{{ force_clone | default(False) | bool}}"

# replace hardcoded line not to use legacy stats provider
- name: use CRI stats
lineinfile:
path: "{{ ansible_env.GOPATH }}/src/k8s.io/kubernetes/pkg/kubelet/cadvisor/util.go"
regexp: '^(\s*)runtimeEndpoint == CrioSocket \|\| runtimeEndpoint == \"unix\:\/\/\"\+CrioSocket$'
# keep the whitespace to ensure the file still looks pretty :)
line: '\1false'
backrefs: yes

- name: install etcd
command: "hack/install-etcd.sh"
args:
Expand Down
10 changes: 5 additions & 5 deletions contrib/test/integration/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
vars:
k8s_git_version: "master"
k8s_github_fork: "kubernetes"
crio_socket: "/var/run/crio/crio.sock"
crio_socket: "/run/crio/crio.sock"
when: "(cgroupv2 is undefined) or (cgroupv2 == False) | bool"

- name: clone build and install kubernetes for cgroup v2
include: "build/kubernetes.yml"
vars:
k8s_git_version: "master"
k8s_github_fork: "kubernetes"
crio_socket: "/var/run/crio/crio.sock"
crio_socket: "/run/crio/crio.sock"
when: "cgroupv2 | bool"

- name: clone build and install kubetest
Expand Down Expand Up @@ -155,7 +155,7 @@
force_clone: true
k8s_git_version: "master"
k8s_github_fork: "kubernetes"
crio_socket: "/var/run/crio/crio.sock"
crio_socket: "/run/crio/crio.sock"

- name: clone build and install kubetest
include: "build/kubetest.yml"
Expand All @@ -178,15 +178,15 @@
force_clone: true
k8s_git_version: "master"
k8s_github_fork: "kubernetes"
crio_socket: "/var/run/crio/crio.sock"
crio_socket: "/run/crio/crio.sock"
when: "(cgroupv2 is undefined) or (cgroupv2 == False) | bool"
- name: clone build and install kubernetes for cgroup v2
include: "build/kubernetes.yml"
vars:
force_clone: true
k8s_git_version: "master"
k8s_github_fork: "kubernetes"
crio_socket: "/var/run/crio/crio.sock"
crio_socket: "/run/crio/crio.sock"
when: "cgroupv2 | bool"

- name: clone build and install kubetest
Expand Down