mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 19:51:02 +00:00
126f64a91e
Includes: - bump `pjs` modules versions - re-enable test disable in https://github.com/paritytech/polkadot-sdk/pull/2294 --------- Co-authored-by: Bastian Köcher <info@kchr.de>
74 lines
2.5 KiB
YAML
74 lines
2.5 KiB
YAML
# This file is part of .gitlab-ci.yml
|
|
# Here are all jobs that are executed during "zombienet" stage
|
|
|
|
# common settings for all zombienet jobs
|
|
.zombienet-substrate-common:
|
|
before_script:
|
|
# Exit if the job is not merge queue
|
|
# - if [[ $CI_COMMIT_REF_NAME != *"gh-readonly-queue"* ]]; then echo "I will run only in a merge queue"; exit 0; fi
|
|
- echo "Zombienet Tests Config"
|
|
- echo "${ZOMBIENET_IMAGE}"
|
|
- echo "${GH_DIR}"
|
|
- echo "${LOCAL_DIR}"
|
|
- export DEBUG=zombie,zombie::network-node
|
|
- export ZOMBIENET_INTEGRATION_TEST_IMAGE="${SUBSTRATE_IMAGE}":${SUBSTRATE_IMAGE_TAG}
|
|
- echo "${ZOMBIENET_INTEGRATION_TEST_IMAGE}"
|
|
stage: zombienet
|
|
image: "${ZOMBIENET_IMAGE}"
|
|
needs:
|
|
- job: build-push-image-substrate-pr
|
|
extends:
|
|
- .kubernetes-env
|
|
- .zombienet-refs
|
|
variables:
|
|
SUBSTRATE_IMAGE_TAG: ${DOCKER_IMAGES_VERSION}
|
|
SUBSTRATE_IMAGE: "docker.io/paritypr/substrate"
|
|
GH_DIR: "https://github.com/paritytech/substrate/tree/${CI_COMMIT_SHA}/zombienet"
|
|
LOCAL_DIR: "/builds/parity/mirrors/polkadot-sdk/substrate/zombienet"
|
|
FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR: 1
|
|
RUN_IN_CONTAINER: "1"
|
|
artifacts:
|
|
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
|
|
when: always
|
|
expire_in: 2 days
|
|
paths:
|
|
- ./zombienet-logs
|
|
after_script:
|
|
- mkdir -p ./zombienet-logs
|
|
- cp /tmp/zombie*/logs/* ./zombienet-logs/
|
|
retry: 2
|
|
tags:
|
|
- zombienet-polkadot-integration-test
|
|
|
|
zombienet-substrate-0000-block-building:
|
|
extends:
|
|
- .zombienet-substrate-common
|
|
script:
|
|
- /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
|
|
--local-dir="${LOCAL_DIR}/0000-block-building"
|
|
--test="block-building.zndsl"
|
|
|
|
zombienet-substrate-0001-basic-warp-sync:
|
|
extends:
|
|
- .zombienet-substrate-common
|
|
script:
|
|
- /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
|
|
--local-dir="${LOCAL_DIR}/0001-basic-warp-sync"
|
|
--test="test-warp-sync.zndsl"
|
|
|
|
zombienet-substrate-0002-validators-warp-sync:
|
|
extends:
|
|
- .zombienet-substrate-common
|
|
script:
|
|
- /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
|
|
--local-dir="${LOCAL_DIR}/0002-validators-warp-sync"
|
|
--test="test-validators-warp-sync.zndsl"
|
|
|
|
zombienet-substrate-0003-block-building-warp-sync:
|
|
extends:
|
|
- .zombienet-substrate-common
|
|
script:
|
|
- /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
|
|
--local-dir="${LOCAL_DIR}/0003-block-building-warp-sync"
|
|
--test="test-block-building-warp-sync.zndsl"
|