419 Commits

Author SHA1 Message Date
Armel Soro
8c2c633755 Fix rpminspect specname inspection failure (#6241)
To anticipate the sunsetting of rpmdiff (replaced by rpminspect), this
makes sure that the odo RPM package passes rpminspect's inspections.
The only error reported at this time was about an invalid spec
filename.

```
specname:
---------
1) Spec filename does not exactly match the primary name odo; got
'openshift-odo.spec'

Result: BAD
Waiver Authorization: Not Waivable

Suggested Remedy: The spec file name does not match the expected
NAME.spec
format.  Rename the spec file to conform to this policy.
```

See
https://docs.google.com/document/d/1PolwQHoZzf0oeOUN1IK7T_NDRAay-nurwL0xYj2JuOo/edit#
for more details.
2022-11-02 10:40:41 -04:00
Philippe Martin
233c817c50 Bump odo to v3.2.0 (#6276) 2022-10-31 12:22:20 -04:00
Armel Soro
fb9a7138d5 Exclude the 'dist' folder from 'check-gofmt.sh' script (#6252)
The 'dist' folder is created when generating an RPM Package
using the `rpm-prepare.sh` and `rpm-local-build.sh` scripts,
and might contain Go files in `dist/rpmbuild/BUILD/**/vendor`.
2022-10-28 06:33:37 -04:00
Parthvi Vala
44fcb8c18d Cleanup PR/issue template and changelog generator script (#6219)
* Cleanup PR/issue labels and changelog generator script

* Use kind/documentation instead of area/documentation to sort out documentation related issues in a better way

* Revert "Use kind/documentation instead of area/documentation to sort out documentation related issues in a better way"

This reverts commit ed935b4e4e.
2022-10-24 04:35:22 -04:00
Dharmit Shah
d02770fa30 Bump odo to v3.1.0 (#6231)
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>

Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
2022-10-18 04:10:11 -04:00
Armel Soro
f26010864b Merge tag v3.0.0 2022-10-13 10:53:55 +02:00
Philippe Martin
e03b1e0a12 Move --var-file and --var as generic flags (#6201)
* Define --var-file and --var global flags

* Fix sync mock

* Fix comments

* odo deploy: Use variables from context

* Change FlagValuesIfSet with FlagValues
2022-10-10 13:54:37 +02:00
Armel Soro
8694f19469 Bump version to v3.0.0 (#6197) 2022-10-05 11:06:56 +02:00
Philippe Martin
49fdd17458 Fix postgreSQL image failing due to file permissions errors (#6190) 2022-10-04 17:34:35 +02:00
Philippe Martin
f78096d264 Refactor remotecmd (#6169)
* Remove kclient from interface / signatures

* Create Exec package

* Call ExecuteCommand with client

* Call ExecuteCommand with client from sync package

* Fix order of dependencies
2022-09-27 09:38:54 +02:00
Philippe Martin
2c0b2ee2a6 Refacto sync pkg (#6163)
* Rename interface to SyncExtracter

* Inline PushParameters fields into SyncParameters

* Move SyncParameters to sync package

* Move ComponentName as parameter to SyncFiles

* Move SyncAdapter as handler

* Build syncclient with dependency injection system

* Move ForcePush logic outside of sync package + remove unused ForceBuild option
2022-09-23 16:30:55 +02:00
Dharmit Shah
39a9a28747 Bump odo to v3.0.0-rc2 (#6137)
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>

Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
2022-09-20 16:20:57 +02:00
Parthvi Vala
886b14d69c Fix broken links to installation guide (#6117)
Signed-off-by: Parthvi Vala <pvala@redhat.com>

Signed-off-by: Parthvi Vala <pvala@redhat.com>
2022-09-13 17:57:24 +02:00
Philippe Martin
6788db4484 Bump to version 3.0.0-rc1 (#6064) 2022-08-30 04:37:37 -04:00
Philippe Martin
23d804c348 Update script to support alpha/beta/rc versions (#6063) 2022-08-30 03:56:34 -04:00
Anand Kumar Singh
39b8c7e4c2 fix flake and use operatorhub to install EDB (#6004)
* fix flake

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* fix flake

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* check if namespace is created

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* check if namespace without sercice is created

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2022-08-29 11:26:57 -04:00
Parthvi Vala
f4e96a4e3b Bump odo version to v3.0.0-beta3 (#6016) 2022-08-09 10:24:10 +00:00
Parthvi Vala
6fb5cc86b6 Add more checks to check-fit.sh (#6001)
Signed-off-by: Parthvi Vala <pvala@redhat.com>
2022-08-03 12:58:21 +00:00
Armel Soro
54f9bb075e Bump Alizer library to latest commit [1] (#5970)
[1] 59b004fd45

Signed-off-by: Armel Soro <asoro@redhat.com>
2022-07-23 09:40:46 +02:00
dependabot[bot]
d2c404c3f3 Go: Bump k8s.io/klog/v2 from 2.40.1 to 2.70.1 (#5953)
* Go: Bump k8s.io/klog/v2 from 2.40.1 to 2.70.1

Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog) from 2.40.1 to 2.70.1.
- [Release notes](https://github.com/kubernetes/klog/releases)
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes/klog/compare/v2.40.1...v2.70.1)

---
updated-dependencies:
- dependency-name: k8s.io/klog/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add 'k8s.io/klog/v2' upgrade to generate-mod.sh script

Signed-off-by: Armel Soro <asoro@redhat.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Armel Soro <asoro@redhat.com>
2022-07-22 16:31:00 +02:00
dependabot[bot]
6a46d91ed5 Go: Bump github.com/golang/mock from 1.5.0 to 1.6.0 (#5939)
* Go: Bump github.com/golang/mock from 1.5.0 to 1.6.0

Bumps [github.com/golang/mock](https://github.com/golang/mock) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/golang/mock/releases)
- [Changelog](https://github.com/golang/mock/blob/main/.goreleaser.yml)
- [Commits](https://github.com/golang/mock/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/golang/mock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add 'github.com/golang/mock' to generate-mod.sh script

* Add missing 'github.com/jedib0t/go-pretty/v6@v6.3.5' to generate-mod.sh script

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Armel Soro <asoro@redhat.com>
2022-07-22 11:26:36 +02:00
Philippe Martin
f4a860ec2e Install and use a reverse proxy for staging devfile registry (#5922)
* Kubernetes Manifests to deploy nginx reverse proxy for staging devfile registry

* Get the external address of the loadBalancer service for devfile proxy

* If DEVFILE_PROXY is defined, use it as Devfile registry

* Fix get address from Windows

* Add some log displaying proxy address found

* Filter requests on user agent

* Add Go-http-client user-agent

* Add doc
2022-07-20 11:31:25 +02:00
Armel Soro
c8e4458f49 Bump version to v3.0.0-beta2 (#5952) 2022-07-19 08:47:59 +00:00
Anand Kumar Singh
379b37f751 Sbo nightly test (#5946)
* run nightly sbo(master) tests against odo main

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* run nightly sbo(master) tests against odo main

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* remove startingCSV derective

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2022-07-18 13:01:08 +00:00
dependabot[bot]
d70d2e6221 Go: Bump github.com/fatih/color from 1.12.0 to 1.13.0 (#5925)
* Go: Bump github.com/fatih/color from 1.12.0 to 1.13.0

Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.12.0...v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add github.com/mattn/go-colorable@v0.1.9 to generate-mod.sh

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Philippe Martin <phmartin@redhat.com>
2022-07-18 10:16:14 +00:00
Anand Kumar Singh
c7f3f3b1d1 reduce test make targets, organize test file structure (#5931)
* reduce test make targets, organize test file structure

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* remove report collection

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2022-07-13 05:32:11 +00:00
dependabot[bot]
8865cec8ff Go: Bump github.com/posener/complete from 1.1.1 to 1.2.3 (#5924)
* Go: Bump github.com/posener/complete from 1.1.1 to 1.2.3

Bumps [github.com/posener/complete](https://github.com/posener/complete) from 1.1.1 to 1.2.3.
- [Release notes](https://github.com/posener/complete/releases)
- [Commits](https://github.com/posener/complete/compare/v1.1.1...v1.2.3)

---
updated-dependencies:
- dependency-name: github.com/posener/complete
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add github.com/posener/complete@v1.2.3 to generate-mod.sh

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Philippe Martin <phmartin@redhat.com>
2022-07-12 10:41:50 +00:00
dependabot[bot]
46e47a56c2 Go: Bump github.com/pborman/uuid from 1.2.0 to 1.2.1 (#5901)
* Go: Bump github.com/pborman/uuid from 1.2.0 to 1.2.1

Bumps [github.com/pborman/uuid](https://github.com/pborman/uuid) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/pborman/uuid/releases)
- [Commits](https://github.com/pborman/uuid/compare/v1.2...v1.2.1)

---
updated-dependencies:
- dependency-name: github.com/pborman/uuid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add github.com/pborman/uuid to generate-mod.sh script

This also sets it as a direct dependency of odo,
as we are using it.

* Pin github.com/openshift/oc and k8s.io/utils as direct dependencies in generate-mod.sh script

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Armel Soro <asoro@redhat.com>
2022-07-12 07:23:06 +00:00
Anand Kumar Singh
722020678f Migrate to ginkgo v2 (#5809)
* migrate to ginkgo v2 for tests

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* update to ginkgo/v2

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* update to ginkgo v2

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* use ginkgo binary for tests

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* update to ginkgo v2

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* remove GOFLAG while downloading ginkgo

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* remove FlakeAttempts from tests

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* use ginkgo v2.1.4

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* mod cleanup and use mod to run ginkgo

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* remove unnecessary goget-ginkgo from sctipt

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2022-07-06 10:31:01 +00:00
Philippe Martin
a0b0d0f3c1 Simplify pkg/devfile/adapters/... packages (#5914)
* Remove dependency on common.AdapterContext for sync.Adapter

* Simplify adapters.NewComponentAdapter

* NewComponentAdapter accepts kubernetes.KubernetesContext instead of interface{}

* Replace KubernetesContext with its only field Namespace

* Move the Push Interface and  builders to the kubernetes.component  package

* Move AdapterContext to kubernetes.component package

* Embeds component.New into NewKubernetesAdapter

* Move GetCommandsMap where it is used

* Move GetSyncFilesFromAttributes  where it is used

* Move constants where they are used

* Move types to adapters package

* Update pkg/devfile/adapters/kubernetes/component/adapter.go

Co-authored-by: Armel Soro <armel@rm3l.org>

Co-authored-by: Armel Soro <armel@rm3l.org>
2022-07-06 07:35:42 +00:00
Philippe Martin
ebdd3f063d Bump to version v3.0.0-beta1 (#5903) 2022-06-30 08:20:11 +00:00
Philippe Martin
a7fc6b7718 Install script for operators on Kubernetes + Activate tests with operators on Kubernetes cluster (#5861) 2022-06-23 09:29:10 +00:00
Parthvi Vala
ce3dc54335 Update OWNERS files (#5808)
* Update OWNERS files

* Update tests/OWNERS
2022-06-13 03:35:19 -04:00
Tomas Kral
abb12476cd bump version to v3.0.0-alpha3 (#5802) 2022-06-07 12:41:16 -04:00
Surender Yadav
fa2a1e0b14 Removed setup operator code block for s390x (#5761) 2022-05-25 03:03:29 -04:00
Mohammed Ahmed
fd3f168fc3 Bumping odo version to v3.0.0-alpha2 (#5745)
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
2022-05-16 15:51:17 +02:00
Parthvi Vala
6cf24bbc33 Create binding between devfile component and existing service (#5641)
* Skeleton for odo create binding

Signed-off-by: Parthvi Vala <pvala@redhat.com>

* Add logic

* Add functions to add data to devfile and create files

* Dharmit's review + make it work with <name>/<kind>.<apigroup>

Signed-off-by: Parthvi Vala <pvala@redhat.com>

* Add support for more formats

* Add integration tests and supporting helper functions

* create > add

* Add default ServiceBinding name

Signed-off-by: Parthvi Vala <pvala@redhat.com>

* Fix timeout, and move cli/add/binding.go to cli/add/binding/binding.go

Signed-off-by: Parthvi Vala <pvala@redhat.com>

* Update pkg/binding/binding.go

Co-authored-by: Philippe Martin <contact@elol.fr>

* Update pkg/binding/binding.go

Co-authored-by: Philippe Martin <contact@elol.fr>

* Update pkg/binding/interface.go

Co-authored-by: Philippe Martin <contact@elol.fr>

* Philippe's review

Signed-off-by: Parthvi Vala <pvala@redhat.com>

* Self review

Signed-off-by: Parthvi Vala <pvala@redhat.com>

* Fix unit test failure

* Philippe's review: round 2

* Tomas review; self review

Signed-off-by: Parthvi Vala <pvala@redhat.com>

* Fix windows test failure

* Randomize binding name for test

Co-authored-by: Philippe Martin <phmartin@redhat.com>
Co-authored-by: Philippe Martin <contact@elol.fr>
2022-05-12 15:05:17 +02:00
Anand Kumar Singh
098389b027 update go version to use go 1.17 (#5497)
* update go version to 1.17

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* update go version to 1.17 and fix failure

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2022-04-29 12:20:35 -04:00
Mohammed Ahmed
de1e8619ca Updating rpm scripts based on recommendations (#5685)
https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_handling_non_sorting_versions_with_tilde_dot_and_caret

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
2022-04-22 08:20:33 -04:00
Mohammed Ahmed
946385bc32 Bumping odo version to v3.0.0-alpha1 (#5677)
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
2022-04-20 08:35:57 -04:00
Philippe Martin
b8e6e5f112 odo alizer command (#5646)
* Cleanup v2 json output

* odo alizer command

* Doc

* review
2022-04-12 13:01:04 -04:00
Armel Soro
2132cb516f [#5561] Remove odo url (#5571)
* Remove `odo url` from CLI layer

* Adapt tests

* Adapt test from deleted `cmd_devfile_delete_test.go`

This test still makes sense, as it tests the removal
of URL-related resources, like Services and Ingresses.

* Remove call to `odo project set ...` in test, as suggested in review

This command will get removed in the near future.

* Remove places where URL manipulation could modify  Devfiles

Also remove dead code

* Remove unused `updateURL` field from EnvInfo struct

* Adapt test by mimicking some behavior that `odo url create` used to perform

`odo url` used to modify the `env.yaml` file,
and `odo dev` currently creates Kubernetes/OCP resources related to URLs.

We may remove this test later on if `odo dev`
no longer needs to create such Ingresses and Routes.

* Remove all places where URLs, Ingresses and Routes are manipulated

* Port test in cmd_dev_test instead and make sure no Ingress/Route is created

* Remove no-longer `test-cmd-devfile-url` target from Makefile

The corresponding test file has been deleted.

* Remove `create url` command reference from V3 docs, as suggested in review

* Use existing `devfile-with-multiple-endpoints.yaml` Devfile  in test, as suggested in review
2022-03-28 16:39:53 +02:00
Dharmit Shah
0396b435c3 Implements port forwarding for odo dev (#5526)
* First pass of port-forward for odo dev

* Supports forwarding multiple ports/endpoints

* Change message wording

* Port forwarding happens port 40001 onward

* Organize the code

* Integration tests

* Update the CLI help message

* Catch and check err

* Changes for failing unit tests

* Fix test and add newline to a message

* Remote label and use for loop

* Adds TODO to cleanup when port-forwarding fails

* Change messaging printed on the CLI

* Break Start method into multiple methods

* Set debug port while creating push parameters in dev

* Test after making a change to a file in pwd

* Refactoring to put things where they should be

* Notify user to run odo dev again if endpoints change

* Unit tests and rebase mistakes

* Add newline character for clear formatting

* Create business logic for reuse to find endpoints

* Fix unit and integration test failures

* Self review

* Changes based on Philippe's review

* Two more changes based on Philippe's review

* More changes based on PR review

* Changes based on PR feedback and more

- Renames all receivers in kclient package to `c`
- Adds mocks

* Removes unnecessary function

* Make function more generic for reuse

* Rename Options to DevOptions

* Address review comments by Tomas

* Fix failing unit test

* Modify message to restart odo dev

* Use helper.RunDevMode in odo dev tests

* Remove doubly imported log package

* Modifies clientset at CLI and business layer

- No need of KUBERNETES client for `odo dev` business layer.
- Added KUBERNETES client for `odo dev` CLI layer.

* Remove hardcoding of URL in tests

- It uses @feloy's work in PR #5570.

* Uses regexp to find strings.

* Makes FindAllMatchingStrings more generally usable

* Adds constant for localhost regex

* Replace matches with urls and remove unnecessary Sprintf

* Documents what urls is in RunDevMode function.

* Update tests/helper/helper_dev.go

Co-authored-by: Philippe Martin <contact@elol.fr>

* Update tests/helper/helper_dev.go

Co-authored-by: Philippe Martin <contact@elol.fr>

* Update tests/helper/helper_dev.go

Co-authored-by: Philippe Martin <contact@elol.fr>

* Update tests/helper/helper_dev.go

Co-authored-by: Philippe Martin <contact@elol.fr>

Co-authored-by: Philippe Martin <contact@elol.fr>
2022-03-25 15:14:13 +01:00
Tomas Kral
614976a0bf remove odo catalog command (#5577)
* remove odo catalog command

- move devfile registry relevant code to pkg/registry

* remove odo catalog page form docs

* remove a few forgotten uses of catalog from clientset.go

* fix typos in docs
2022-03-23 12:15:41 +01:00
Rodolfo Napoles
83f26da94d Reorganized test file directory structure (#5537)
* Rebased was required

* Replicated changes to  openshiftci related scripts to avoid test failure
2022-03-16 01:42:11 -04:00
Philippe Martin
daa9c61a41 odo delete component without a devfile (#5511)
* Namespace

* Get all resources with selector

* Delete resources

* Display errors

* Add start message

* Set correct labels for odo deploy

* Add unit tests

* Add integration tests

* Delete managed by odo only

* Fix rebase

* Review + small fixes

* AdD/fix logs
2022-03-10 05:44:18 -05:00
Dharmit Shah
f80207b029 Implements odo dev (#5441)
* Skeleton for odo dev and a unit test

* Update go mod for fsnotify

* Start method Pushes and then Watches

* More understandable code comments

* Client and interface for watch package

* Mocks for watch package

* Add CLI layer

* Fix infinite watch & push trigger

* Remove context flag from odo dev

* Add integration tests for odo dev

* Add klog to dev.go

* Replace errors.Wrap with fmt.Errorf

* Self review

* Removes `odo watch` command, but the business logic exists as it's
  used by odo dev
* Removes integration tests for `odo watch`
* Removes errors.go and types.go from pkg/dev/ since they are empty

* Check if error is not nil

* Use real client in watch unit tests

* Uncomment AfterEach from tests

* Modify the logs printed to stdout

* Changes based on Philippe's review

* Remove unused clients

* Parthvi's PR review and unit test fixes

* Fix gofmt message, remove message to not expect

* Fix lint complains, add mistakenly deleted URL creation logic

* Remove or modify tests that rely on odo push output

* Remove unused variables based on golangci-lint

* Fixes based on Philippe's review

* Initialize first index after first run of odo dev

* Modify odo dev test, and uncomment a mistake
2022-03-03 04:15:37 -05:00
Anand Kumar Singh
3eb92b6a47 POC for odo interactive testing (#5466)
* POC for odo interactive testing

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* add interactive tests to make target test-integration

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* [WIP] use func to pass test instructions

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* cleanup comments/test

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* cleanup minor changes

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* fix unit test failure

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* skip for windows

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* skip for windows by not compiling, cleanup

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* cleanup, and add the make target to test files

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* incorporate review, adding comments, cleanup

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* fix failing make validate

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* update test dependency, and possible fix for windows

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* Revert "update test dependency, and possible fix for windows"

This reverts commit 55580b7dc5.

* Final cleanup

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2022-03-02 13:50:26 -05:00
Philippe Martin
0e4e55bdd0 Deploy, Events without devfile/adapters (#5460)
* Execute devfile command

* Undeploy

* cleanup devfile/adapters

* refactor

* Move GetOnePod to component package

* Move DoesComponentExist and Log from devfile/adapter to component package

* Exec without devfile/adapters

* Move Delete from devfile/adapters to component

* Remove old Deploy code

* review

* Add tests for issue 5454

* Review
2022-02-23 03:48:52 -05:00
Philippe Martin
06ba84ec28 Refactor odo init to make parts reusable by odo dev/deploy (#5434)
* Init package

* Fix starter not found

* More unit tests

* More doc

* Review

* Determine backend upfront
2022-02-11 09:50:57 -05:00