mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-14 01:34:51 -03:30
Add Elastx CI (#6127)
This commit is contained in:
7
tests/files/tf-elastx_ubuntu18-calico.yml
Normal file
7
tests/files/tf-elastx_ubuntu18-calico.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
dns_min_replicas: 1
|
||||
deploy_netchecker: true
|
||||
sonobuoy_enabled: true
|
||||
|
||||
# Ignore ping errors
|
||||
ignore_assert_errors: true
|
||||
@@ -2,4 +2,4 @@
|
||||
set -euxo pipefail
|
||||
|
||||
cd ..
|
||||
terraform apply -auto-approve "contrib/terraform/$PROVIDER"
|
||||
terraform apply -auto-approve -parallelism=1 "contrib/terraform/$PROVIDER"
|
||||
|
||||
@@ -188,7 +188,7 @@
|
||||
EOF
|
||||
when:
|
||||
- inventory_hostname == groups['kube-master'][0]
|
||||
- kube_network_plugin_multus|bool|default(false)
|
||||
- kube_network_plugin_multus|default(false)|bool
|
||||
|
||||
- name: Annotate pod with macvlan network
|
||||
# We cannot use only shell: below because Ansible will render the text
|
||||
@@ -212,7 +212,7 @@
|
||||
EOF
|
||||
when:
|
||||
- inventory_hostname == groups['kube-master'][0]
|
||||
- kube_network_plugin_multus|bool|default(false)
|
||||
- kube_network_plugin_multus|default(false)|bool
|
||||
|
||||
- name: Check secondary macvlan interface
|
||||
shell: "{{ bin_dir }}/kubectl exec samplepod -- ip addr show dev net1"
|
||||
@@ -222,4 +222,4 @@
|
||||
changed_when: false
|
||||
when:
|
||||
- inventory_hostname == groups['kube-master'][0]
|
||||
- kube_network_plugin_multus|bool|default(false)
|
||||
- kube_network_plugin_multus|default(false)|bool
|
||||
|
||||
Reference in New Issue
Block a user