File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export DOWNSTREAM_E2E_FLAGS := -count=1 -v
4545.PHONY : test-e2e
4646test-e2e : # # Run the e2e tests.
4747 $(DIR ) /operator-controller/build-test-registry.sh $(E2E_REGISTRY_NAMESPACE ) $(E2E_REGISTRY_NAME ) $(E2E_REGISTRY_IMAGE )
48- oc create route passthrough $(E2E_REGISTRY_NAME ) --service $(E2E_REGISTRY_NAME ) -n $(E2E_REGISTRY_NAMESPACE )
48+ # oc create route passthrough $(E2E_REGISTRY_NAME) --service $(E2E_REGISTRY_NAME) -n $(E2E_REGISTRY_NAMESPACE)
4949 cd $(DIR ) /../; \
5050 LOCAL_REGISTRY_HOST=$(shell oc get route $(E2E_REGISTRY_NAME ) -n $(E2E_REGISTRY_NAMESPACE ) -o jsonpath='{.spec.host}') \
5151 go test $(DOWNSTREAM_E2E_FLAGS ) ./test/e2e/features_test.go --godog.tags=" ~@mirrored-registry && ~@catalog-updates" --k8s.cli=oc
Original file line number Diff line number Diff line change @@ -118,3 +118,11 @@ spec:
118118EOF
119119
120120oc wait --for=condition=Complete -n " ${namespace} " " job/${name} -push" --timeout=60s
121+
122+ oc create route passthrough ${name} --service ${name} -n ${namespace}
123+
124+ until output=$( oc get route ${name} -n ${namespace} -o jsonpath=' {.spec.host}' ) && [[ -n " $output " ]]; do
125+ sleep 1
126+ done
127+
128+ oc get route ${name} -n ${namespace} -o yaml
You can’t perform that action at this time.
0 commit comments