jenkins: add backwards compatibility test (#2774)
* add jenkins runs backwards compat test, fix sa config issue * try to use current branch * add jenkins stage condition of branch name * try when with branch env var * only run test on master branch * fix != to == * add comment, fix indentation * run for all branches * make comment more specific
This commit is contained in:
parent
786828ea0a
commit
e1d8503f50
@ -90,6 +90,18 @@ pipeline {
|
||||
sh 'make test-sim'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Backwards Compatibility') {
|
||||
environment {
|
||||
STORJ_NETWORK_HOST4 = '127.0.0.3'
|
||||
STORJ_NETWORK_HOST6 = '127.0.0.3'
|
||||
}
|
||||
|
||||
steps {
|
||||
sh 'make test-sim-backwards-compatible'
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -38,6 +38,9 @@ storj-sim -x --host $STORJ_NETWORK_HOST4 network test bash "$SCRIPTDIR"/test-bac
|
||||
|
||||
make -C "$BRANCH_DIR" install-sim
|
||||
|
||||
# this replaces anywhere that has "/release/" in the config file, which currently just renames the static dir paths
|
||||
sed -i -e 's#/release/#/branch/#g' $STORJ_NETWORK_DIR/satellite/0/config.yaml
|
||||
|
||||
# run download part of backward compatibility tests from the current branch
|
||||
storj-sim -x --host $STORJ_NETWORK_HOST4 network test bash "$SCRIPTDIR"/test-backwards.sh download
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user