mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 07:01:05 +00:00
Intend to reactivate cargo-unleash check (#10167)
* Intend to reactivate cargo-unleash check It appears the bug it was deactivated for has been resolved a while ago. Trying to reactivate the checks. * adding missing cargo.toml metadata for BEEFY crates * fix wrong version reference * matching up versions * disable faulty cache * switching more versions to prerelease * Revert "disable faulty cache" This reverts commit 411a12ae444a9695a8bfea4458a868438d870b06. * bump minor of sc-allocator to fix already-published-issue * fixup another pre-released dependency problem * temp switch to latest unleash * fixing dependency version and features * prometheus endpoint has also been changed * fixing proposer metrics versioning * fixing hex feature for beefy * fix generate-bags feature selection * fixup Cargo.lock * upgrade prometheus dependencies * missed one * switch to latest release
This commit is contained in:
committed by
GitHub
parent
169f8caf7d
commit
2168a6d0c9
+13
-15
@@ -40,7 +40,7 @@ variables: &default-vars
|
||||
ARCH: "x86_64"
|
||||
CI_IMAGE: "paritytech/ci-linux:production"
|
||||
# FIXME set to release
|
||||
CARGO_UNLEASH_INSTALL_PARAMS: "--version 1.0.0-alpha.12"
|
||||
CARGO_UNLEASH_INSTALL_PARAMS: "--version 1.0.0-alpha.13"
|
||||
CARGO_UNLEASH_PKG_DEF: "--skip node node-* pallet-template pallet-example-* subkey chain-spec-builder"
|
||||
VAULT_SERVER_URL: "https://vault.parity-mgmt-vault.parity.io"
|
||||
VAULT_AUTH_PATH: "gitlab-parity-io-jwt"
|
||||
@@ -455,20 +455,20 @@ test-linux-stable: &test-linux
|
||||
- SUBSTRATE_TEST_TIMEOUT=1 time cargo test -p substrate-test-utils --release --verbose --locked -- --ignored timeout
|
||||
- sccache -s
|
||||
|
||||
#unleash-check:
|
||||
#stage: test
|
||||
#<<: *docker-env
|
||||
#<<: *test-refs-no-trigger
|
||||
#script:
|
||||
#- cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS}
|
||||
#- cargo unleash de-dev-deps
|
||||
unleash-check:
|
||||
stage: test
|
||||
<<: *docker-env
|
||||
<<: *test-refs-no-trigger
|
||||
script:
|
||||
- cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS}
|
||||
- cargo unleash de-dev-deps
|
||||
# Reuse build artifacts when running checks (cuts down check time by 3x)
|
||||
# TODO: Implement this optimization in cargo-unleash rather than here
|
||||
#- mkdir -p target/unleash
|
||||
#- export CARGO_TARGET_DIR=target/unleash
|
||||
#- cargo unleash check ${CARGO_UNLEASH_PKG_DEF}
|
||||
- mkdir -p target/unleash
|
||||
- export CARGO_TARGET_DIR=target/unleash
|
||||
- cargo unleash check ${CARGO_UNLEASH_PKG_DEF}
|
||||
# FIXME: this job must not fail, or unleash-to-crates-io will publish broken stuff
|
||||
#allow_failure: true
|
||||
allow_failure: true
|
||||
|
||||
test-frame-examples-compile-to-wasm:
|
||||
# into one job
|
||||
@@ -872,9 +872,7 @@ unleash-to-crates-io:
|
||||
<<: *vault-secrets
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME =~ /^ci-release-.*$/
|
||||
# FIXME: wait until https://github.com/paritytech/cargo-unleash/issues/50 is fixed, also
|
||||
# remove allow_failure: true on the check job
|
||||
# - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
|
||||
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
|
||||
script:
|
||||
- cargo install cargo-unleash ${CARGO_UNLEASH_INSTALL_PARAMS}
|
||||
- cargo unleash em-dragons --no-check --owner github:paritytech:core-devs ${CARGO_UNLEASH_PKG_DEF}
|
||||
|
||||
Reference in New Issue
Block a user