-
Notifications
You must be signed in to change notification settings - Fork 164
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
Using different artifact repositories in a restricted environment #1160
Conversation
@tsmaeder could you review, when you have time? If you want to see the preview of how it will look on the website, checkout into this branch locally and run the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is very hard to ascertain completeness of the doc in this form because it's so atomized. Maybe it's better to do reviews in long form and then convert it into the technically required form.
Couple of comments, as seen below.
Also: I have no way to test this documentation because we do not have the infrastructure (like the various artifact repositories and an air-gapped installation of Che/CRW readily available.
src/main/pages/che-7/end-user-guide/assembly_using-gradle-artifact-repositories.adoc
Outdated
Show resolved
Hide resolved
[id="defining-repositories-in-settings-xml_{context}"] | ||
= Defining repositories in `settings.xml` | ||
|
||
To use your own artifact repositories at `example.server.org`, you must modify the `settings.xml` file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
settings.xml is optional, so "modify" is not the correct term in most cases
To use your own artifact repositories at `example.server.org`, you must modify the `settings.xml` file. | ||
Ensure, that the `settings.xml` is present in all the containers that use Maven tools, in particular the Maven container and the Java plugin container. | ||
|
||
By default, `settings.xml` is located at the user home directory, but since user home directory is not on a persistent volume, each time you restart workplace, you must re-create the file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it's not: it's located in <home dir>/.m2
To use your own artifact repositories at `example.server.org`, you must modify the `settings.xml` file. | ||
Ensure, that the `settings.xml` is present in all the containers that use Maven tools, in particular the Maven container and the Java plugin container. | ||
|
||
By default, `settings.xml` is located at the user home directory, but since user home directory is not on a persistent volume, each time you restart workplace, you must re-create the file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"because the user home directory"
|
||
By default, `settings.xml` is located at the user home directory, but since user home directory is not on a persistent volume, each time you restart workplace, you must re-create the file. | ||
|
||
To make the file persist between the restarts of the workspace, create a directory `/projects/maven/.m2` and move the `settings.xml` file in it. Then set the value of the `user.home` Java system property to `/projects/maven` in all your Maven containers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This only makes sense as a workaround for issue eclipse-che/che#13318. If we don't mention why we're doing this workaround, folks will be confused.
|
||
Athens is a Go module datastore and proxy with many configuration options, it can be configured to act only as a module datastore and not as a proxy. An admin can upload their Go modules to the Athens datastore and have them available across their Go projects. If a project tries to access a Go module that is not in the Athens datastore, the Go build fails. | ||
|
||
* To work with Athens, configure the `GOPROXY` environment variable in the devfile of your Go container: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"CLI container". If people set it in the Go language sidecar, it has no effect.
src/main/pages/che-7/administration-guide/proc_using-npm-artifact-repositories.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/administration-guide/proc_using-npm-artifact-repositories.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/administration-guide/proc_using-npm-artifact-repositories.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/administration-guide/proc_using-npm-artifact-repositories.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/administration-guide/proc_using-npm-artifact-repositories.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/administration-guide/proc_using-npm-artifact-repositories.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/administration-guide/proc_using-npm-artifact-repositories.adoc
Outdated
Show resolved
Hide resolved
...s/che-7/end-user-guide/assembly_using-artifact-repositories-in-a-restricted-environment.adoc
Show resolved
Hide resolved
src/main/pages/che-7/end-user-guide/assembly_using-go-artifact-repositories.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/end-user-guide/assembly_using-go-artifact-repositories.adoc
Show resolved
Hide resolved
src/main/pages/che-7/end-user-guide/assembly_using-gradle-artifact-repositories.adoc
Show resolved
Hide resolved
src/main/pages/che-7/end-user-guide/assembly_using-gradle-artifact-repositories.adoc
Show resolved
Hide resolved
src/main/pages/che-7/end-user-guide/assembly_using-maven-artifact-repositories.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/end-user-guide/assembly_using-maven-artifact-repositories.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/end-user-guide/assembly_using-maven-artifact-repositories.adoc
Show resolved
Hide resolved
src/main/pages/che-7/end-user-guide/proc_using-self-signed-certificates-in-nuget-projects.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/end-user-guide/proc_using-self-signed-certificates-in-nuget-projects.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/end-user-guide/proc_using-self-signed-certificates-in-nuget-projects.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/end-user-guide/proc_using-self-signed-certificates-in-nuget-projects.adoc
Outdated
Show resolved
Hide resolved
src/main/pages/che-7/end-user-guide/proc_using-self-signed-certificates-in-python-projects.adoc
Outdated
Show resolved
Hide resolved
Co-Authored-By: Robert Krátký <rkratky@redhat.com>
I've addressed all of the comments. Will merge for now. Thank you.
What does this PR do?
What issues does this PR fix or reference?
Specify the version of the product this PR applies to.