Skip to content

Commit

Permalink
Update 6.4 build for new repo configs and increase the timeout needed…
Browse files Browse the repository at this point in the history
… to clean up after patching (#49)
  • Loading branch information
luck3y committed Jan 16, 2019
1 parent 0358caf commit d5382d4
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
6 changes: 6 additions & 0 deletions container.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
compose:
pulp_repos: true
platforms:
only:
- x86_64

5 changes: 5 additions & 0 deletions content_sets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ppc64le:
- rhel-7-server-for-power-le-rhscl-rpms
- rhel-7-for-power-le-rpms
x86_64:
- rhel-7-server-rpms
8 changes: 5 additions & 3 deletions image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ from: "rhel7:7-released"
labels:
- name: "com.redhat.component"
value: "jboss-eap-6-eap64-container"

packages:
repositories:
- name: base
id: rhel-7-server-rpms
content_sets_file: content_sets.yml

modules:
repositories:
- name: cct_module
Expand All @@ -23,6 +23,8 @@ modules:
version: "8"
- name: eap-6.4-latest
osbs:
configuration:
container_file: container.yaml
repository:
name: containers/jboss-eap-6
branch: jb-eap-6.4-rhel-7
4 changes: 2 additions & 2 deletions modules/eap/install-cleanup/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ function aggregate_patched_modules {
sleep 5
done

timeout 30 $JBOSS_HOME/bin/jboss-cli.sh --connect --command="/core-service=patching:ageout-history"
timeout 30 $JBOSS_HOME/bin/jboss-cli.sh --connect --command="shutdown"
timeout 180 $JBOSS_HOME/bin/jboss-cli.sh --connect --command="/core-service=patching:ageout-history"
timeout 180 $JBOSS_HOME/bin/jboss-cli.sh --connect --command="shutdown"

# give it a moment to settle
for i in $(seq 1 10); do
Expand Down

0 comments on commit d5382d4

Please sign in to comment.