@@ -109,27 +109,56 @@ trap cleanup EXIT
109109# Handle ctrl+c
110110trap unexpectedError INT
111111
112- mkdir -p $WORK_DIR /results || exit 1
113- mkdir -p $DIR /results || exit 1
114-
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
133112
134- (( failed )) && fail_test " $testsuite tests failed"
135- success $testsuite
113+
114+ ROLLOUTS_TMP_DIR=$( mktemp -d)
115+
116+ cd $ROLLOUTS_TMP_DIR
117+
118+ # kubectl get namespaces
119+
120+ # kubectl get pods -A || true
121+
122+ # kubectl api-resources
123+
124+ git clone https://github.com/argoproj-labs/argo-rollouts-manager
125+
126+ # git clone https://github.com/jgwest/argo-rollouts-manager
127+
128+ cd " $ROLLOUTS_TMP_DIR /argo-rollouts-manager"
129+
130+ TARGET_ROLLOUT_MANAGER_COMMIT=b3e573f0e6ea3a5ec3eeba70ebb5d90e58efcd68
131+
132+ git checkout $TARGET_ROLLOUT_MANAGER_COMMIT
133+ make test-e2e
134+
135+
136+ cd " $ROLLOUTS_TMP_DIR /argo-rollouts-manager"
137+
138+ SKIP_RUN_STEP=true hack/run-upstream-argo-rollouts-e2e-tests.sh
139+
140+
141+ # mkdir -p $WORK_DIR/results || exit 1
142+ # mkdir -p $DIR/results || exit 1
143+
144+ # case "$testsuite" in
145+ # "parallel")
146+ # header "Running $testsuite tests"
147+ # run_parallel $2
148+ # ;;
149+ # "sequential")
150+ # header "Running $testsuite tests"
151+ # run_sequential $2
152+ # ;;
153+ # "all")
154+ # header "Running $testsuite tests"
155+ # run_parallel
156+ # run_sequential
157+ # ;;
158+ # *)
159+ # echo "USAGE: $0 (parallel|sequential|all)" >&2
160+ # exit 1
161+ # esac
162+
163+ # (( failed )) && fail_test "$testsuite tests failed"
164+ # success $testsuite
0 commit comments