File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 40
40
- run : curl -LO "https://github.com/protocolbuffers/protobuf/releases/download/v22.2/protoc-22.2-linux-x86_64.zip"
41
41
- run : unzip protoc-22.2-linux-x86_64.zip -d /tmp/grpc
42
42
- run : echo "/tmp/grpc/bin" >> $GITHUB_PATH
43
- - run : curl -L "https://github.com/docker/compose/releases/download/v2.36./docker-compose-$(uname -s)-$(uname -m)" -o ./docker-compose
44
- - run : chmod 700 ./docker-compose
45
- - run : export PATH=$PWD:$PATH
46
43
# install project deps
47
44
- run : npm install
48
45
# run tests
Original file line number Diff line number Diff line change 35
35
- run : curl -LO "https://github.com/protocolbuffers/protobuf/releases/download/v22.2/protoc-22.2-linux-x86_64.zip"
36
36
- run : unzip protoc-22.2-linux-x86_64.zip -d /tmp/grpc
37
37
- run : echo "/tmp/grpc/bin" >> $GITHUB_PATH
38
- - run : curl -L "https://github.com/docker/compose/releases/download/v2.36./docker-compose-$(uname -s)-$(uname -m)" -o ./docker-compose
39
- - run : chmod 700 ./docker-compose
40
- - run : export PATH=$PWD:$PATH
41
38
- run : npm install
42
39
# run unit tests
43
40
- run : COHERENCE_VERSION=22.06.11 npm run test-cycle
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ echo ${TYPE}
16
16
17
17
function coh_up() {
18
18
echo " Starting test containers ..."
19
- DOCKER_REGISTRY=" ${REGISTRY} " COHERENCE_VERSION=" ${VERSION} " COHERENCE_TYPE=" ${TYPE} " docker compose -f etc/docker-compose-2-members.yaml up --force-recreate --renew-anon-volumes -d
19
+ DOCKER_REGISTRY=" ${REGISTRY} " COHERENCE_VERSION=" ${VERSION} " COHERENCE_TYPE=" ${TYPE} " docker compose --parallel 1 - f etc/docker-compose-2-members.yaml up --force-recreate --renew-anon-volumes -d
20
20
SECONDS=0
21
21
echo " Waiting for Coherence to be healthy (within 60s) ..."
22
22
while [ ${SECONDS} -le 60 ]; do
@@ -29,7 +29,7 @@ function coh_up() {
29
29
done
30
30
node_version=$( node -v)
31
31
filename=" logs-startup-${VERSION} -${node_version} .txt"
32
- DOCKER_REGISTRY=" ${REGISTRY} " COHERENCE_VERSION=" ${VERSION} " COHERENCE_TYPE=" ${TYPE} " docker compose -f etc/docker-compose-2-members.yaml logs --no-color > " ${filename} "
32
+ DOCKER_REGISTRY=" ${REGISTRY} " COHERENCE_VERSION=" ${VERSION} " COHERENCE_TYPE=" ${TYPE} " docker compose --parallel 1 - f etc/docker-compose-2-members.yaml logs --no-color > " ${filename} "
33
33
echo " Coherence failed to become healthy. See ${filename} for details."
34
34
coh_down
35
35
exit 1
You can’t perform that action at this time.
0 commit comments