From 9fa051780e6c8edccee798cce75fd2e1243602c4 Mon Sep 17 00:00:00 2001 From: Kenichi Omichi Date: Tue, 27 Jul 2021 22:16:45 +0900 Subject: [PATCH] [2.16] Disable OVH CI until voucher situation is cleared up (#7824) (#7831) * Disable OVH CI until voucher situation is cleared up (#7824) * Allow failure on tf-elax_ubuntu18-calico (#7814) tf-elax_ubuntu18-calico is so flake today. The test job is failed due to SSH connectivity check error after deploying virtual machines which are used for Kubernetes nodes. This allows failure on the job to see the test situation without pull request merger failures. Co-authored-by: Maxime Guyot --- .gitlab-ci/terraform.yml | 80 ++++++++++++++++++++-------------------- 1 file changed, 41 insertions(+), 39 deletions(-) diff --git a/.gitlab-ci/terraform.yml b/.gitlab-ci/terraform.yml index 850e08fd3..82e39c0de 100644 --- a/.gitlab-ci/terraform.yml +++ b/.gitlab-ci/terraform.yml @@ -207,6 +207,7 @@ tf-elastx_ubuntu18-calico: extends: .terraform_apply stage: deploy-part3 when: on_success + allow_failure: true variables: <<: *elastx_variables TF_VERSION: $TERRAFORM_14_VERSION @@ -235,44 +236,45 @@ tf-elastx_ubuntu18-calico: TF_VAR_image: ubuntu-18.04-server-latest TF_VAR_k8s_allowed_remote_ips: '["0.0.0.0/0"]' +# OVH voucher expired, commenting job until things are sorted out -tf-ovh_cleanup: - stage: unit-tests - tags: [light] - image: python - environment: ovh - variables: - <<: *ovh_variables - before_script: - - pip install -r scripts/openstack-cleanup/requirements.txt - script: - - ./scripts/openstack-cleanup/main.py +# tf-ovh_cleanup: +# stage: unit-tests +# tags: [light] +# image: python +# environment: ovh +# variables: +# <<: *ovh_variables +# before_script: +# - pip install -r scripts/openstack-cleanup/requirements.txt +# script: +# - ./scripts/openstack-cleanup/main.py -tf-ovh_ubuntu18-calico: - extends: .terraform_apply - when: on_success - environment: ovh - variables: - <<: *ovh_variables - TF_VERSION: $TERRAFORM_14_VERSION - PROVIDER: openstack - CLUSTER: $CI_COMMIT_REF_NAME - ANSIBLE_TIMEOUT: "60" - SSH_USER: ubuntu - TF_VAR_number_of_k8s_masters: "0" - TF_VAR_number_of_k8s_masters_no_floating_ip: "1" - TF_VAR_number_of_k8s_masters_no_floating_ip_no_etcd: "0" - TF_VAR_number_of_etcd: "0" - TF_VAR_number_of_k8s_nodes: "0" - TF_VAR_number_of_k8s_nodes_no_floating_ip: "1" - TF_VAR_number_of_gfs_nodes_no_floating_ip: "0" - TF_VAR_number_of_bastions: "0" - TF_VAR_number_of_k8s_masters_no_etcd: "0" - TF_VAR_use_neutron: "0" - TF_VAR_floatingip_pool: "Ext-Net" - TF_VAR_external_net: "6011fbc9-4cbf-46a4-8452-6890a340b60b" - TF_VAR_network_name: "Ext-Net" - TF_VAR_flavor_k8s_master: "defa64c3-bd46-43b4-858a-d93bbae0a229" # s1-8 - TF_VAR_flavor_k8s_node: "defa64c3-bd46-43b4-858a-d93bbae0a229" # s1-8 - TF_VAR_image: "Ubuntu 18.04" - TF_VAR_k8s_allowed_remote_ips: '["0.0.0.0/0"]' +# tf-ovh_ubuntu18-calico: +# extends: .terraform_apply +# when: on_success +# environment: ovh +# variables: +# <<: *ovh_variables +# TF_VERSION: $TERRAFORM_14_VERSION +# PROVIDER: openstack +# CLUSTER: $CI_COMMIT_REF_NAME +# ANSIBLE_TIMEOUT: "60" +# SSH_USER: ubuntu +# TF_VAR_number_of_k8s_masters: "0" +# TF_VAR_number_of_k8s_masters_no_floating_ip: "1" +# TF_VAR_number_of_k8s_masters_no_floating_ip_no_etcd: "0" +# TF_VAR_number_of_etcd: "0" +# TF_VAR_number_of_k8s_nodes: "0" +# TF_VAR_number_of_k8s_nodes_no_floating_ip: "1" +# TF_VAR_number_of_gfs_nodes_no_floating_ip: "0" +# TF_VAR_number_of_bastions: "0" +# TF_VAR_number_of_k8s_masters_no_etcd: "0" +# TF_VAR_use_neutron: "0" +# TF_VAR_floatingip_pool: "Ext-Net" +# TF_VAR_external_net: "6011fbc9-4cbf-46a4-8452-6890a340b60b" +# TF_VAR_network_name: "Ext-Net" +# TF_VAR_flavor_k8s_master: "defa64c3-bd46-43b4-858a-d93bbae0a229" # s1-8 +# TF_VAR_flavor_k8s_node: "defa64c3-bd46-43b4-858a-d93bbae0a229" # s1-8 +# TF_VAR_image: "Ubuntu 18.04" +# TF_VAR_k8s_allowed_remote_ips: '["0.0.0.0/0"]'