File tree Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Original file line number Diff line number Diff line change 2
2
# Usage: script/cibuild [--no-package]
3
3
set -e
4
4
5
- # GHE appliance versions to run tests against. Remote metadata files are put in
6
- # place with this version at the beginning of each test and many commands have
7
- # conditional logic based on the remote version. Running the suite against
8
- # different major versions ensures we're covering these conditional paths.
9
- REMOTE_VERSIONS=" 2.19.0 2.20.0 2.21.0"
10
-
11
5
# Enable verbose logging of ssh commands
12
6
export GHE_VERBOSE_SSH=true
13
7
14
- # Run over all remote versions and run entire test suite against each
15
8
res=true
16
- for version in $REMOTE_VERSIONS
17
- do
18
- echo " ==> Running testsuite with GHE_TEST_REMOTE_VERSION=$version "
19
- export GHE_TEST_REMOTE_VERSION=" $version "
20
- if ! find test -name " test-*.sh" -print0 | xargs -0 -P 4 -n 1 /bin/bash; then
21
- res=false
22
- fi
23
- echo
24
- done
9
+ version=2.21.0
10
+ echo " ==> Running testsuite with GHE_TEST_REMOTE_VERSION=$version "
11
+ export GHE_TEST_REMOTE_VERSION=" $version "
12
+ if ! find test -name " test-*.sh" -print0 | xargs -0 -P 4 -n 1 /bin/bash; then
13
+ res=false
14
+ fi
15
+ echo
25
16
26
- # If any of the version tests failed, exit non-zero
17
+ # If any of the tests above failed, exit non-zero
27
18
$res
28
19
29
20
# Bail out when --no-package given
You can’t perform that action at this time.
0 commit comments