Skip to content

Commit

Permalink
MIFOS-6056: Removed execution of rollback scripts during deployment o…
Browse files Browse the repository at this point in the history
…n test servers
  • Loading branch information
pawelreise committed May 13, 2013
1 parent 0d68cb4 commit 19e6dc5
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions resources/continuous-integration/deploy.sh
Expand Up @@ -10,15 +10,11 @@ dbProperties=$WORKSPACE/db/target/release/db/mifos-db.properties
dbPropertiesTemplate=$WORKSPACE/db/target/release/db/mifos-db-template.properties
expandScript=$WORKSPACE/db/target/release/db/bin/expand_db.sh
contractScript=$WORKSPACE/db/target/release/db/bin/contract_db.sh
undoExpandScript=$WORKSPACE/db/target/release/db/bin/undo_expand_db.sh
undoContractScript=$WORKSPACE/db/target/release/db/bin/undo_contract_db.sh
liquibaseScript=$WORKSPACE/db/target/release/db/bin/liquibase.sh

chmod +x $controlScript
chmod +x $expandScript
chmod +x $contractScript
chmod +x $undoExpandScript
chmod +x $undoContractScript
chmod +x $liquibaseScript

function cUrl {
Expand Down Expand Up @@ -71,20 +67,9 @@ function doContraction {
$contractScript
}


function doRollbackExpansion {
$undoExpandScript 1970-07-07T00:00:00
}

function doRollbackContraction {
$undoContractScript 1970-07-07T00:00:00
}

# Test the previous version of application against new db
stopJetty
updateDbProperties
doRollbackContraction
doRollbackExpansion
doExpansion
startJetty
cUrl
Expand Down

0 comments on commit 19e6dc5

Please sign in to comment.