Skip to content

Commit 21d822c

Browse files
pepoviolaalvicsam
authored andcommitted
[Zombienet] changes for new runners (#8864)
Changes for new CI runners.
1 parent 23262e8 commit 21d822c

File tree

7 files changed

+32
-28
lines changed

7 files changed

+32
-28
lines changed

.github/actions/zombienet-sdk/action.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ inputs:
2121
runs:
2222
using: "composite"
2323
steps:
24-
- name: k8s_auth
25-
shell: bash
26-
run: |
27-
. /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
28-
k8s_auth
29-
3024
- name: common_vars
3125
shell: bash
3226
env:
@@ -61,6 +55,7 @@ runs:
6155
TEST_NAME: ${{ inputs.test }}
6256
PREFIX: ${{ inputs.prefix }}
6357
run: |
58+
export ZOMBIE_K8S_CI_NAMESPACE=$(cat /data/namespace)
6459
ls -ltr ./artifacts
6560
cargo nextest run --archive-file ./artifacts/${PREFIX}-zombienet-tests.tar.zst --no-capture -- ${TEST_NAME}
6661

.github/actions/zombienet/action.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ inputs:
1414
runs:
1515
using: "composite"
1616
steps:
17-
- name: k8s_auth
18-
shell: bash
19-
run: |
20-
. /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
21-
k8s_auth
22-
2317
- name: common_vars
2418
shell: bash
2519
env:
@@ -42,6 +36,7 @@ runs:
4236
LOCAL_PATH: ${{ inputs.local-dir }}
4337
CONCURRENCY: ${{ inputs.concurrency }}
4438
run: |
39+
export ZOMBIE_K8S_CI_NAMESPACE=$(cat /data/namespace)
4540
/home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh \
4641
--local-dir="$(pwd)/$LOCAL_PATH" \
4742
--concurrency=$CONCURRENCY \

.github/workflows/zombienet_cumulus.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ env:
1717
FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR: 1
1818
LOCAL_DIR: "./cumulus/zombienet/tests"
1919
GHA_CLUSTER_SERVER_ADDR: "https://kubernetes.default:443"
20+
# use spot by default
21+
X_INFRA_INSTANCE: "spot"
22+
# don't retry sdk tests
23+
NEXTEST_RETRIES: 0
24+
KUBECONFIG: "/data/config"
25+
ZOMBIE_CLEANER_DISABLED: 1
26+
2027

2128
# only run if we have changes in [subtrate, cumulus, polkadot] directories or this workflow.
2229
jobs:

.github/workflows/zombienet_substrate.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ env:
1717
FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR: 1
1818
LOCAL_DIR: "./substrate/zombienet"
1919
GHA_CLUSTER_SERVER_ADDR: "https://kubernetes.default:443"
20+
# use spot by default
21+
X_INFRA_INSTANCE: "spot"
22+
# don't retry sdk tests
23+
NEXTEST_RETRIES: 0
24+
KUBECONFIG: "/data/config"
25+
ZOMBIE_CLEANER_DISABLED: 1
26+
2027

2128
# DB generated from commit: https://github.com/paritytech/polkadot-sdk/commit/868788a5bff3ef94869bd36432726703fe3b4e96
2229
# TODO: As a workaround for https://github.com/paritytech/polkadot-sdk/issues/2568 the DB was generated in archive mode.

.github/zombienet-env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ZOMBIENET_IMAGE=docker.io/paritytech/zombienet:v1.3.126
2-
ZOMBIENET_RUNNER=zombienet-arc-runner
1+
ZOMBIENET_IMAGE=docker.io/paritytech/zombienet:v1.3.132
2+
ZOMBIENET_RUNNER=parity-zombienet
33
PUSHGATEWAY_URL=http://prometheus-pushgateway.monitoring.svc.cluster.local:9091/metrics/job/zombie-metrics
44
DEBUG=zombie,zombie::network-node,zombie::kube::client::logs
55
ZOMBIE_PROVIDER=k8s

Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,8 +1464,8 @@ xcm-runtime-apis = { path = "polkadot/xcm/xcm-runtime-apis", default-features =
14641464
xcm-simulator = { path = "polkadot/xcm/xcm-simulator", default-features = false }
14651465
yet-another-parachain-runtime = { path = "cumulus/parachains/runtimes/testing/yet-another-parachain" }
14661466
zeroize = { version = "1.7.0", default-features = false }
1467-
zombienet-orchestrator = { version = "0.3.0" }
1468-
zombienet-sdk = { version = "0.3.0" }
1467+
zombienet-orchestrator = { version = "0.3.6" }
1468+
zombienet-sdk = { version = "0.3.6" }
14691469
zstd = { version = "0.12.4", default-features = false }
14701470

14711471
[profile.release]

0 commit comments

Comments
 (0)