Add info about starting a workspace from raw devfile location#2566
Add info about starting a workspace from raw devfile location#2566deerskindoll merged 9 commits intomainfrom
Conversation
|
🎊 Navigate the preview: https://6400b0485c4ffa2040c064c2--eclipse-che-docs-pr.netlify.app 🎊 |
|
@deerskindoll @max-cx Could you please help with the |
checking. |
modules/end-user-guide/pages/starting-a-new-workspace-from-a-devfile-url.adoc
Show resolved
Hide resolved
|
@vinokurig, I've just fixed it with c90f061. |
modules/end-user-guide/pages/starting-a-new-workspace-from-a-devfile-url.adoc
Outdated
Show resolved
Hide resolved
| ==== | ||
| You can pass Personal Access Token to the URL to have access to private repositories: | ||
| [source,subs="+quotes,+attributes,+macros"] | ||
| ---- | ||
| pass:c,a,q[{prod-url}]#__https://__<token>__@__<host>__/__<path> <1> | ||
| ---- | ||
| <1> See xref:using-a-git-provider-access-token.adoc[]. | ||
|
|
||
| This works for GitHub, GitLab, Bitbucket, Microsoft Azure, and other providers that support Personal Access Token. | ||
| ==== |
There was a problem hiding this comment.
great job @vinokurig 👍 smth. we discussed with @l0rd today that the PAT in URL feature really shines when we use it together with the remotes attribute ?remotes={<git-repo-url>} and configured SSH key:
- user has a private repo with devfile hosted on some unsupported provider e.g. gogs
- user configures ssh key for this provider
- user starts workspace using the URL with token for basic auth and remote attribute:
pass:c,a,q[{prod-url}]#__https://__<token>__@__<host>__/__<path>?remotes={<git-repo-url>}
- SUCCESS: che server resolves devfile + project is cloned (using ssh) correctly after workspace startup
I believe we can document this in a separate PR and introduce dedicated section in the docs as part of eclipse-che/che#21951
|
@max-cx @deerskindoll thank you for the can we merge the PR now? |
modules/end-user-guide/pages/starting-a-new-workspace-from-a-devfile-url.adoc
Outdated
Show resolved
Hide resolved
modules/end-user-guide/pages/starting-a-new-workspace-from-a-devfile-url.adoc
Outdated
Show resolved
Hide resolved
…evfile-url.adoc Co-authored-by: Max Leonov <mleonov@redhat.com>
…evfile-url.adoc Co-authored-by: Max Leonov <mleonov@redhat.com>
deerskindoll
left a comment
There was a problem hiding this comment.
a couple of suggestions
modules/end-user-guide/pages/starting-a-new-workspace-from-a-devfile-url.adoc
Outdated
Show resolved
Hide resolved
modules/end-user-guide/pages/starting-a-new-workspace-from-a-devfile-url.adoc
Outdated
Show resolved
Hide resolved
modules/end-user-guide/pages/starting-a-new-workspace-from-a-devfile-url.adoc
Outdated
Show resolved
Hide resolved
modules/end-user-guide/pages/starting-a-new-workspace-from-a-devfile-url.adoc
Outdated
Show resolved
Hide resolved
…evfile-url.adoc Co-authored-by: Jana Vrbkova <jvrbkova@redhat.com>
…evfile-url.adoc Co-authored-by: Jana Vrbkova <jvrbkova@redhat.com>
…evfile-url.adoc Co-authored-by: Jana Vrbkova <jvrbkova@redhat.com>
…evfile-url.adoc Co-authored-by: Jana Vrbkova <jvrbkova@redhat.com>
Co-authored-by: Max Leonov <mleonov@redhat.com> Co-authored-by: Jana Vrbkova <jvrbkova@redhat.com>
What does this pull request change?
Add info about starting a workspace from raw devfile location
What issues does this pull request fix or reference?
eclipse-che/che#21998
Specify the version of the product this pull request applies to
7.60
Pull Request checklist
The author and the reviewers validate the content of this pull request with the following checklist, in addition to the automated tests.
Validate language on files added or modifiedstep reports no vale warnings.