Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 8bae97f

Browse files
committed
Merge remote-tracking branch 'origin/master' into gav-assets-extra
2 parents 1888155 + 5ea2399 commit 8bae97f

File tree

447 files changed

+12978
-9251
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

447 files changed

+12978
-9251
lines changed

.gitlab-ci.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ cargo-deny:
193193
- schedules
194194
- tags
195195
- web
196+
except:
197+
variables:
198+
- $CI_COMMIT_MESSAGE =~ /skip-checks/
196199
script:
197200
- cargo deny check --hide-inclusion-graph -c .maintain/deny.toml
198201
after_script:
@@ -273,6 +276,9 @@ unleash-check:
273276
only:
274277
- master
275278
- tags
279+
except:
280+
variables:
281+
- $CI_COMMIT_MESSAGE =~ /skip-checks/
276282
script:
277283
- cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS}
278284
- cargo unleash check ${CARGO_UNLEASH_PKG_DEF}
@@ -336,6 +342,9 @@ check-web-wasm:
336342
- time cargo build --target=wasm32-unknown-unknown -p sc-telemetry
337343
# Note: the command below is a bit weird because several Cargo issues prevent us from compiling the node in a more straight-forward way.
338344
- time cargo +nightly build --manifest-path=bin/node/cli/Cargo.toml --no-default-features --features browser --target=wasm32-unknown-unknown -Z features=itarget
345+
# with-tracing must be explicitly activated, we run a test to ensure this works as expected in both cases
346+
- time cargo +nightly test --manifest-path primitives/tracing/Cargo.toml --no-default-features
347+
- time cargo +nightly test --manifest-path primitives/tracing/Cargo.toml --no-default-features --features=with-tracing
339348
- sccache -s
340349

341350
test-full-crypto-feature:
@@ -492,7 +501,7 @@ build-rust-doc:
492501
- ./crate-docs/
493502
script:
494503
- rm -f ./crate-docs/index.html # use it as an indicator if the job succeeds
495-
- BUILD_DUMMY_WASM_BINARY=1 RUSTDOCFLAGS="--html-in-header $(pwd)/.maintain/rustdoc-header.html"
504+
- BUILD_DUMMY_WASM_BINARY=1 RUSTDOCFLAGS="--html-in-header $(pwd)/.maintain/rustdoc-header.html"
496505
time cargo +nightly doc --no-deps --workspace --all-features --verbose
497506
- mv ./target/doc ./crate-docs
498507
- echo "<meta http-equiv=refresh content=0;url=sc_service/index.html>" > ./crate-docs/index.html
@@ -522,7 +531,7 @@ docker-build-chaos: &docker-build-chaos
522531
needs:
523532
- job: build-linux-substrate
524533
image: docker:stable
525-
tags:
534+
tags:
526535
- kubernetes-parity-build
527536
variables:
528537
<<: *default-vars
@@ -561,7 +570,7 @@ chaos-test-singlenodeheight:
561570
image: parity/chaostools:latest
562571
needs:
563572
- job: docker-build-chaos
564-
tags:
573+
tags:
565574
- parity-chaos
566575
variables:
567576
<<: *default-vars
@@ -710,7 +719,7 @@ publish-to-crates-io:
710719
- /^v[0-9]+\.[0-9]+\.[0-9]+.*$/
711720
script:
712721
- cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS}
713-
- cargo unleash em-dragons --no-check ${CARGO_UNLEASH_PKG_DEF}
722+
- cargo unleash em-dragons --no-check --owner github:paritytech:core-devs ${CARGO_UNLEASH_PKG_DEF}
714723
allow_failure: true
715724

716725

.maintain/gitlab/check_polkadot_companion_build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,5 @@ $CARGO_HOME/bin/diener --substrate --branch $CI_COMMIT_REF_NAME --git https://gi
9090
cd polkadot
9191

9292
# Test Polkadot pr or master branch with this Substrate commit.
93+
cargo update -p sp-io
9394
time cargo test --all --release --verbose

0 commit comments

Comments
 (0)