Add Elastx CI (#6127)

This commit is contained in:
Maxime Guyot
2020-06-03 09:00:17 +02:00
committed by GitHub
parent 0b54e8e04c
commit fd59556222
4 changed files with 69 additions and 14 deletions

View File

@@ -0,0 +1,7 @@
---
dns_min_replicas: 1
deploy_netchecker: true
sonobuoy_enabled: true
# Ignore ping errors
ignore_assert_errors: true

View File

@@ -2,4 +2,4 @@
set -euxo pipefail
cd ..
terraform apply -auto-approve "contrib/terraform/$PROVIDER"
terraform apply -auto-approve -parallelism=1 "contrib/terraform/$PROVIDER"

View File

@@ -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