-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
odo list
#5405
Comments
@kadel When you describe:
Are you talking about this scenario? $ odo list --path
Components in the "mynamspace" namespace:
NAME TYPE MANAGED BY RUNNING IN PATH
* frontend nodejs odo Dev,Deploy ~/frontend
backend springboot odo Deploy ~/backend
created-by-odc python Unknown Unknown Like.. is |
But there's no column for namespace in the example
I'm pretty sure it's the latter - |
@kadel What do you suggest for keeping track if a deployment is in "Dev" or "Deploy" mode, perhaps a label when you deploy? |
Originally this command had a lot more flags like |
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh ~/nodejs ▶ odo list NAME TYPE MODE MANAGED URLS PORTS STATUS AGE * nodejs-prj1-api-abhz nodejs devfile.yaml odo Not Pushed foo nodejs Dev odo http://foobar.k8s.land 3000 Running 2m15s digitalocean-dyndns <unknown> <unknown> Helm Running 17d duplicati <unknown> <unknown> Helm https://duplicati.k8s.land 8200 Running 37d hass <unknown> <unknown> Helm https://hass.k8s.land 8123 Running 17d hostpath-provisioner <unknown> <unknown> Helm Running 37d syncthing <unknown> <unknown> Helm https://syncthing.k8s.land 21027, 22000, 8384 Running 39d ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [ ] Unit test - [ ] Integration test - [ ] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/odo-devfiles/nodejs-ex cd nodejs-ex odo create nodejs test odo push odo list ```
It has been implemented like so: ▶ odo list
NAME TYPE MODE MANAGED URLS PORTS STATUS AGE
digitalocean-dyndns <unknown> <unknown> Helm Running 22d
duplicati <unknown> <unknown> Helm https://duplicati.k8s.land 8200 Running 42d
hass <unknown> <unknown> Helm https://hass.k8s.land 8123 Running 22d
hostpath-provisioner <unknown> <unknown> Helm Running 42d
syncthing <unknown> <unknown> Helm https://syncthing.k8s.land 21027, 22000, 8384 Running 44d Currently I am working my way through tests to make sure that it works correctly 👍 |
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh ~/nodejs ▶ odo list NAME TYPE MODE MANAGED URLS PORTS STATUS AGE * nodejs-prj1-api-abhz nodejs devfile.yaml odo Not Pushed foo nodejs Dev odo http://foobar.k8s.land 3000 Running 2m15s digitalocean-dyndns <unknown> <unknown> Helm Running 17d duplicati <unknown> <unknown> Helm https://duplicati.k8s.land 8200 Running 37d hass <unknown> <unknown> Helm https://hass.k8s.land 8123 Running 17d hostpath-provisioner <unknown> <unknown> Helm Running 37d syncthing <unknown> <unknown> Helm https://syncthing.k8s.land 21027, 22000, 8384 Running 39d ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [ ] Unit test - [ ] Integration test - [ ] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/odo-devfiles/nodejs-ex cd nodejs-ex odo create nodejs test odo push odo list ```
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh ~/nodejs ▶ odo list NAME TYPE MODE MANAGED URLS PORTS STATUS AGE * nodejs-prj1-api-abhz nodejs devfile.yaml odo Not Pushed foo nodejs Dev odo http://foobar.k8s.land 3000 Running 2m15s digitalocean-dyndns <unknown> <unknown> Helm Running 17d duplicati <unknown> <unknown> Helm https://duplicati.k8s.land 8200 Running 37d hass <unknown> <unknown> Helm https://hass.k8s.land 8123 Running 17d hostpath-provisioner <unknown> <unknown> Helm Running 37d syncthing <unknown> <unknown> Helm https://syncthing.k8s.land 21027, 22000, 8384 Running 39d ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [ ] Unit test - [ ] Integration test - [ ] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/odo-devfiles/nodejs-ex cd nodejs-ex odo create nodejs test odo push odo list ```
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh ~/nodejs ▶ odo list NAME TYPE MODE MANAGED URLS PORTS STATUS AGE * nodejs-prj1-api-abhz nodejs devfile.yaml odo Not Pushed foo nodejs Dev odo http://foobar.k8s.land 3000 Running 2m15s digitalocean-dyndns <unknown> <unknown> Helm Running 17d duplicati <unknown> <unknown> Helm https://duplicati.k8s.land 8200 Running 37d hass <unknown> <unknown> Helm https://hass.k8s.land 8123 Running 17d hostpath-provisioner <unknown> <unknown> Helm Running 37d syncthing <unknown> <unknown> Helm https://syncthing.k8s.land 21027, 22000, 8384 Running 39d ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [ ] Unit test - [ ] Integration test - [ ] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/odo-devfiles/nodejs-ex cd nodejs-ex odo create nodejs test odo push odo list ```
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh ~/nodejs ▶ odo list NAME TYPE MODE MANAGED URLS PORTS STATUS AGE * nodejs-prj1-api-abhz nodejs devfile.yaml odo Not Pushed foo nodejs Dev odo http://foobar.k8s.land 3000 Running 2m15s digitalocean-dyndns <unknown> <unknown> Helm Running 17d duplicati <unknown> <unknown> Helm https://duplicati.k8s.land 8200 Running 37d hass <unknown> <unknown> Helm https://hass.k8s.land 8123 Running 17d hostpath-provisioner <unknown> <unknown> Helm Running 37d syncthing <unknown> <unknown> Helm https://syncthing.k8s.land 21027, 22000, 8384 Running 39d ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [ ] Unit test - [ ] Integration test - [ ] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/odo-devfiles/nodejs-ex cd nodejs-ex odo create nodejs test odo push odo list ```
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh ~/nodejs ▶ odo list NAME TYPE MODE MANAGED URLS PORTS STATUS AGE * nodejs-prj1-api-abhz nodejs devfile.yaml odo Not Pushed foo nodejs Dev odo http://foobar.k8s.land 3000 Running 2m15s digitalocean-dyndns <unknown> <unknown> Helm Running 17d duplicati <unknown> <unknown> Helm https://duplicati.k8s.land 8200 Running 37d hass <unknown> <unknown> Helm https://hass.k8s.land 8123 Running 17d hostpath-provisioner <unknown> <unknown> Helm Running 37d syncthing <unknown> <unknown> Helm https://syncthing.k8s.land 21027, 22000, 8384 Running 39d ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [ ] Unit test - [ ] Integration test - [ ] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/odo-devfiles/nodejs-ex cd nodejs-ex odo create nodejs test odo push odo list ```
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh ~/nodejs ▶ odo list NAME TYPE MODE MANAGED URLS PORTS STATUS AGE * nodejs-prj1-api-abhz nodejs devfile.yaml odo Not Pushed foo nodejs Dev odo http://foobar.k8s.land 3000 Running 2m15s digitalocean-dyndns <unknown> <unknown> Helm Running 17d duplicati <unknown> <unknown> Helm https://duplicati.k8s.land 8200 Running 37d hass <unknown> <unknown> Helm https://hass.k8s.land 8123 Running 17d hostpath-provisioner <unknown> <unknown> Helm Running 37d syncthing <unknown> <unknown> Helm https://syncthing.k8s.land 21027, 22000, 8384 Running 39d ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [ ] Unit test - [ ] Integration test - [ ] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/odo-devfiles/nodejs-ex cd nodejs-ex odo create nodejs test odo push odo list ```
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh ~/nodejs ▶ odo list NAME TYPE MODE MANAGED URLS PORTS STATUS AGE * nodejs-prj1-api-abhz nodejs devfile.yaml odo Not Pushed foo nodejs Dev odo http://foobar.k8s.land 3000 Running 2m15s digitalocean-dyndns <unknown> <unknown> Helm Running 17d duplicati <unknown> <unknown> Helm https://duplicati.k8s.land 8200 Running 37d hass <unknown> <unknown> Helm https://hass.k8s.land 8123 Running 17d hostpath-provisioner <unknown> <unknown> Helm Running 37d syncthing <unknown> <unknown> Helm https://syncthing.k8s.land 21027, 22000, 8384 Running 39d ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [ ] Unit test - [ ] Integration test - [ ] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/odo-devfiles/nodejs-ex cd nodejs-ex odo create nodejs test odo push odo list ```
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh ~/nodejs ▶ odo list NAME TYPE MODE MANAGED URLS PORTS STATUS AGE * nodejs-prj1-api-abhz nodejs devfile.yaml odo Not Pushed foo nodejs Dev odo http://foobar.k8s.land 3000 Running 2m15s digitalocean-dyndns <unknown> <unknown> Helm Running 17d duplicati <unknown> <unknown> Helm https://duplicati.k8s.land 8200 Running 37d hass <unknown> <unknown> Helm https://hass.k8s.land 8123 Running 17d hostpath-provisioner <unknown> <unknown> Helm Running 37d syncthing <unknown> <unknown> Helm https://syncthing.k8s.land 21027, 22000, 8384 Running 39d ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [ ] Unit test - [ ] Integration test - [ ] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/odo-devfiles/nodejs-ex cd nodejs-ex odo create nodejs test odo push odo list ```
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh ~/nodejs ▶ odo list NAME TYPE MODE MANAGED URLS PORTS STATUS AGE * nodejs-prj1-api-abhz nodejs devfile.yaml odo Not Pushed foo nodejs Dev odo http://foobar.k8s.land 3000 Running 2m15s digitalocean-dyndns <unknown> <unknown> Helm Running 17d duplicati <unknown> <unknown> Helm https://duplicati.k8s.land 8200 Running 37d hass <unknown> <unknown> Helm https://hass.k8s.land 8123 Running 17d hostpath-provisioner <unknown> <unknown> Helm Running 37d syncthing <unknown> <unknown> Helm https://syncthing.k8s.land 21027, 22000, 8384 Running 39d ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [ ] Unit test - [ ] Integration test - [ ] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/odo-devfiles/nodejs-ex cd nodejs-ex odo create nodejs test odo push odo list ```
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Dev:-odo-Dev-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Dev:-Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/Pull-Requests:-Review-guideline Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Documentation:-Contributing --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature /kind cleanup **What does this PR do / why we need it:** In this PR we: * Correctly name all the labels in a more concise manner (ex. Project Type is an annotation) * Add Dev and Deploy mode labels to both `odo dev` and `odo deploy` commands so that we can intuitively retrieve what components are in deploy or dev mode * Somewhat refactors how we do labeling **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> 1/2 of PR's for redhat-developer#5405 **PR acceptance criteria:** - [X] Unit test - [X] Integration test - [X] Documentation **How to test changes / Special notes to the reviewer:** N/A Signed-off-by: Charlie Drage <[email protected]>
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Dev:-odo-Dev-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Dev:-Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/Pull-Requests:-Review-guideline Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Documentation:-Contributing --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature /kind cleanup **What does this PR do / why we need it:** In this PR we: * Correctly name all the labels in a more concise manner (ex. Project Type is an annotation) * Add Dev and Deploy mode labels to both `odo dev` and `odo deploy` commands so that we can intuitively retrieve what components are in deploy or dev mode * Somewhat refactors how we do labeling **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> 1/2 of PR's for redhat-developer#5405 **PR acceptance criteria:** - [X] Unit test - [X] Integration test - [X] Documentation **How to test changes / Special notes to the reviewer:** N/A Signed-off-by: Charlie Drage <[email protected]>
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Dev:-odo-Dev-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Dev:-Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/Pull-Requests:-Review-guideline Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Documentation:-Contributing --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature /kind cleanup **What does this PR do / why we need it:** In this PR we: * Correctly name all the labels in a more concise manner (ex. Project Type is an annotation) * Add Dev and Deploy mode labels to both `odo dev` and `odo deploy` commands so that we can intuitively retrieve what components are in deploy or dev mode * Somewhat refactors how we do labeling **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> 1/2 of PR's for redhat-developer#5405 **PR acceptance criteria:** - [X] Unit test - [X] Integration test - [X] Documentation **How to test changes / Special notes to the reviewer:** N/A Signed-off-by: Charlie Drage <[email protected]>
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh NAME PROJECT TYPE RUNNING IN MANAGED deploy-test-app-2 nodejs Deploy odo deploy-test-app nodejs Deploy, Dev odo syncthing <unknown> <unknown> Helm ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster - Retrieves from the Kubernetes cluster *all* resources, then outputs all the ones that have the `instance` label, regardless if it is a `odo` component or not. **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [X] Unit test - [X] Integration test - [X] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/kadel/devfile-nodejs-deploy devfile cd devfile git checkout knative odo deploy odo list ```
…5551) * Add Dev and Project labeling / refactoring labeling and annotations <!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Dev:-odo-Dev-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Dev:-Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/Pull-Requests:-Review-guideline Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Documentation:-Contributing --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature /kind cleanup **What does this PR do / why we need it:** In this PR we: * Correctly name all the labels in a more concise manner (ex. Project Type is an annotation) * Add Dev and Deploy mode labels to both `odo dev` and `odo deploy` commands so that we can intuitively retrieve what components are in deploy or dev mode * Somewhat refactors how we do labeling **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> 1/2 of PR's for #5405 **PR acceptance criteria:** - [X] Unit test - [X] Integration test - [X] Documentation **How to test changes / Special notes to the reviewer:** N/A Signed-off-by: Charlie Drage <[email protected]> * Review update / renaming Signed-off-by: Charlie Drage <[email protected]> * Review changes. Adds tests for generateDeploymentObjectMeta. Changes labels Signed-off-by: Charlie Drage <[email protected]>
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh NAME PROJECT TYPE RUNNING IN MANAGED deploy-test-app-2 nodejs Deploy odo deploy-test-app nodejs Deploy, Dev odo syncthing <unknown> <unknown> Helm ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster - Retrieves from the Kubernetes cluster *all* resources, then outputs all the ones that have the `instance` label, regardless if it is a `odo` component or not. **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [X] Unit test - [X] Integration test - [X] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/kadel/devfile-nodejs-deploy devfile cd devfile git checkout knative odo deploy odo list ```
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh NAME PROJECT TYPE RUNNING IN MANAGED deploy-test-app-2 nodejs Deploy odo deploy-test-app nodejs Deploy, Dev odo syncthing <unknown> <unknown> Helm ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster - Retrieves from the Kubernetes cluster *all* resources, then outputs all the ones that have the `instance` label, regardless if it is a `odo` component or not. **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [X] Unit test - [X] Integration test - [X] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/kadel/devfile-nodejs-deploy devfile cd devfile git checkout knative odo deploy odo list ```
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh NAME PROJECT TYPE RUNNING IN MANAGED deploy-test-app-2 nodejs Deploy odo deploy-test-app nodejs Deploy, Dev odo syncthing <unknown> <unknown> Helm ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster - Retrieves from the Kubernetes cluster *all* resources, then outputs all the ones that have the `instance` label, regardless if it is a `odo` component or not. **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [X] Unit test - [X] Integration test - [X] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/kadel/devfile-nodejs-deploy devfile cd devfile git checkout knative odo deploy odo list ```
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh NAME PROJECT TYPE RUNNING IN MANAGED deploy-test-app-2 nodejs Deploy odo deploy-test-app nodejs Deploy, Dev odo syncthing <unknown> <unknown> Helm ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster - Retrieves from the Kubernetes cluster *all* resources, then outputs all the ones that have the `instance` label, regardless if it is a `odo` component or not. **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [X] Unit test - [X] Integration test - [X] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/kadel/devfile-nodejs-deploy devfile cd devfile git checkout knative odo deploy odo list ```
<!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Developer-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/PR-Review Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Contributing-to-Docs --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind cleanup /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature **What does this PR do / why we need it:** This redesigns the `odo list` functionality like so: ```sh NAME PROJECT TYPE RUNNING IN MANAGED deploy-test-app-2 nodejs Deploy odo deploy-test-app nodejs Deploy, Dev odo syncthing <unknown> <unknown> Helm ``` Changes: - Refactors components in component/component.go files - Implement changes so we rely less on the local environment files and more from retrieving from the cluster - Retrieves from the Kubernetes cluster *all* resources, then outputs all the ones that have the `instance` label, regardless if it is a `odo` component or not. **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> Fixes redhat-developer#5405 **PR acceptance criteria:** - [X] Unit test - [X] Integration test - [X] Documentation **How to test changes / Special notes to the reviewer:** ```sh git clone https://github.com/kadel/devfile-nodejs-deploy devfile cd devfile git checkout knative odo deploy odo list ```
…edhat-developer#5551) * Add Dev and Project labeling / refactoring labeling and annotations <!-- Thank you for opening a PR! Here are some things you need to know before submitting: 1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Dev:-odo-Dev-Guidelines 2. Label this PR accordingly with the '/kind' line 3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Dev:-Writing-and-running-tests 4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/Pull-Requests:-Review-guideline Documentation: If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Documentation:-Contributing --> **What type of PR is this:** <!-- Add one of the following kinds: /kind bug /kind tests /kind documentation Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well. --> /kind feature /kind cleanup **What does this PR do / why we need it:** In this PR we: * Correctly name all the labels in a more concise manner (ex. Project Type is an annotation) * Add Dev and Deploy mode labels to both `odo dev` and `odo deploy` commands so that we can intuitively retrieve what components are in deploy or dev mode * Somewhat refactors how we do labeling **Which issue(s) this PR fixes:** <!-- Specifying the issue will automatically close it when this PR is merged --> 1/2 of PR's for redhat-developer#5405 **PR acceptance criteria:** - [X] Unit test - [X] Integration test - [X] Documentation **How to test changes / Special notes to the reviewer:** N/A Signed-off-by: Charlie Drage <[email protected]> * Review update / renaming Signed-off-by: Charlie Drage <[email protected]> * Review changes. Adds tests for generateDeploymentObjectMeta. Changes labels Signed-off-by: Charlie Drage <[email protected]>
odo list
/kind user-story
User Story
Acceptance Criteria
odo list
should list every component running in the currently active namespace (as set inKUBECONFIG
--namespace
flagdevfile.yaml
)MANGAED BY
column that indicates what tool is "responsible" for the component.app.kubernetes.io/managed-by
label should be used to determine the tool.NAME
column that shows the name of the component \RUNNING IN
column that indicates in what modes the component is running.Dev
means the component is running in development mode (odo dev
).Deploy
indicates that the component is running in deploy mode (odo deploy
),None
means that the component is currently not running on cluster.Unknown
indicates that odo can't detect in what mode is component running.Unknown
will also be used for components that are running on the cluster but are not managed by odo.TYPE
column that corresponds to thelanguage
field indevfile.yaml
tools, this should also correspond toodo.dev/project-type
label.Deployment
which is not correct. This is especially true forodo deploy
example
The text was updated successfully, but these errors were encountered: