Skip to content

Commit

Permalink
add pipeline-stopper-artifacts to jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
alvicsam committed Aug 28, 2023
1 parent c96bd0a commit 7fff5c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ default:
before_script:
- !reference [.common-before-script, before_script]
- !reference [.prepare-env, before_script]
- !reference [.pipeline-stopper-vars, script]
tags:
- kubernetes-parity-build

Expand Down Expand Up @@ -112,7 +113,6 @@ default:
- !reference [.prepare-env, before_script]
- !reference [.rust-info-script, script]
- !reference [.rusty-cachier, before_script]
- !reference [.pipeline-stopper-vars, script]
tags:
- linux-docker-vm-c2

Expand Down
3 changes: 1 addition & 2 deletions .gitlab/pipeline/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ cargo-clippy:
extends:
- .docker-env
- .common-refs
- .pipeline-stopper-artifacts
script:
- SKIP_WASM_BUILD=1 env -u RUSTFLAGS cargo clippy --all-targets --locked --workspace
# fixme!
allow_failure: true

check-try-runtime:
stage: check
Expand Down
6 changes: 6 additions & 0 deletions .gitlab/pipeline/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ test-linux-stable:
- .docker-env
- .common-refs
- .run-immediately
- .pipeline-stopper-artifacts
variables:
RUST_TOOLCHAIN: stable
# Enable debug assertions since we are running optimized builds for testing
Expand Down Expand Up @@ -79,6 +80,7 @@ test-linux-stable-additional-tests:
- .docker-env
- .common-refs
- .run-immediately
- .pipeline-stopper-artifacts
variables:
RUST_TOOLCHAIN: stable
# Enable debug assertions since we are running optimized builds for testing
Expand All @@ -104,6 +106,7 @@ test-linux-stable-slow:
- .docker-env
- .common-refs
- .run-immediately
- .pipeline-stopper-artifacts
variables:
RUST_TOOLCHAIN: stable
# Enable debug assertions since we are running optimized builds for testing
Expand Down Expand Up @@ -216,6 +219,7 @@ cargo-check-benches:
- .common-refs
- .run-immediately
- .collect-artifacts
- .pipeline-stopper-artifacts
before_script:
# TODO: DON'T FORGET TO CHANGE FOR PROD VALUES!!!
# merges in the master branch on PRs. skip if base is not master
Expand Down Expand Up @@ -348,6 +352,7 @@ test-linux-stable-int:
- .docker-env
- .common-refs
- .run-immediately
- .pipeline-stopper-artifacts
variables:
# Enable debug assertions since we are running optimized builds for testing
# but still want to have debug assertions.
Expand All @@ -370,6 +375,7 @@ check-tracing:
- .docker-env
- .common-refs
- .run-immediately
- .pipeline-stopper-artifacts
script:
# with-tracing must be explicitly activated, we run a test to ensure this works as expected in both cases
- time cargo test --locked --manifest-path ./substrate/primitives/tracing/Cargo.toml --no-default-features
Expand Down

0 comments on commit 7fff5c8

Please sign in to comment.