mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
CI: remove IDEMPOT_CHECK (#11796)
There is no test with IDEMPOT_CHECK=true since commit 7b78e6872 (disable
idempotency tests (#1872), 2017-10-26)
Remove the related infra from our CI scripts.
This commit is contained in:
@@ -18,7 +18,6 @@ variables:
|
|||||||
GCE_PREEMPTIBLE: "false"
|
GCE_PREEMPTIBLE: "false"
|
||||||
ANSIBLE_KEEP_REMOTE_FILES: "1"
|
ANSIBLE_KEEP_REMOTE_FILES: "1"
|
||||||
ANSIBLE_CONFIG: ./tests/ansible.cfg
|
ANSIBLE_CONFIG: ./tests/ansible.cfg
|
||||||
IDEMPOT_CHECK: "false"
|
|
||||||
RESET_CHECK: "false"
|
RESET_CHECK: "false"
|
||||||
REMOVE_NODE_CHECK: "false"
|
REMOVE_NODE_CHECK: "false"
|
||||||
UPGRADE_TEST: "false"
|
UPGRADE_TEST: "false"
|
||||||
|
|||||||
@@ -120,29 +120,6 @@ fi
|
|||||||
## Kubernetes conformance tests
|
## Kubernetes conformance tests
|
||||||
run_playbook tests/testcases/100_check-k8s-conformance.yml
|
run_playbook tests/testcases/100_check-k8s-conformance.yml
|
||||||
|
|
||||||
if [ "${IDEMPOT_CHECK}" = "true" ]; then
|
|
||||||
## Idempotency checks 1/5 (repeat deployment)
|
|
||||||
run_playbook cluster.yml
|
|
||||||
|
|
||||||
## Idempotency checks 2/5 (Advanced DNS checks)
|
|
||||||
if [[ ! ( "$CI_JOB_NAME" =~ "hardening" ) ]]; then
|
|
||||||
run_playbook tests/testcases/040_check-network-adv.yml
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "${RESET_CHECK}" = "true" ]; then
|
|
||||||
## Idempotency checks 3/5 (reset deployment)
|
|
||||||
run_playbook reset.yml -e reset_confirmation=yes
|
|
||||||
|
|
||||||
## Idempotency checks 4/5 (redeploy after reset)
|
|
||||||
run_playbook cluster.yml
|
|
||||||
|
|
||||||
## Idempotency checks 5/5 (Advanced DNS checks)
|
|
||||||
if [[ ! ( "$CI_JOB_NAME" =~ "hardening" ) ]]; then
|
|
||||||
run_playbook tests/testcases/040_check-network-adv.yml
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Test node removal procedure
|
# Test node removal procedure
|
||||||
if [ "${REMOVE_NODE_CHECK}" = "true" ]; then
|
if [ "${REMOVE_NODE_CHECK}" = "true" ]; then
|
||||||
run_playbook remove-node.yml -e skip_confirmation=yes -e node=${REMOVE_NODE_NAME}
|
run_playbook remove-node.yml -e skip_confirmation=yes -e node=${REMOVE_NODE_NAME}
|
||||||
|
|||||||
Reference in New Issue
Block a user