improve Jenkinsfile, do more testing
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
4e72b41971
commit
6ecdb5be47
1 changed files with 37 additions and 9 deletions
46
Jenkinsfile
vendored
46
Jenkinsfile
vendored
|
@ -8,19 +8,47 @@ pipeline {
|
|||
virtualenv -p python3 venv
|
||||
. venv/bin/activate
|
||||
pip install --upgrade pip
|
||||
"""
|
||||
sh """
|
||||
. venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
"""
|
||||
}
|
||||
}
|
||||
stage('bw_test') {
|
||||
steps {
|
||||
sh """
|
||||
. venv/bin/activate
|
||||
bw test --ignore-missing-faults
|
||||
"""
|
||||
stage('bw test') {
|
||||
parallel {
|
||||
stage('ignore missing vaults') {
|
||||
steps {
|
||||
sh """
|
||||
. venv/bin/activate
|
||||
bw test --ignore-missing-faults
|
||||
"""
|
||||
}
|
||||
}
|
||||
stage('dummy mode') {
|
||||
steps {
|
||||
sh """
|
||||
. venv/bin/activate
|
||||
export BW_VAULT_DUMMY_MODE=1
|
||||
bw test
|
||||
"""
|
||||
}
|
||||
}
|
||||
stage('secret rotation') {
|
||||
steps {
|
||||
sh """
|
||||
. venv/bin/activate
|
||||
export BW_VAULT_DUMMY_MODE=1
|
||||
bw test -s ''
|
||||
"""
|
||||
}
|
||||
}
|
||||
stage('determinism') {
|
||||
steps {
|
||||
sh """
|
||||
. venv/bin/activate
|
||||
export BW_VAULT_DUMMY_MODE=1
|
||||
bw test --metadata-determinism 3 --config-determinism 3
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('cleanup') {
|
||||
|
|
Loading…
Reference in a new issue