|
|
@ -85,31 +85,35 @@ before_script: |
|
|
|
- ls |
|
|
|
- echo ${PWD} |
|
|
|
- > |
|
|
|
ansible-playbook tests/cloud_playbooks/create-gce.yml -i tests/local_inventory/hosts.cfg -c local $LOG_LEVEL |
|
|
|
-e mode=${CLUSTER_MODE} |
|
|
|
-e test_id=${TEST_ID} |
|
|
|
-e kube_network_plugin=${KUBE_NETWORK_PLUGIN} |
|
|
|
ansible-playbook tests/cloud_playbooks/create-gce.yml -i tests/local_inventory/hosts.cfg -c local |
|
|
|
${LOG_LEVEL} |
|
|
|
-e cloud_image=${CLOUD_IMAGE} |
|
|
|
-e cloud_region=${CLOUD_REGION} |
|
|
|
-e gce_credentials_file=${HOME}/.ssh/gce.json |
|
|
|
-e gce_project_id=${GCE_PROJECT_ID} |
|
|
|
-e gce_service_account_email=${GCE_ACCOUNT} |
|
|
|
-e gce_credentials_file=${HOME}/.ssh/gce.json |
|
|
|
-e cloud_image=${CLOUD_IMAGE} |
|
|
|
-e inventory_path=${PWD}/inventory/inventory.ini |
|
|
|
-e cloud_region=${CLOUD_REGION} |
|
|
|
-e kube_network_plugin=${KUBE_NETWORK_PLUGIN} |
|
|
|
-e mode=${CLUSTER_MODE} |
|
|
|
-e test_id=${TEST_ID} |
|
|
|
|
|
|
|
# Create cluster |
|
|
|
- > |
|
|
|
ansible-playbook -i inventory/inventory.ini -u $SSH_USER -e ansible_ssh_user=$SSH_USER $SSH_ARGS |
|
|
|
-b --become-user=root -e cloud_provider=gce $LOG_LEVEL -e kube_network_plugin=${KUBE_NETWORK_PLUGIN} |
|
|
|
--private-key=${HOME}/.ssh/id_rsa |
|
|
|
-e bootstrap_os=${BOOTSTRAP_OS} |
|
|
|
ansible-playbook -i inventory/inventory.ini -b --become-user=root --private-key=${HOME}/.ssh/id_rsa -u $SSH_USER |
|
|
|
${SSH_ARGS} |
|
|
|
${LOG_LEVEL} |
|
|
|
-e ansible_python_interpreter=${PYPATH} |
|
|
|
-e download_run_once=true |
|
|
|
-e download_localhost=true |
|
|
|
-e ansible_ssh_user=${SSH_USER} |
|
|
|
-e bootstrap_os=${BOOTSTRAP_OS} |
|
|
|
-e cloud_provider=gce |
|
|
|
-e deploy_netchecker=true |
|
|
|
-e resolvconf_mode=${RESOLVCONF_MODE} |
|
|
|
-e local_release_dir=${PWD}/downloads |
|
|
|
-e download_localhost=true |
|
|
|
-e download_run_once=true |
|
|
|
-e etcd_deployment_type=${ETCD_DEPLOYMENT} |
|
|
|
-e kube_network_plugin=${KUBE_NETWORK_PLUGIN} |
|
|
|
-e kubelet_deployment_type=${KUBELET_DEPLOYMENT} |
|
|
|
-e local_release_dir=${PWD}/downloads |
|
|
|
-e resolvconf_mode=${RESOLVCONF_MODE} |
|
|
|
cluster.yml |
|
|
|
|
|
|
|
|
|
|
@ -205,7 +209,7 @@ before_script: |
|
|
|
KUBE_NETWORK_PLUGIN: calico |
|
|
|
CLOUD_IMAGE: coreos-stable |
|
|
|
CLOUD_REGION: us-west1-b |
|
|
|
CLUSTER_MODE: separated |
|
|
|
CLUSTER_MODE: separate |
|
|
|
BOOTSTRAP_OS: coreos |
|
|
|
RESOLVCONF_MODE: host_resolvconf # This is required as long as the CoreOS stable channel uses docker < 1.12 |
|
|
|
|
|
|
@ -252,14 +256,14 @@ before_script: |
|
|
|
KUBE_NETWORK_PLUGIN: canal |
|
|
|
CLOUD_IMAGE: rhel-7 |
|
|
|
CLOUD_REGION: us-east1-b |
|
|
|
CLUSTER_MODE: separated |
|
|
|
CLUSTER_MODE: separate |
|
|
|
|
|
|
|
.ubuntu_weave_sep_variables: &ubuntu_weave_sep_variables |
|
|
|
# stage: deploy-gce-special |
|
|
|
KUBE_NETWORK_PLUGIN: weave |
|
|
|
CLOUD_IMAGE: ubuntu-1604-xenial |
|
|
|
CLOUD_REGION: us-central1-b |
|
|
|
CLUSTER_MODE: separated |
|
|
|
CLUSTER_MODE: separate |
|
|
|
IDEMPOT_CHECK: "true" |
|
|
|
|
|
|
|
.centos7_calico_ha_variables: ¢os7_calico_ha_variables |
|
|
@ -283,7 +287,7 @@ before_script: |
|
|
|
KUBE_NETWORK_PLUGIN: flannel |
|
|
|
CLOUD_IMAGE: ubuntu-1604-xenial |
|
|
|
CLOUD_REGION: us-central1-b |
|
|
|
CLUSTER_MODE: separated |
|
|
|
CLUSTER_MODE: separate |
|
|
|
ETCD_DEPLOYMENT: rkt |
|
|
|
KUBELET_DEPLOYMENT: rkt |
|
|
|
|
|
|
|