Skip to content

Commit b7d799a

Browse files
committed
Fix DNS issue
1 parent c20a9eb commit b7d799a

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.circleci/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ jobs:
1212
paths:
1313
- ~/.gradle
1414
key: ftgo-application-{{ checksum "build.gradle" }}
15-
- run: TERM=dumb ./build-and-test-all.sh
15+
- run:
16+
command: |
17+
export TERM=dumb
18+
. ./setenv-circle-ci.sh
19+
./build-and-test-all.sh
1620
- run:
1721
name: Save test results
1822
command: |

build-and-test-all.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ docker-compose up -d --build eventuate-local-cdc-service tram-cdc-service
2222

2323
docker-compose up -d --build
2424

25+
date
26+
2527
./wait-for-services.sh
2628

2729
./gradlew :ftgo-end-to-end-tests:cleanTest :ftgo-end-to-end-tests:test

setenv-circle-ci.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
# Host DNS name doesn't resolve in Docker alpine images
3+
4+
export DOCKER_HOST_IP=$(hostname -I | sed -e 's/ .*//g')

0 commit comments

Comments
 (0)