Skip to content

Commit

Permalink
zombienet, retry only on 'runner_system_failure' (#5882)
Browse files Browse the repository at this point in the history
Only retry jobs on `runner_system_failure`.
Thx!
  • Loading branch information
pepoviola authored Oct 2, 2024
1 parent c506305 commit 383180a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitlab/pipeline/zombienet.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.zombienet-refs:
extends: .build-refs
variables:
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.110"
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.111"
PUSHGATEWAY_URL: "http://zombienet-prometheus-pushgateway.managed-monitoring:9091/metrics/job/zombie-metrics"
DEBUG: "zombie,zombie::network-node,zombie::kube::client::logs"
ZOMBIE_PROVIDER: "k8s"
Expand Down
4 changes: 3 additions & 1 deletion .gitlab/pipeline/zombienet/cumulus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
paths:
- ./zombienet-logs
allow_failure: true
retry: 2
retry:
max: 1
when: runner_system_failure
tags:
- zombienet-polkadot-integration-test

Expand Down
4 changes: 3 additions & 1 deletion .gitlab/pipeline/zombienet/parachain-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
after_script:
- mkdir -p ./zombienet-logs
- cp /tmp/zombie*/*/*.log ./zombienet-logs/
retry: 2
retry:
max: 1
when: runner_system_failure
timeout: 20m
tags:
- linux-docker
Expand Down
4 changes: 3 additions & 1 deletion .gitlab/pipeline/zombienet/polkadot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@
after_script:
- mkdir -p ./zombienet-logs
- cp /tmp/zombie*/logs/* ./zombienet-logs/
retry: 2
retry:
max: 1
when: runner_system_failure
tags:
- zombienet-polkadot-integration-test

Expand Down
4 changes: 3 additions & 1 deletion .gitlab/pipeline/zombienet/substrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
after_script:
- mkdir -p ./zombienet-logs
- cp /tmp/zombie*/logs/* ./zombienet-logs/
retry: 2
retry:
max: 1
when: runner_system_failure
tags:
- zombienet-polkadot-integration-test

Expand Down

0 comments on commit 383180a

Please sign in to comment.