Skip to content

Commit 8fe2114

Browse files
committed
Setup sugar-controller for released eventing version setup
- reuse knative_setup util from common lib for latest-release CI setup
1 parent 448d481 commit 8fe2114

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

test/common.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,9 @@ function knative_setup() {
4343

4444
else
4545
start_release_knative_eventing "${eventing_version}"
46+
47+
# install the sugar controller
48+
kubectl apply --filename https://storage.googleapis.com/knative-releases/eventing/previous/${eventing_version}/eventing-sugar-controller.yaml
49+
wait_until_pods_running knative-eventing || return 1
4650
fi
4751
}

test/presubmit-tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export GO111MODULE=on
3838
export KNATIVE_SERVING_VERSION=${KNATIVE_SERVING_VERSION:-latest}
3939
export KNATIVE_EVENTING_VERSION=${KNATIVE_EVENTING_VERSION:-latest}
4040
source $(dirname $0)/../scripts/test-infra/presubmit-tests.sh
41+
source $(dirname $0)/common.sh
4142

4243
# Run cross platform build to ensure kn compiles for Linux, macOS and Windows
4344
function post_build_tests() {

0 commit comments

Comments
 (0)