Skip to content

Commit 3ad0e55

Browse files
authored
Fix e2e setup on OCP (#1681)
1 parent 42cacd3 commit 3ad0e55

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

openshift/e2e-common.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ if [ -n "$OPENSHIFT_BUILD_NAMESPACE" ]; then
3535
{{- if eq . "sidecarcontainer"}}$KNATIVE_SERVING_TEST_SIDECARCONTAINER{{end -}}
3636
{{- if eq . "hellohttp2"}}$KNATIVE_SERVING_TEST_HELLOHTTP2{{end -}}
3737
{{- if eq . "hellovolume"}}$KNATIVE_SERVING_TEST_HELLOVOLUME{{end -}}
38+
{{- if eq . "configmimic"}}$KNATIVE_SERVING_TEST_CONFIGMIMIC{{end -}}
3839
{{- if eq . "invalidhelloworld"}}quay.io/openshift-knative/helloworld:invalid{{end -}}
3940
{{end -}}
4041
END
@@ -102,7 +103,7 @@ function serverless_operator_version {
102103
echo 'release-1.36'
103104
elif [[ "$branch_name" == "release-v1.17" ]]; then
104105
echo 'release-1.37'
105-
elif [[ "$branch_name" == "release-v1.18" ]]; then
106+
elif [[ "$branch_name" == "release-v1.21" ]]; then
106107
echo 'release-1.38'
107108
else
108109
echo 'main'
@@ -130,7 +131,7 @@ function install_serverless(){
130131
export GOPATH=/tmp/go
131132
export ON_CLUSTER_BUILDS=true
132133
export DOCKER_REPO_OVERRIDE=image-registry.openshift-image-registry.svc:5000/openshift-serverless-builds
133-
OPENSHIFT_CI="true" make generated-files images install-serving || return $?
134+
OPENSHIFT_CI="true" make install-tools generated-files images install-serving || return $?
134135

135136
# Ensure tests trust the OpenShift router CA
136137
trust_router_ca || return $?
@@ -442,3 +443,7 @@ function disable_feature_flags {
442443
sleep 30
443444
return $failed
444445
}
446+
447+
function on_success() {
448+
echo "Do nothing"
449+
}

0 commit comments

Comments
 (0)