Skip to content

Commit

Permalink
Update e2e-common.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimansk committed May 6, 2024
1 parent ef77555 commit cc99461
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions openshift/e2e-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,27 +223,14 @@ install_serverless_operator_branch() {
unset OPENSHIFT_CI

# Install all components Serving,Eventing,Strimzi and Kafka
make install-all || failed=1
make install-serving install-eventing || failed=1
subheader "Successfully installed serverless operator."

# Workaround default 'https' scheme
oc patch knativeserving knative-serving \
--namespace knative-serving --type merge \
--patch '{"spec":{"config":{"network":{"default-external-scheme":"http"}}}}' || return 1

header "Applying Strimzi Topic CR"
cat <<-EOF | oc apply -n kafka -f - || failed=1
apiVersion: kafka.strimzi.io/v1beta1
kind: KafkaTopic
metadata:
name: test-topic
labels:
strimzi.io/cluster: my-cluster
spec:
partitions: 100
replicas: 1
EOF

popd
return $failed
}
Expand Down

0 comments on commit cc99461

Please sign in to comment.