Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Rialto <> Millau bridges #2663

Merged
merged 2 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .config/lingua.dic
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,13 @@ MessageNonce
MessageNonces
MessagePayload
MetricsParams
Millau/MS
OldHeader
OutboundMessages
PoA
PoV/MS
Pre
RLP
RPC/MS
Rialto/MS
RialtoParachain/MS
Relayer/MS
Runtime1
Runtime2
Expand Down Expand Up @@ -164,7 +161,6 @@ malus
max_value
merkle/MS
metadata
millau
misbehavior/SM
misbehaviors
multivalidator/SM
Expand Down
72 changes: 3 additions & 69 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,14 @@ spellcheck:
<<: *docker-env
<<: *test-refs
script:
- cargo spellcheck check --cfg=.config/spellcheck.toml --checkers hunspell -m 1 $(find . -type f -name '*.rs' ! -path "./target/*" ! -path "./bin/millau/runtime/src/weights/*" ! -name 'codegen_runtime.rs' ! -name 'weights.rs')
- cargo spellcheck check --cfg=.config/spellcheck.toml --checkers hunspell -m 1 $(find . -type f -name '*.rs' ! -path "./target/*" ! -name 'codegen_runtime.rs' ! -name 'weights.rs')

check:
stage: test
<<: *docker-env
<<: *test-refs
script: &check-script
- SKIP_WASM_BUILD=1 time cargo check --locked --verbose --workspace
# Check Rialto benchmarks runtime
- SKIP_WASM_BUILD=1 time cargo check -p rialto-runtime --locked --features runtime-benchmarks --verbose
# Check Millau benchmarks runtime
- SKIP_WASM_BUILD=1 time cargo check -p millau-runtime --locked --features runtime-benchmarks --verbose
- SKIP_WASM_BUILD=1 time cargo check --locked --verbose --workspace --features runtime-benchmarks

check-nightly:
stage: test
Expand Down Expand Up @@ -175,19 +171,6 @@ deny-licenses:
- echo "___Complete logs can be found in the artifacts___"
- cargo deny check licenses 2> licenses.log

benchmarks-test:
stage: test
<<: *docker-env
<<: *nightly-test
script:
- time cargo run --release -p millau-bridge-node --features=runtime-benchmarks -- benchmark pallet --chain=dev --steps=2 --repeat=1 --pallet=pallet_bridge_messages --extrinsic=* --wasm-execution=Compiled --heap-pages=4096
- time cargo run --release -p millau-bridge-node --features=runtime-benchmarks -- benchmark pallet --chain=dev --steps=2 --repeat=1 --pallet=pallet_bridge_grandpa --extrinsic=* --wasm-execution=Compiled --heap-pages=4096
- time cargo run --release -p millau-bridge-node --features=runtime-benchmarks -- benchmark pallet --chain=dev --steps=2 --repeat=1 --pallet=pallet_bridge_parachains --extrinsic=* --wasm-execution=Compiled --heap-pages=4096
- time cargo run --release -p millau-bridge-node --features=runtime-benchmarks -- benchmark pallet --chain=dev --steps=2 --repeat=1 --pallet=pallet_bridge_relayers --extrinsic=* --wasm-execution=Compiled --heap-pages=4096
- time cargo run --release -p millau-bridge-node --features=runtime-benchmarks -- benchmark pallet --chain=dev --steps=2 --repeat=1 --pallet=pallet_xcm_bridge_hub_router --extrinsic=* --wasm-execution=Compiled --heap-pages=4096
# we may live with failing benchmarks, it is just a signal for us
allow_failure: true

check-rustdoc:
stage: test
<<: *docker-env
Expand All @@ -196,7 +179,7 @@ check-rustdoc:
SKIP_WASM_BUILD: 1
RUSTDOCFLAGS: "-Dwarnings"
script:
- time cargo +nightly doc --workspace --verbose --no-deps --all-features --exclude relay-rialto-parachain-client
- time cargo +nightly doc --workspace --verbose --no-deps --all-features

partial-repo-pallets-build-test:
stage: test
Expand Down Expand Up @@ -229,16 +212,6 @@ build:
after_script:
# Prepare artifacts
- mkdir -p ./artifacts
- strip ./target/release/rialto-bridge-node
- mv -v ./target/release/rialto-bridge-node ./artifacts/
- strip ./target/release/rialto-bridge-node-execute-worker
- mv -v ./target/release/rialto-bridge-node-execute-worker ./artifacts/
- strip ./target/release/rialto-bridge-node-prepare-worker
- mv -v ./target/release/rialto-bridge-node-prepare-worker ./artifacts/
- strip ./target/release/rialto-parachain-collator
- mv -v ./target/release/rialto-parachain-collator ./artifacts/
- strip ./target/release/millau-bridge-node
- mv -v ./target/release/millau-bridge-node ./artifacts/
- strip ./target/release/substrate-relay
- mv -v ./target/release/substrate-relay ./artifacts/
- mv -v ./deployments/local-scripts/bridge-entrypoint.sh ./artifacts/
Expand Down Expand Up @@ -286,18 +259,6 @@ build-nightly:
--tag "${IMAGE_NAME}:latest"
--file "${DOCKERFILE}" .

rialto-bridge-node-build-docker:
stage: publish
<<: *build-image

rialto-parachain-collator-build-docker:
stage: publish
<<: *build-image

millau-bridge-node-build-docker:
stage: publish
<<: *build-image

substrate-relay-build-docker:
stage: publish
<<: *build-image
Expand Down Expand Up @@ -364,18 +325,6 @@ bridges-common-relay-build-docker:
after_script:
- env REGISTRY_AUTH_FILE= buildah logout --all

rialto-bridge-node:
stage: publish
<<: *build-push-image

rialto-parachain-collator:
stage: publish
<<: *build-push-image

millau-bridge-node:
stage: publish
<<: *build-push-image

substrate-relay:
stage: publish
<<: *build-push-image
Expand Down Expand Up @@ -407,21 +356,6 @@ bridges-common-relay:
tags:
- linux-docker

dockerhub-rialto-bridge-node:
extends: .publish-docker-image-description
variables:
SHORT_DESCRIPTION: "rialto-bridge-node"

dockerhub-rialto-parachain-collator:
extends: .publish-docker-image-description
variables:
SHORT_DESCRIPTION: "rialto-parachain-collator"

dockerhub-millau-bridge-node:
extends: .publish-docker-image-description
variables:
SHORT_DESCRIPTION: "millau-bridge-node"

dockerhub-substrate-relay:
extends: .publish-docker-image-description
variables:
Expand Down
Loading