Skip to content
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

Create workspace using a devfile #16722

Closed
svkr2k opened this issue Apr 22, 2020 · 3 comments
Closed

Create workspace using a devfile #16722

svkr2k opened this issue Apr 22, 2020 · 3 comments
Labels
kind/question Questions that haven't been identified as being feature requests or bugs. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@svkr2k
Copy link

svkr2k commented Apr 22, 2020

Hi all, please refer to the web page: https://www.eclipse.org/che/docs/che-7/configuring-a-workspace-using-a-devfile/

The above documentation shows an example of how to override the branch for the project:

https://che.openshift.io/f?url=https://gist.githubusercontent.com/themr0c/ef8e59a162748a8be07e900b6401e6a8/raw/8802c20743cde712bbc822521463359a60d1f7a9/devfile.yaml&override.projects.web-java-spring-petclinic.source.branch=1.0.x

Question #1: How can I override both location and branch of the project ?
Question #2: Also, do we need to use override for both adding or overriding devfile parameters ?
Question #3: How do we use tag instead of branch?

@svkr2k svkr2k added the kind/question Questions that haven't been identified as being feature requests or bugs. label Apr 22, 2020
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Apr 22, 2020
@davidfestal davidfestal added area/devfile and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Apr 22, 2020
@mshaposhnik
Copy link
Contributor

mshaposhnik commented Apr 23, 2020

Hello,

Question #1: How can I override both location and branch of the project ?

Just use 2 params:

&override.projects.web-java-spring-petclinic.source.branch=1.0.x
&override.projects.web-java-spring-petclinic.source.location=http://github.com/.../...

Question #2: Also, do we need to use override for both adding or overriding devfile parameters ?

Yes, both working the same way.

Question #3: How do we use tag instead of branch?

override.projects.web-java-spring-petclinic.source.tag=1.0.x should work.

Let me know if something is not working for you.

@svkr2k
Copy link
Author

svkr2k commented Apr 24, 2020

Thank you, @mshaposhnik , I shall try.

@che-bot
Copy link
Contributor

che-bot commented Oct 28, 2020

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

@che-bot che-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 28, 2020
@che-bot che-bot closed this as completed Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Questions that haven't been identified as being feature requests or bugs. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

4 participants