mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
Use standard testcases job for TF CI (#4732)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
5e3bd2dff1
commit
3f62492a15
@@ -36,10 +36,7 @@
|
||||
ANSIBLE_INVENTORY: hosts
|
||||
CI_PLATFORM: tf
|
||||
script:
|
||||
- cd tests && make create-${CI_PLATFORM} -s ; cd -
|
||||
- ansible-playbook tests/cloud_playbooks/wait-for-ssh.yml
|
||||
- ansible-playbook cluster.yml --become
|
||||
# - tests/scripts/testcases_prepare.sh
|
||||
- tests/scripts/testcases_run.sh
|
||||
after_script:
|
||||
# Cleanup regardless of exit code
|
||||
- ./tests/scripts/testcases_cleanup.sh
|
||||
@@ -106,7 +103,7 @@ tf-packet-ubuntu18-default:
|
||||
OS_INTERFACE: public
|
||||
OS_IDENTITY_API_VERSION: "3"
|
||||
|
||||
tf-apply-ovh:
|
||||
tf-ovh_ubuntu18-calico:
|
||||
extends: .terraform_apply
|
||||
when: on_success
|
||||
variables:
|
||||
@@ -115,6 +112,7 @@ tf-apply-ovh:
|
||||
PROVIDER: openstack
|
||||
CLUSTER: $CI_COMMIT_REF_NAME
|
||||
ANSIBLE_TIMEOUT: "60"
|
||||
SSH_USER: ubuntu
|
||||
TF_VAR_cluster_name: $CI_COMMIT_REF_SLUG
|
||||
TF_VAR_number_of_k8s_masters: "0"
|
||||
TF_VAR_number_of_k8s_masters_no_floating_ip: "1"
|
||||
|
||||
Reference in New Issue
Block a user