Skip to content

Commit

Permalink
CI: remove IDEMPOT_CHECK (#11796)
Browse files Browse the repository at this point in the history
There is no test with IDEMPOT_CHECK=true since commit 7b78e68 (disable
idempotency tests (#1872), 2017-10-26)

Remove the related infra from our CI scripts.
  • Loading branch information
VannTen authored Dec 13, 2024
1 parent 630e9de commit 7da3173
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
1 change: 0 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ variables:
GCE_PREEMPTIBLE: "false"
ANSIBLE_KEEP_REMOTE_FILES: "1"
ANSIBLE_CONFIG: ./tests/ansible.cfg
IDEMPOT_CHECK: "false"
RESET_CHECK: "false"
REMOVE_NODE_CHECK: "false"
UPGRADE_TEST: "false"
Expand Down
23 changes: 0 additions & 23 deletions tests/scripts/testcases_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,29 +120,6 @@ fi
## Kubernetes conformance tests
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
if [ "${REMOVE_NODE_CHECK}" = "true" ]; then
run_playbook remove-node.yml -e skip_confirmation=yes -e node=${REMOVE_NODE_NAME}
Expand Down

0 comments on commit 7da3173

Please sign in to comment.