Merge pull request #663 from bogdando/reduce_matrix

Reduce CI test matrix
pull/672/head
Bogdan Dobrelya 2016-11-30 10:43:43 +01:00 committed by GitHub
commit a62f74259c
2 changed files with 21 additions and 54 deletions

View File

@ -22,64 +22,42 @@ env:
matrix: matrix:
# Debian Jessie # Debian Jessie
- >- - >-
KUBE_NETWORK_PLUGIN=flannel KUBE_NETWORK_PLUGIN=canal
CLOUD_IMAGE=debian-8 CLOUD_IMAGE=debian-8
CLOUD_REGION=europe-west1-b CLOUD_REGION=europe-west1-d
CLUSTER_MODE=default CLUSTER_MODE=default
- >- - >-
KUBE_NETWORK_PLUGIN=calico KUBE_NETWORK_PLUGIN=calico
CLOUD_IMAGE=debian-8 CLOUD_IMAGE=debian-8
CLOUD_REGION=us-central1-c CLOUD_REGION=us-central1-b
CLUSTER_MODE=default CLUSTER_MODE=default
# Centos 7 # Centos 7
- >- - >-
KUBE_NETWORK_PLUGIN=flannel KUBE_NETWORK_PLUGIN=flannel
CLOUD_IMAGE=centos-7 CLOUD_IMAGE=centos-7
CLOUD_REGION=asia-east1-c CLOUD_REGION=europe-west1-d
CLUSTER_MODE=default CLUSTER_MODE=default
- >- - >-
KUBE_NETWORK_PLUGIN=calico KUBE_NETWORK_PLUGIN=calico
CLOUD_IMAGE=centos-7 CLOUD_IMAGE=centos-7
CLOUD_REGION=europe-west1-b CLOUD_REGION=europe-west1-b
CLUSTER_MODE=default CLUSTER_MODE=default
- >-
KUBE_NETWORK_PLUGIN=weave
CLOUD_IMAGE=centos-7
CLOUD_REGION=us-central1-c
CLUSTER_MODE=default
# Redhat 7 # Redhat 7
- >-
KUBE_NETWORK_PLUGIN=calico
CLOUD_IMAGE=rhel-7
CLOUD_REGION=asia-east1-c
CLUSTER_MODE=default
- >- - >-
KUBE_NETWORK_PLUGIN=weave KUBE_NETWORK_PLUGIN=weave
CLOUD_IMAGE=rhel-7 CLOUD_IMAGE=rhel-7
CLOUD_REGION=europe-west1-b CLOUD_REGION=europe-west1-b
CLUSTER_MODE=default CLUSTER_MODE=default
# Ubuntu 16.04
- >-
KUBE_NETWORK_PLUGIN=canal
CLOUD_IMAGE=ubuntu-1604-xenial
CLOUD_REGION=us-central1-c
CLUSTER_MODE=default
- >-
KUBE_NETWORK_PLUGIN=weave
CLOUD_IMAGE=ubuntu-1604-xenial
CLOUD_REGION=asia-east1-c
CLUSTER_MODE=default
# CoreOS stable # CoreOS stable
- >- #- >-
KUBE_NETWORK_PLUGIN=weave # KUBE_NETWORK_PLUGIN=weave
CLOUD_IMAGE=coreos-stable # CLOUD_IMAGE=coreos-stable
CLOUD_REGION=europe-west1-b # CLOUD_REGION=europe-west1-a
CLUSTER_MODE=default # CLUSTER_MODE=default
BOOTSTRAP_OS=coreos # BOOTSTRAP_OS=coreos
- >- - >-
KUBE_NETWORK_PLUGIN=canal KUBE_NETWORK_PLUGIN=canal
CLOUD_IMAGE=coreos-stable CLOUD_IMAGE=coreos-stable
@ -91,28 +69,23 @@ env:
- >- - >-
KUBE_NETWORK_PLUGIN=canal KUBE_NETWORK_PLUGIN=canal
CLOUD_IMAGE=rhel-7 CLOUD_IMAGE=rhel-7
CLOUD_REGION=europe-west1-b CLOUD_REGION=europe-west1-c
CLUSTER_MODE=separate
- >-
KUBE_NETWORK_PLUGIN=calico
CLOUD_IMAGE=ubuntu-1604-xenial
CLOUD_REGION=us-central1-a
CLUSTER_MODE=separate CLUSTER_MODE=separate
- >- - >-
KUBE_NETWORK_PLUGIN=weave KUBE_NETWORK_PLUGIN=weave
CLOUD_IMAGE=debian-8 CLOUD_IMAGE=ubuntu-1604-xenial
CLOUD_REGION=us-east1-d CLOUD_REGION=us-west1-b
CLUSTER_MODE=separate CLUSTER_MODE=separate
- >- - >-
KUBE_NETWORK_PLUGIN=calico KUBE_NETWORK_PLUGIN=calico
CLOUD_IMAGE=coreos-stable CLOUD_IMAGE=coreos-stable
CLOUD_REGION=asia-east1-c CLOUD_REGION=us-central1-f
CLUSTER_MODE=separate CLUSTER_MODE=separate
BOOTSTRAP_OS=coreos BOOTSTRAP_OS=coreos
matrix: matrix:
allow_failures: allow_failures:
- env: KUBE_NETWORK_PLUGIN=weave CLOUD_IMAGE=coreos-stable CLOUD_REGION=europe-west1-b CLUSTER_MODE=default BOOTSTRAP_OS=coreos - env: KUBE_NETWORK_PLUGIN=weave CLOUD_IMAGE=coreos-stable CLOUD_REGION=europe-west1-a CLUSTER_MODE=default BOOTSTRAP_OS=coreos
before_install: before_install:
# Install Ansible. # Install Ansible.

View File

@ -8,21 +8,15 @@ Here is the test matrix for the Travis CI gates:
| Network plugin| OS type| GCE region| Nodes layout| | Network plugin| OS type| GCE region| Nodes layout|
|-------------------------|-------------------------|-------------------------|-------------------------| |-------------------------|-------------------------|-------------------------|-------------------------|
| flannel| debian-8| europe-west1-b| default| | canal| debian-8| europe-west1-d| default|
| calico| debian-8| us-central1-c| default| | calico| debian-8| us-central1-b| default|
| flannel| centos-7| asia-east1-c| default| | flannel| centos-7| europe-west1-d| default|
| calico| centos-7| europe-west1-b| default| | calico| centos-7| europe-west1-b| default|
| weave| centos-7| us-central1-c| default|
| calico| rhel-7| asia-east1-c| default|
| weave| rhel-7| europe-west1-b| default| | weave| rhel-7| europe-west1-b| default|
| canal| ubuntu-1604-xenial| us-central1-c| default|
| weave| ubuntu-1604-xenial| asia-east1-c| default|
| weave| coreos-stable| europe-west1-b| default|
| canal| coreos-stable| us-east1-d| default| | canal| coreos-stable| us-east1-d| default|
| canal| rhel-7| europe-west1-b| separate| | canal| rhel-7| europe-west1-c| separate|
| calico| ubuntu-1604-xenial| us-central1-a| separate| | weave| ubuntu-1604-xenial| us-west1-b| separate|
| weave| debian-8| us-east1-d| separate| | calico| coreos-stable| us-central1-f| separate|
| calico| coreos-stable| asia-east1-c| separate|
Where the nodes layout `default` is that is given in the example inventory file. Where the nodes layout `default` is that is given in the example inventory file.
And the `separate` layout is when there is only node of each type, which is a kube master, And the `separate` layout is when there is only node of each type, which is a kube master,