-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from sora-xor/feature/dops-2942/change_rust_lib
[DOPS-2942]: Update substrate build
- Loading branch information
Showing
3 changed files
with
15 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
@Library('jenkins-library') _ | ||
|
||
def pipeline = new org.rust.AppPipeline(steps: this, | ||
envImageName: 'docker.soramitsu.co.jp/sora2/parachain-env:latest', | ||
envImageName: 'docker.soramitsu.co.jp/sora2/env:env', | ||
appImageName: 'docker.soramitsu.co.jp/sora2/parachain', | ||
buildTestCmds: ['housekeeping/tests.sh'], | ||
cargoClippyTag: ':latest', | ||
cargoClippyCmds: ['housekeeping/clippy.sh'], | ||
codeCoverage: false, | ||
buildTestCmds: 'housekeeping/tests.sh', | ||
disableCodeCoverage: true, | ||
sonarProjectKey: 'sora:sora2-common', | ||
sonarProjectName: 'sora2-common', | ||
dojoProductType: 'sora' | ||
dojoProductType: 'sora', | ||
clippyLinter: false | ||
) | ||
pipeline.runPipeline() | ||
pipeline.runPipeline() |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,12 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
cargo test --release --features runtime-benchmarks | ||
test() { | ||
cargo test --release --features runtime-benchmarks | ||
} | ||
|
||
if [ "$(type -t $1)" = "function" ]; then | ||
"$1" | ||
else | ||
echo "Func '$1' does not exist in this workflow. Skipped." | ||
fi |