7be0033d12
update tests, helper methods, etc for changed interfaces linted and some tests updated... statediff tests failing on filesystem call locally undo changes to go.mod from rebase changed ref and repo to try old stack-orch with miner.etherbase arg turn off new tests yml for old tests with hack for old stack-orchestrator cicd cleanup to trigger PR and testing (#324) publish step using broken tests switched (#325) Publish with old tests and no vulcanize publish (#326) * publish step using broken tests switched * rebase inserted old vulcanize publish steps run tests in Jenkins CICD (#327) * run race tests in CICD * set HOME env for .ethereum mkdir permission denied * use same homeDir method as other places in code * unused variable in test removed * do NOT run race tests Unit test inconsistencies (#330) * run race tests in CICD * set HOME env for .ethereum mkdir permission denied * use same homeDir method as other places in code * unused variable in test removed * do NOT run race tests * add statediffing test to Jenkinsfile Add COPY support for inserting multiple rows in a single operation. (#328) * Add COPY support for inserting multiple rows in a single command. Fix CI tests by using specific version of Foundry (#333) * Fix CI tests by using specific version of Foundry --------- Co-authored-by: Michael Shaw <michael@abastionofsanity.com> Add timers/counters for LevelDB Get, Put, Has, and Delete. (#332) * Add timers/counters for LevelDB Get, Put, Has, and Delete. * Test for null metrics (the unit tests don't initialize them). Add timer and counter for batched write operations. (#337) * Add timer and counter for batched write operations. * Tweak comment
52 lines
1.5 KiB
Groovy
52 lines
1.5 KiB
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
script{
|
|
docker.withRegistry('https://git.vdb.to'){
|
|
echo 'Building geth image...'
|
|
//def geth_image = docker.build("cerc-io/go-ethereum:jenkinscicd")
|
|
echo 'built geth image'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
stage('Test') {
|
|
agent {
|
|
docker {
|
|
image 'cerc-io/foundation:jenkinscicd'
|
|
//image 'cerc-io/foundation_alpine:jenkinscicd'
|
|
}
|
|
}
|
|
|
|
environment {
|
|
GO111MODULE = "on"
|
|
CGO_ENABLED = 1
|
|
//GOPATH = "${JENKINS_HOME}/jobs/${JOB_NAME}/builds/${BUILD_ID}"
|
|
//GOPATH = "/go"
|
|
GOPATH = "/tmp/go"
|
|
//GOMODCACHE = "/go/pkg/mod"
|
|
GOCACHE = "${WORKSPACE}/.cache/go-build"
|
|
GOENV = "${WORKSPACE}/.config/go/env"
|
|
GOMODCACHE = "/tmp/go/pkg/mod"
|
|
GOWORK=""
|
|
//GOFLAGS=""
|
|
HOME="${WORKSPACE}"
|
|
|
|
}
|
|
steps {
|
|
echo 'Testing geth units...'
|
|
sh 'make test'
|
|
echo 'Testing statediffing geth...'
|
|
sh 'make statedifftest'
|
|
}
|
|
}
|
|
stage('Packaging') {
|
|
steps {
|
|
echo 'Packaging ...'
|
|
}
|
|
}
|
|
}
|
|
} |