Skip to content

Commit

Permalink
Merge pull request #76 from sora-xor/feature/dops-2942/change_rust_lib
Browse files Browse the repository at this point in the history
[DOPS-2942]: Update substrate build
  • Loading branch information
f33r0 authored Mar 2, 2024
2 parents a2adf51 + bae8785 commit 0a02aa0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 19 deletions.
13 changes: 6 additions & 7 deletions Jenkinsfile
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()
11 changes: 0 additions & 11 deletions housekeeping/clippy.sh

This file was deleted.

10 changes: 9 additions & 1 deletion housekeeping/tests.sh
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

0 comments on commit 0a02aa0

Please sign in to comment.