odo link and odo unlink write to devfile without deploying to cluster (#4819)

* Do not deploy sbr at `odo link` time, save it in devfile

* Changelog

* Fix remove duplicates

* Do not set owner references again

* Fix wait for pod terminating

* Simplify env vars deduplication

* Add comment

* Dont use oc

* link type

* fix

* Fix spinner

* Fix tests

* Fic error message for link/unlink

* Review

* No spinner
This commit is contained in:
Philippe Martin
2021-07-01 12:43:24 +02:00
committed by GitHub
parent f4c4865a3a
commit 843e520f6b
16 changed files with 613 additions and 307 deletions

View File

@@ -344,7 +344,7 @@ openshiftci-presubmit-unittests:
.PHONY: test-operator-hub
test-operator-hub: ## Run OperatorHub tests
$(RUN_GINKGO) $(GINKGO_FLAGS) -focus="odo service command tests" tests/integration/operatorhub/
$(RUN_GINKGO) $(GINKGO_FLAGS) tests/integration/operatorhub/
.PHONY: test-cmd-devfile-describe
test-cmd-devfile-describe: