Skip to content

Commit 2b640ec

Browse files
committed
Update
1 parent ad62d76 commit 2b640ec

File tree

2 files changed

+40
-20
lines changed

2 files changed

+40
-20
lines changed

scripts/openshiftci-presubmit-all-tests.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ set -e
66
# Do not show token in CI log
77
set +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
1014
set -x
1115
export CI="prow"
@@ -29,3 +33,7 @@ cd ../..
2933
# Run e2e test
3034
make test-e2e
3135

36+
# Run Rollouts E2E tests
37+
cd "$SCRIPT_DIR"
38+
39+
# "$SCRIPT_DIR/run-rollouts-e2e-tests.sh"

scripts/run-kuttl-tests.sh

Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -112,24 +112,36 @@ trap unexpectedError INT
112112
mkdir -p $WORK_DIR/results || exit 1
113113
mkdir -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

0 commit comments

Comments
 (0)