mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 20:27:58 +00:00
84638524e7
* [ci] Deduplicate variables: sections in pipeline specs The prettier yaml parser doesn't like these. * [ci] provide git clean filter to format pipeline specs * [ci] Reformat pipeline specs with prettier
68 lines
2.1 KiB
YAML
68 lines
2.1 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-common:
|
|
before_script:
|
|
- echo "Zombie-net Tests Config"
|
|
- echo "${ZOMBIENET_IMAGE}"
|
|
- echo "${SUBSTRATE_IMAGE_NAME} ${SUBSTRATE_IMAGE_TAG}"
|
|
- echo "${GH_DIR}"
|
|
- export DEBUG=zombie,zombie::network-node
|
|
- export ZOMBIENET_INTEGRATION_TEST_IMAGE=${SUBSTRATE_IMAGE_NAME}:${SUBSTRATE_IMAGE_TAG}
|
|
- echo "${ZOMBIENET_INTEGRATION_TEST_IMAGE}"
|
|
stage: zombienet
|
|
image: "${ZOMBIENET_IMAGE}"
|
|
needs:
|
|
- job: publish-docker-substrate-temporary
|
|
extends:
|
|
- .kubernetes-env
|
|
- .zombienet-refs
|
|
variables:
|
|
GH_DIR: "https://github.com/paritytech/substrate/tree/${CI_COMMIT_SHA}/zombienet"
|
|
FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR: 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-0000-block-building:
|
|
extends:
|
|
- .zombienet-common
|
|
script:
|
|
- /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
|
|
--github-remote-dir="${GH_DIR}/0000-block-building"
|
|
--test="block-building.zndsl"
|
|
|
|
zombienet-0001-basic-warp-sync:
|
|
extends:
|
|
- .zombienet-common
|
|
script:
|
|
- /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
|
|
--github-remote-dir="${GH_DIR}/0001-basic-warp-sync"
|
|
--test="test-warp-sync.zndsl"
|
|
|
|
zombienet-0002-validators-warp-sync:
|
|
extends:
|
|
- .zombienet-common
|
|
script:
|
|
- /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
|
|
--github-remote-dir="${GH_DIR}/0002-validators-warp-sync"
|
|
--test="test-validators-warp-sync.zndsl"
|
|
|
|
zombienet-0003-block-building-warp-sync:
|
|
extends:
|
|
- .zombienet-common
|
|
script:
|
|
- /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh
|
|
--github-remote-dir="${GH_DIR}/0003-block-building-warp-sync"
|
|
--test="test-block-building-warp-sync.zndsl"
|