Skip to content

Commit bcc6d87

Browse files
committed
ci: add exit_codes: [75] retry directly on kafka job definitions to test filtering
1 parent da5e224 commit bcc6d87

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.gitlab/generate-common.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ function retry_on_script_and_infra_failure() {
127127
- api_failure
128128
- stuck_or_timeout_failure
129129
- job_execution_timeout
130-
exit_codes:
131-
- 75
132130
<?php
133131
}
134132

.gitlab/generate-tracer.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,18 @@ function before_script_steps($with_docker_auth = false) {
608608
<?php if (str_contains($target, "kafka")): ?>
609609
WAIT_FOR: zookeeper:2181 kafka-integration:9092
610610
CI_DEBUG_SERVICES: "true"
611+
retry:
612+
max: 2
613+
when:
614+
- unknown_failure
615+
- data_integrity_failure
616+
- runner_system_failure
617+
- scheduler_failure
618+
- api_failure
619+
- stuck_or_timeout_failure
620+
- job_execution_timeout
621+
exit_codes:
622+
- 75
611623
<?php endif; ?>
612624
<?php if (str_contains($target, "sqlsrv")): ?>
613625
WAIT_FOR: sqlsrv-integration:1433

0 commit comments

Comments
 (0)