|
|
@ -32,22 +32,31 @@ env: |
|
|
|
CLOUD_IMAGE=centos-7-sudo |
|
|
|
CLOUD_REGION=us-central1-c |
|
|
|
|
|
|
|
# - >- |
|
|
|
# KUBE_NETWORK_PLUGIN=calico |
|
|
|
# CLOUD_IMAGE=centos-7-sudo |
|
|
|
# CLOUD_REGION=us-central1-c |
|
|
|
- >- |
|
|
|
KUBE_NETWORK_PLUGIN=calico |
|
|
|
CLOUD_IMAGE=centos-7-sudo |
|
|
|
CLOUD_REGION=us-central1-c |
|
|
|
|
|
|
|
- >- |
|
|
|
KUBE_NETWORK_PLUGIN=weave |
|
|
|
CLOUD_IMAGE=centos-7-sudo |
|
|
|
CLOUD_REGION=us-central1-c |
|
|
|
|
|
|
|
# # Redhat 7 |
|
|
|
# Redhat 7 |
|
|
|
- >- |
|
|
|
KUBE_NETWORK_PLUGIN=flannel |
|
|
|
CLOUD_IMAGE=rhel-7-sudo |
|
|
|
CLOUD_REGION=us-east1-d |
|
|
|
|
|
|
|
# - >- |
|
|
|
# KUBE_NETWORK_PLUGIN=calico |
|
|
|
# CLOUD_IMAGE=rhel-7-sudo |
|
|
|
# CLOUD_REGION=us-east1-d |
|
|
|
- >- |
|
|
|
KUBE_NETWORK_PLUGIN=calico |
|
|
|
CLOUD_IMAGE=rhel-7-sudo |
|
|
|
CLOUD_REGION=us-east1-d |
|
|
|
|
|
|
|
- >- |
|
|
|
KUBE_NETWORK_PLUGIN=weave |
|
|
|
CLOUD_IMAGE=rhel-7-sudo |
|
|
|
CLOUD_REGION=us-east1-d |
|
|
|
|
|
|
|
# Ubuntu 14.04 |
|
|
|
- >- |
|
|
@ -80,10 +89,10 @@ env: |
|
|
|
|
|
|
|
matrix: |
|
|
|
allow_failures: |
|
|
|
- env: KUBE_NETWORK_PLUGIN=flannel CLOUD_IMAGE=centos-7-sudo CLOUD_REGION=us-central1-c |
|
|
|
- env: KUBE_NETWORK_PLUGIN=flannel CLOUD_IMAGE=rhel-7-sudo CLOUD_REGION=us-east1-d |
|
|
|
# - env: KUBE_NETWORK_PLUGIN=flannel CLOUD_IMAGE=centos-7-sudo CLOUD_REGION=us-central1-c |
|
|
|
# - env: KUBE_NETWORK_PLUGIN=flannel CLOUD_IMAGE=rhel-7-sudo CLOUD_REGION=us-east1-d |
|
|
|
- env: KUBE_NETWORK_PLUGIN=weave CLOUD_IMAGE=ubuntu-1404-trusty CLOUD_REGION=europe-west1-c |
|
|
|
- env: KUBE_NETWORK_PLUGIN=calico CLOUD_IMAGE=ubuntu-1404-trusty CLOUD_REGION=europe-west1-c |
|
|
|
# - env: KUBE_NETWORK_PLUGIN=calico CLOUD_IMAGE=ubuntu-1404-trusty CLOUD_REGION=europe-west1-c |
|
|
|
|
|
|
|
before_install: |
|
|
|
# Install Ansible. |
|
|
@ -128,7 +137,7 @@ script: |
|
|
|
## Create a POD |
|
|
|
- $HOME/.local/bin/ansible-playbook -i inventory/inventory.ini -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root tests/testcases/020_check-create-pod.yml $LOG_LEVEL |
|
|
|
## Ping the between 2 pod |
|
|
|
- $HOME/.local/bin/ansible-playbook -i setup-kubernetes/inventory/inventory.ini -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root tests/testcases/030_check-network.yml $LOG_LEVEL |
|
|
|
- $HOME/.local/bin/ansible-playbook -i inventory/inventory.ini -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS -b --become-user=root tests/testcases/030_check-network.yml $LOG_LEVEL |
|
|
|
|
|
|
|
after_script: |
|
|
|
- > |
|
|
|