Skip to content

Commit

Permalink
Use wunderboss that supports messaging on WF10 [IMMUTANT-574]
Browse files Browse the repository at this point in the history
And build integs against WF10.
  • Loading branch information
tobias committed Aug 24, 2015
1 parent 9b2f0df commit d1f0e43
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 25 deletions.
45 changes: 21 additions & 24 deletions etc/bin/bees-ci-integ-build.sh
Expand Up @@ -11,41 +11,38 @@ DIR=$( cd "$( dirname "$0" )" && pwd )

WF8_VERSION="8.2.0.Final"
WF9_VERSION="9.0.1.Final"
WF10_VERSION="10.0.0.Beta2"

function install-wildfly {
mark "Installing WildFly ${WF8_VERSION}"
${DIR}/ci-prep-as.sh ${AS_DIR} wildfly ${WF8_VERSION}

mark "Installing WildFly ${WF9_VERSION}"
${DIR}/ci-prep-as.sh ${AS_DIR} wildfly ${WF9_VERSION}
mark "Installing WildFly $1"
${DIR}/ci-prep-as.sh ${AS_DIR} wildfly $1
}

cleanup
install-lein
setup-lein-profiles
install-wildfly

mark "Building SNAPSHOT without tests"
lein modules install
function run-tests {
install-wildfly $1

cd integration-tests
cd integration-tests

export JBOSS_HOME="${AS_DIR}/wildfly-${WF8_VERSION}"
export JBOSS_HOME="${AS_DIR}/wildfly-$1"

mark "Starting integs with ${WF8_VERSION}"
lein with-profile +integs all
mark "Starting integs with $1"
lein with-profile +integs all

mark "Starting cluster tests with ${WF8_VERSION}"
lein with-profile +cluster all
mark "Starting cluster tests with $1"
lein with-profile +cluster all

export JBOSS_HOME="${AS_DIR}/wildfly-${WF9_VERSION}"
cd -
}

mark "Starting integs with ${WF9_VERSION}"
lein with-profile +integs all
cleanup
install-lein
setup-lein-profiles

mark "Starting cluster tests with ${WF9_VERSION}"
lein with-profile +cluster all
mark "Building SNAPSHOT without tests"
lein modules install

cd -
run-tests ${WF8_VERSION}
run-tests ${WF9_VERSION}
run-tests ${WF10_VERSION}

mark "Done"
2 changes: 1 addition & 1 deletion project.clj
Expand Up @@ -92,7 +92,7 @@
environ "1.0.0"

;; org.projectodd.wunderboss "0.8.1"
org.projectodd.wunderboss "1.x.incremental.276"
org.projectodd.wunderboss "1.x.incremental.279"
;; org.projectodd.wunderboss "0.8.2-SNAPSHOT"

org.immutant :version
Expand Down

0 comments on commit d1f0e43

Please sign in to comment.