bump vendor/nimbus-build-system (#1050)

* bump vendor/nimbus-build-system

* Jenkins: switch to Bash for the "Build" stage
This commit is contained in:
Ștefan Talpalaru 2020-05-21 00:02:05 +02:00 committed by GitHub
parent a38eddcaac
commit e4173860f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 8 deletions

23
Jenkinsfile vendored
View File

@ -11,9 +11,12 @@ def runStages() {
[$class: "ArbitraryFileCache", excludes: "", includes: "**/*", path: "${WORKSPACE}/jsonTestsCache"]
]) {
stage("Build") {
sh "make -j${env.NPROC} update" /* to allow a newer Nim version to be detected */
sh "make -j${env.NPROC} deps" /* to allow the following parallel stages */
sh "V=1 ./scripts/setup_official_tests.sh jsonTestsCache"
sh """#!/bin/bash
set -e
make -j${env.NPROC} update # to allow a newer Nim version to be detected
make -j${env.NPROC} deps # to allow the following parallel stages
V=1 ./scripts/setup_official_tests.sh jsonTestsCache
"""
}
}
@ -21,8 +24,11 @@ def runStages() {
parallel(
"tools": {
stage("Tools") {
sh "make -j${env.NPROC}"
sh "make -j${env.NPROC} LOG_LEVEL=TRACE NIMFLAGS='-d:testnet_servers_image'"
sh """#!/bin/bash
set -e
make -j${env.NPROC}
make -j${env.NPROC} LOG_LEVEL=TRACE NIMFLAGS='-d:testnet_servers_image'
"""
}
},
"test suite": {
@ -32,8 +38,11 @@ def runStages() {
if ("${NODE_NAME}" ==~ /linux.*/) {
stage("testnet finalization") {
// EXECUTOR_NUMBER will be 0 or 1, since we have 2 executors per Jenkins node
sh "timeout -k 20s 10m ./scripts/launch_local_testnet.sh --testnet 0 --nodes 4 --log-level INFO --disable-htop --base-port \$(( 9000 + EXECUTOR_NUMBER * 100 )) --base-metrics-port \$(( 8008 + EXECUTOR_NUMBER * 100 )) -- --verify-finalization --stop-at-epoch=5"
sh "timeout -k 20s 40m ./scripts/launch_local_testnet.sh --testnet 1 --nodes 4 --log-level INFO --disable-htop --base-port \$(( 9000 + EXECUTOR_NUMBER * 100 )) --base-metrics-port \$(( 8008 + EXECUTOR_NUMBER * 100 )) -- --verify-finalization --stop-at-epoch=5"
sh """#!/bin/bash
set -e
timeout -k 20s 10m ./scripts/launch_local_testnet.sh --testnet 0 --nodes 4 --log-level INFO --disable-htop --base-port \$(( 9000 + EXECUTOR_NUMBER * 100 )) --base-metrics-port \$(( 8008 + EXECUTOR_NUMBER * 100 )) -- --verify-finalization --stop-at-epoch=5
timeout -k 20s 40m ./scripts/launch_local_testnet.sh --testnet 1 --nodes 4 --log-level INFO --disable-htop --base-port \$(( 9000 + EXECUTOR_NUMBER * 100 )) --base-metrics-port \$(( 8008 + EXECUTOR_NUMBER * 100 )) -- --verify-finalization --stop-at-epoch=5
"""
}
}
}

@ -1 +1 @@
Subproject commit 1c9feb0d66fbd8e55560543aee96d3e0d33c6c0f
Subproject commit 252af3e779416c627158ba39b1df97cde51e5981