Skip to content
Snippets Groups Projects
Commit 3e357ec0 authored by Andrei Sandu's avatar Andrei Sandu Committed by GitHub
Browse files

Zombienet: add cpu/mem resource requests (#5080)


* Ensure request/limits for CPU and memory for nodes

Signed-off-by: default avatarAndrei Sandu <andrei-mihail@parity.io>

* docker.io/paritytech/zombienet:v1.2.19

Signed-off-by: default avatarAndrei Sandu <andrei-mihail@parity.io>

* Deny failure

Signed-off-by: default avatarAndrei Sandu <andrei-mihail@parity.io>

* add retry back

Signed-off-by: default avatarAndrei Sandu <andrei-mihail@parity.io>
parent eec58039
No related merge requests found
......@@ -32,7 +32,7 @@ variables:
CI_IMAGE: "paritytech/ci-linux:production"
DOCKER_OS: "debian:stretch"
ARCH: "x86_64"
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.2.14"
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.2.19"
VAULT_SERVER_URL: "https://vault.parity-mgmt-vault.parity.io"
VAULT_AUTH_PATH: "gitlab-parity-io-jwt"
VAULT_AUTH_ROLE: "cicd_gitlab_parity_${CI_PROJECT_NAME}"
......@@ -688,7 +688,7 @@ zombienet-tests-parachains-pvf:
- /home/nonroot/zombie-net/scripts/run-test-env-manager.sh
--github-remote-dir="${GH_DIR}"
--test="0001-parachains-pvf.feature"
allow_failure: true
allow_failure: false
retry: 2
tags:
- zombienet-polkadot-integration-test
......@@ -718,7 +718,7 @@ zombienet-tests-parachains-disputes:
- /home/nonroot/zombie-net/scripts/run-test-env-manager.sh
--github-remote-dir="${GH_DIR}"
--test="0002-parachains-disputes.feature"
allow_failure: true
allow_failure: false
retry: 2
tags:
- zombienet-polkadot-integration-test
......
......@@ -6,6 +6,10 @@ default_image = "{{ZOMBIENET_INTEGRATION_TEST_IMAGE}}"
chain = "rococo-local"
chain_spec_command = "polkadot build-spec --chain rococo-local --disable-default-bootnode"
[relaychain.default_resources]
limits = { memory = "4G", cpu = "2" }
requests = { memory = "2G", cpu = "1" }
[[relaychain.nodes]]
name = "alice"
extra_args = [ "--alice", "-lparachain=debug,runtime=debug" ]
......
......@@ -10,7 +10,11 @@ default_image = "{{ZOMBIENET_INTEGRATION_TEST_IMAGE}}"
chain = "rococo-local"
chain_spec_command = "polkadot build-spec --chain rococo-local --disable-default-bootnode"
default_command = "polkadot"
[relaychain.default_resources]
limits = { memory = "4G", cpu = "2" }
requests = { memory = "2G", cpu = "1" }
[[relaychain.nodes]]
image = "{{MALUS_IMAGE}}"
name = "alice"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment