-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLOUD-2969 move to rhel7 base image; move product installation to mod…
…ules (#48) Signed-off-by: rcernich <[email protected]>
- Loading branch information
Showing
13 changed files
with
184 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
schema_version: 1 | ||
|
||
name: "eap-6.4-latest" | ||
description: "Red Hat JBoss Enterprise Application Platform 6.4 latest version install module" | ||
modules: | ||
install: | ||
- name: eap-6.4.21 | ||
- name: eap-install-cleanup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
SOURCES_DIR=/tmp/artifacts/ | ||
DISTRIBUTION_ZIP="jboss-eap-6.4.0.zip" | ||
EAP_VERSION="6.4" | ||
|
||
unzip -q $SOURCES_DIR/$DISTRIBUTION_ZIP | ||
mv jboss-eap-$EAP_VERSION $JBOSS_HOME | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
schema_version: 1 | ||
|
||
name: "eap-6.4.0" | ||
description: "Red Hat JBoss Enterprise Application Platform 6.4.0 install" | ||
labels: | ||
- name: "org.jboss.product" | ||
value: "eap" | ||
- name: "org.jboss.product.version" | ||
value: "6.4.0.GA" | ||
- name: "org.jboss.product.eap.version" | ||
value: "6.4.0.GA" | ||
- name: "org.jboss.deployments-dir" | ||
value: "/opt/eap/standalone/deployments" | ||
- name: "com.redhat.deployments-dir" | ||
value: "/opt/eap/standalone/deployments" | ||
- name: "com.redhat.dev-mode" | ||
value: "DEBUG:true" | ||
description: "Environment variable used to enable development mode (debugging). A value of true will enable development mode." | ||
- name: "com.redhat.dev-mode.port" | ||
value: "DEBUG_PORT:8787" | ||
description: "Environment variable used to specify the debug port. If not set, the default EAP debug port will be used (8787). Only applicable when development mode is enabled." | ||
envs: | ||
- name: "LAUNCH_JBOSS_IN_BACKGROUND" | ||
value: "true" | ||
- name: "JBOSS_PRODUCT" | ||
value: "eap" | ||
- name: "JBOSS_EAP_VERSION" | ||
value: "6.4.0.GA" | ||
- name: "PRODUCT_VERSION" | ||
value: "6.4.0.GA" | ||
- name: "JBOSS_HOME" | ||
value: "/opt/eap" | ||
- name: "DEBUG" | ||
example: "true" | ||
description: "Specify true to enable development mode (debugging)." | ||
- name: "DEBUG_PORT" | ||
example: "8787" | ||
description: "Specify the port to use for debugging. If not set, the default EAP debug port will be used (8787). Only applicable when development mode is enabled." | ||
ports: | ||
- value: 8080 | ||
- value: 8787 | ||
expose: false | ||
artifacts: | ||
- path: jboss-eap-6.4.0.zip | ||
description: "Artifact is available on Customer Portal: https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=37393&product=appplatform&version=6.4&downloadType=distributions" | ||
md5: 9a5d37631919a111ddf42ceda1a9f0b5 | ||
run: | ||
user: 185 | ||
cmd: | ||
- "/opt/eap/bin/standalone.sh" | ||
- "-b" | ||
- "0.0.0.0" | ||
execute: | ||
- script: install.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
SOURCES_DIR=/tmp/artifacts/ | ||
|
||
$JBOSS_HOME/bin/jboss-cli.sh --command="patch apply $SOURCES_DIR/jboss-eap-6.4.19-patch.zip" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
schema_version: 1 | ||
|
||
name: "eap-6.4.19" | ||
description: "Red Hat JBoss Enterprise Application Platform 6.4.19 patch upgrade" | ||
labels: | ||
- name: "org.jboss.product.version" | ||
value: "6.4.19.GA" | ||
- name: "org.jboss.product.eap.version" | ||
value: "6.4.19.GA" | ||
envs: | ||
- name: "JBOSS_EAP_VERSION" | ||
value: "6.4.19.GA" | ||
- name: "PRODUCT_VERSION" | ||
value: "6.4.19.GA" | ||
artifacts: | ||
- path: jboss-eap-6.4.19-patch.zip | ||
sha256: 02d46374ef3fa226655a29216fa9d95b379c1037a4dc3c5d1b23869495ff6ebc | ||
modules: | ||
install: | ||
- name: eap-6.4.9 | ||
execute: | ||
- script: install.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
SOURCES_DIR=/tmp/artifacts/ | ||
|
||
$JBOSS_HOME/bin/jboss-cli.sh --command="patch apply $SOURCES_DIR/jboss-eap-6.4.21-patch.zip" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
schema_version: 1 | ||
|
||
name: "eap-6.4.21" | ||
description: "Red Hat JBoss Enterprise Application Platform 6.4.21 patch upgrade" | ||
labels: | ||
- name: "org.jboss.product.version" | ||
value: "6.4.21.GA" | ||
- name: "org.jboss.product.eap.version" | ||
value: "6.4.21.GA" | ||
envs: | ||
- name: "JBOSS_EAP_VERSION" | ||
value: "6.4.21.GA" | ||
- name: "PRODUCT_VERSION" | ||
value: "6.4.21.GA" | ||
artifacts: | ||
- path: jboss-eap-6.4.21-patch.zip | ||
md5: 70876697dc6b8022c3981bcec91820fb | ||
modules: | ||
install: | ||
- name: eap-6.4.19 | ||
execute: | ||
- script: install.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
SOURCES_DIR=/tmp/artifacts/ | ||
|
||
$JBOSS_HOME/bin/jboss-cli.sh --command="patch apply $SOURCES_DIR/jboss-eap-6.4.9-patch.zip" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
schema_version: 1 | ||
|
||
name: "eap-6.4.9" | ||
description: "Red Hat JBoss Enterprise Application Platform 6.4.9 patch upgrade" | ||
labels: | ||
- name: "org.jboss.product.version" | ||
value: "6.4.9.GA" | ||
- name: "org.jboss.product.eap.version" | ||
value: "6.4.9.GA" | ||
envs: | ||
- name: "JBOSS_EAP_VERSION" | ||
value: "6.4.9.GA" | ||
- name: "PRODUCT_VERSION" | ||
value: "6.4.9.GA" | ||
artifacts: | ||
- path: jboss-eap-6.4.9-patch.zip | ||
md5: fdc6cd3bf51ba2714b98de2923266537 | ||
modules: | ||
install: | ||
- name: eap-6.4.0 | ||
execute: | ||
- script: install.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
schema_version: 1 | ||
|
||
name: "eap-install-cleanup" | ||
description: "Cleans up filesystem after EAP installation and upgrades." | ||
execute: | ||
- script: install.sh |
This file was deleted.
Oops, something went wrong.