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

Offline repo for on-prem - EAP, JWS #56

Merged
merged 2 commits into from Jul 1, 2019

Conversation

mramendi
Copy link
Owner

No description provided.


You do not need to complete this procedure if your {OPENSHIFT} environment is connected to the Internet.
You do not need to complete this procedure if your

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would make this a note.

ifndef::offline_onprem[]
{OPENSHIFT} environment
endif::offline_onprem[]
is connected to the Internet.

.Prerequisites

* A computer that has outgoing access to the public Internet.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prereqs must be sentences, so:
You have a computer....
or
A computer is available that has...
This is the one area that we make an exception for passive voice.

@@ -27,19 +50,22 @@ ifeval::["{context}"!="openshift-immutable"]
Alternatively, if you use a custom external repository (for example, Nexus) for your services, you can use the same repository as a mirror repository.
endif::[]
+
endif::offline_onprem[]
. On the computer that has an outgoing connection to the public Internet, complete the following steps:
.. Download the latest version of the http://release-engineering.github.io/offliner/[Offliner tool].
.. Download the `{PRODUCT_FILE}-offliner.txt` product deliverable file from the {PRODUCT_DOWNLOAD_LINK}[Software Downloads] page of the Red Hat Customer Portal.
.. Enter the following command to download the required artifacts using the Offliner tool:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enter the following command to use the Offliner tool to download the required artifacts.

. On the computer that has an outgoing connection to the public Internet, complete the following steps:
.. Download the latest version of the http://release-engineering.github.io/offliner/[Offliner tool].
.. Download the `{PRODUCT_FILE}-offliner.txt` product deliverable file from the {PRODUCT_DOWNLOAD_LINK}[Software Downloads] page of the Red Hat Customer Portal.
.. Enter the following command to download the required artifacts using the Offliner tool:
+
[subs="attributes,verbatim,macros"]
----
java -jar offliner-<version>.jar -r https://maven.repository.redhat.com/ga/ -d /home/user/temp rhpam-7.3.1-offliner.txt
java -jar offliner-<version>.jar -r https://maven.repository.redhat.com/ga/ -d /home/user/temp {PRODUCT_FILE}-offliner.txt
----
+
Replace `/home/user/temp` with an empty temporary directory on the computer and `<version>` with the version of the Offliner tool.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this example, replace...
Is 'on the computer' necessary? We are only working with one computer at the stage, right?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose that offliner-<version>.jar will be present in the next release download section. correct?
What surprised me is that you are suggesting to create the whole offline repo from scratch, instead of leveraging the existing one, e.g. Red Hat Process Automation Manager 7.3.1 Maven Repository.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Downloading the offliner tool is the previous step. And that repository does not contain all dependencies, nly the ones we make that's actually a minority.

@@ -51,4 +77,53 @@ mvn -e -DskipTests dependency:go-offline -f /path/to/project/pom.xml --batch-mod
+
Replace `/path/to/project/pom.xml` with the correct path to the `pom.xml` file of the project.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this example, replace...

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This a occurs a few times. Please search for.

@mramendi mramendi merged commit 3008988 into BXMSDOC-4347-master-final Jul 1, 2019
mramendi added a commit that referenced this pull request Jul 1, 2019
* Offline repo for on-prem - EAP, JWS

* Peer review
mramendi added a commit that referenced this pull request Jul 1, 2019
* Offline repo for on-prem - EAP, JWS

* Peer review
mramendi added a commit that referenced this pull request Jul 9, 2019
* Offline repo for on-prem - EAP, JWS

* Peer review
mramendi added a commit that referenced this pull request Jul 9, 2019
* Offline repo for on-prem - EAP, JWS

* Peer review
mramendi pushed a commit that referenced this pull request Mar 9, 2020
… properties doc per changes in RHDM/RHPAM 7.7 (#56) (apache#2237)

* BXMSDOC-5434-master: Added a new chapter Archetype management in the document.

* BXMSDOC-5434-master: Incorporated the changes on the basis of SME review.

* BXMSDOC-5434-master: Incorporated the changes on the basis on Peer and QE reviews.

* BXMSDOC-5434-master: Reverted the red icon changes as per QE review.
mramendi pushed a commit that referenced this pull request Mar 9, 2020
… properties doc per changes in RHDM/RHPAM 7.7 (#56) (apache#2238)

* BXMSDOC-5434-master: Added a new chapter Archetype management in the document.

* BXMSDOC-5434-master: Incorporated the changes on the basis of SME review.

* BXMSDOC-5434-master: Incorporated the changes on the basis on Peer and QE reviews.

* BXMSDOC-5434-master: Reverted the red icon changes as per QE review.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants