Skip to content

Commit

Permalink
BXMSDOC-3360 S2I only (#35) (apache#1295)
Browse files Browse the repository at this point in the history
  • Loading branch information
mramendi authored and sterobin committed Dec 17, 2018
1 parent 79a5276 commit 47573ac
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assemblies/assembly_openshift-immutable/main.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ ifdef::PAM[]
include::{enterprise-dir}/openshift/secrets-central-create-proc.adoc[leveloffset=+2]
include::{enterprise-dir}/openshift/glusterfs-reconfig-proc.adoc[leveloffset=+2]
endif::PAM[]
include::{enterprise-dir}/openshift/environment-immutable-source-extract-proc.adoc[leveloffset=+2]
include::{enterprise-dir}/openshift/offline-repo-proc.adoc[leveloffset=+2]
include::{enterprise-dir}/openshift/environment-immutable-con.adoc[leveloffset=+1]
ifdef::PAM[]
include::{enterprise-dir}/openshift/environment-immutable-monitoring-proc.adoc[leveloffset=+2]
endif::PAM[]
include::{enterprise-dir}/openshift/environment-immutable-source-extract-proc.adoc[leveloffset=+2]
include::{enterprise-dir}/openshift/environment-immutable-server-proc.adoc[leveloffset=+2]
include::{enterprise-dir}/openshift/environment-immutable-server-kjar-proc.adoc[leveloffset=+2]
include::{enterprise-dir}/openshift/rolemapping-proc.adoc[leveloffset=+2]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ endif::PAM[]
** *Maven repository password* (`MAVEN_REPO_PASSWORD`): The password for the Maven repository.
ifdef::PAM[]
+
. If your OpenShift environment does not have a connection to the public Internet, set the following parameter:
+
** *Maven mirror URL* (`MAVEN_MIRROR_URL`): The URL for the Maven mirror repository that you set up according to <<offline-repo-proc>>.
+
. If you want to use {LOCAL_CENTRAL} or Smart Router, set the parameters that were displayed in the sample command line after you deployed the monitoring infrastructure (see <<environment-immutable-monitoring-proc>>).
endif::PAM[]
+
Expand Down
14 changes: 14 additions & 0 deletions doc-content/enterprise-only/openshift/offline-repo-proc.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[id='offline-repo-proc']
= Preparing a Maven repository for offline use

If your {OPENSHIFT} environment does not have outgoing access to the public Internet, you must prepare a Maven repository with a mirror of all the necessary artifacts and make this repository available to your environment for use in source to image (S2I) builds.

Skip this procedure if your {OPENSHIFT} environment is connected to the Internet.

.Procedure

. Build the source of your services on any machine using the `mvn clean install` command.

. Copy the downloaded Maven artifacts from the machine onto an internal Maven repository (for example, Nexus).

. Make this repository available in your {OPENSHIFT} environment.

0 comments on commit 47573ac

Please sign in to comment.