Skip to content

Commit

Permalink
Install same eventing-core version as EKB
Browse files Browse the repository at this point in the history
  • Loading branch information
creydr committed Feb 22, 2024
1 parent 2cc3b36 commit 6af9ba8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions openshift/e2e-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ function timeout() {
}

function install_serverless() {
ekb_tag="$(yq r openshift/project.yaml project.tag)"

header "Installing Serverless Operator"

cat <<EOF | oc apply -f -
Expand All @@ -76,6 +78,10 @@ EOF

local operator_dir=/tmp/serverless-operator
git clone --branch main https://github.com/openshift-knative/serverless-operator.git $operator_dir

# use same eventing-core version as for EKB
yq w --inplace "${operator_dir}/olm-catalog/serverless-operator/project.yaml" 'dependencies.eventing' "${ekb_tag}"

export GOPATH=/tmp/go
local failed=0
pushd $operator_dir || return $?
Expand Down

0 comments on commit 6af9ba8

Please sign in to comment.