File tree Expand file tree Collapse file tree 2 files changed +40
-20
lines changed
Expand file tree Collapse file tree 2 files changed +40
-20
lines changed Original file line number Diff line number Diff line change 66# Do not show token in CI log
77set +x
88
9+ # Get path containing the current script, usually (repo path)/scripts
10+ SCRIPT_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd )
11+
12+
913# show commands
1014set -x
1115export CI=" prow"
@@ -29,3 +33,7 @@ cd ../..
2933# Run e2e test
3034make test-e2e
3135
36+ # Run Rollouts E2E tests
37+ cd " $SCRIPT_DIR "
38+
39+ # "$SCRIPT_DIR/run-rollouts-e2e-tests.sh"
Original file line number Diff line number Diff line change @@ -112,24 +112,36 @@ trap unexpectedError INT
112112mkdir -p $WORK_DIR /results || exit 1
113113mkdir -p $DIR /results || exit 1
114114
115- case " $testsuite " in
116- " parallel" )
117- header " Running $testsuite tests"
118- run_parallel $2
119- ;;
120- " sequential" )
121- header " Running $testsuite tests"
122- run_sequential $2
123- ;;
124- " all" )
125- header " Running $testsuite tests"
126- run_parallel
127- run_sequential
128- ;;
129- * )
130- echo " USAGE: $0 (parallel|sequential|all)" >&2
131- exit 1
132- esac
115+ # Get path containing the current script, usually (repo path)/scripts
116+ SCRIPT_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd )
117+
118+ # Run Rollouts E2E tests
119+ cd " $SCRIPT_DIR "
120+
121+ " $SCRIPT_DIR /run-rollouts-e2e-tests.sh"
122+
123+
124+
125+
126+
127+ # case "$testsuite" in
128+ # "parallel")
129+ # header "Running $testsuite tests"
130+ # run_parallel $2
131+ # ;;
132+ # "sequential")
133+ # header "Running $testsuite tests"
134+ # run_sequential $2
135+ # ;;
136+ # "all")
137+ # header "Running $testsuite tests"
138+ # run_parallel
139+ # run_sequential
140+ # ;;
141+ # *)
142+ # echo "USAGE: $0 (parallel|sequential|all)" >&2
143+ # exit 1
144+ # esac
133145
134- (( failed )) && fail_test " $testsuite tests failed"
135- success $testsuite
146+ # (( failed )) && fail_test "$testsuite tests failed"
147+ # success $testsuite
You can’t perform that action at this time.
0 commit comments