forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'paritytech:master' into master
- Loading branch information
Showing
812 changed files
with
15,344 additions
and
8,879 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# This file is part of .gitlab-ci.yml | ||
# Here are all jobs that are executed during "zombienet" stage for bridges | ||
|
||
# common settings for all zombienet jobs | ||
.zombienet-bridges-common: | ||
extends: | ||
- .kubernetes-env | ||
- .zombienet-refs | ||
rules: | ||
# Docker images have different tag in merge queues | ||
- if: $CI_COMMIT_REF_NAME =~ /^gh-readonly-queue.*$/ | ||
variables: | ||
DOCKER_IMAGES_VERSION: ${CI_COMMIT_SHORT_SHA} | ||
- !reference [.build-refs, rules] | ||
before_script: | ||
- echo "Zombienet Tests Config" | ||
- echo "${ZOMBIENET_IMAGE}" | ||
- echo "${GH_DIR}" | ||
- echo "${LOCAL_DIR}" | ||
- ls "${LOCAL_DIR}" | ||
- export DEBUG=zombie,zombie::network-node | ||
- export ZOMBIENET_INTEGRATION_TEST_IMAGE="${BRIDGES_ZOMBIENET_TESTS_IMAGE}":${BRIDGES_ZOMBIENET_TESTS_IMAGE_TAG} | ||
- echo "${ZOMBIENET_INTEGRATION_TEST_IMAGE}" | ||
stage: zombienet | ||
image: "${BRIDGES_ZOMBIENET_TESTS_IMAGE}:${BRIDGES_ZOMBIENET_TESTS_IMAGE_TAG}" | ||
needs: | ||
- job: build-push-image-bridges-zombienet-tests | ||
artifacts: true | ||
variables: | ||
BRIDGES_ZOMBIENET_TESTS_IMAGE_TAG: ${DOCKER_IMAGES_VERSION} | ||
BRIDGES_ZOMBIENET_TESTS_IMAGE: "docker.io/paritypr/bridges-zombienet-tests" | ||
GH_DIR: "https://github.com/paritytech/polkadot-sdk/tree/${CI_COMMIT_SHA}/bridges/testing" | ||
LOCAL_DIR: "/builds/parity/mirrors/polkadot-sdk/bridges/testing" | ||
FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR: 1 | ||
RUN_IN_CONTAINER: "1" | ||
artifacts: | ||
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}_zombienet_bridge_tests" | ||
when: always | ||
expire_in: 2 days | ||
paths: | ||
- ./zombienet-logs | ||
after_script: | ||
- mkdir -p ./zombienet-logs | ||
# copy general logs | ||
- cp -r /tmp/bridges-tests-run-*/logs/* ./zombienet-logs/ | ||
# copy logs of rococo nodes | ||
- cp -r /tmp/bridges-tests-run-*/bridge_hub_rococo_local_network/*.log ./zombienet-logs/ | ||
# copy logs of westend nodes | ||
- cp -r /tmp/bridges-tests-run-*/bridge_hub_westend_local_network/*.log ./zombienet-logs/ | ||
|
||
zombienet-bridges-0001-asset-transfer-works: | ||
extends: | ||
- .zombienet-bridges-common | ||
script: | ||
- /home/nonroot/bridges-polkadot-sdk/bridges/testing/run-new-test.sh 0001-asset-transfer --docker | ||
- echo "Done" | ||
|
||
zombienet-bridges-0002-mandatory-headers-synced-while-idle: | ||
extends: | ||
- .zombienet-bridges-common | ||
script: | ||
- /home/nonroot/bridges-polkadot-sdk/bridges/testing/run-new-test.sh 0002-mandatory-headers-synced-while-idle --docker | ||
- echo "Done" |
Oops, something went wrong.