Skip to content

Commit

Permalink
eventuate-tram#84: Build 627 failed. Order state is pending instead o…
Browse files Browse the repository at this point in the history
…f rejected. Added cdc restart after db id migration.
  • Loading branch information
dartartem committed Mar 26, 2021
1 parent 0e88b27 commit 4328778
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions _build-and-test-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ echo 'show dbs' | ./mongodb-cli.sh -i

./wait-for-services.sh localhost readers/${READER}/finished "8099"

compose="docker-compose -f docker-compose-${DATABASE}-${MODE}.yml "

$compose stop cdc-service
curl -s https://raw.githubusercontent.com/eventuate-foundation/eventuate-common/master/migration/db-id/migration.sh &> /dev/stdout | bash
$compose start cdc-service


${dockerall}Up -P envFile=docker-compose-env-files/db-id-gen.env
Expand Down
6 changes: 3 additions & 3 deletions docker-compose-postgres-wal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
build:
context: ./order-service/
args:
baseImageVersion: ${EVENTUATE_JAVA_BASE_IMAGE_VERSION?}
baseImageVersion: ${EVENTUATE_JAVA_BASE_IMAGE_VERSION}
image: eventuateexamples/eventuate-tram-examples-customers-and-orders-order-service
ports:
- "8081:8080"
Expand All @@ -30,7 +30,7 @@ services:
build:
context: ./customer-service/
args:
baseImageVersion: ${EVENTUATE_JAVA_BASE_IMAGE_VERSION?}
baseImageVersion: ${EVENTUATE_JAVA_BASE_IMAGE_VERSION}
image: eventuateexamples/eventuate-tram-examples-customers-and-orders-customer-service
ports:
- "8082:8080"
Expand All @@ -54,7 +54,7 @@ services:
build:
context: ./order-history-service/
args:
baseImageVersion: ${EVENTUATE_JAVA_BASE_IMAGE_VERSION?}
baseImageVersion: ${EVENTUATE_JAVA_BASE_IMAGE_VERSION}
image: eventuateexamples/eventuate-tram-examples-customers-and-orders-order-history-service
ports:
- "8083:8080"
Expand Down

0 comments on commit 4328778

Please sign in to comment.