Skip to content

Commit 8c50f7b

Browse files
committed
Add OpenAM secondary instances to the Docker test in build.yml
1 parent 6fb32fd commit 8c50f7b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ jobs:
156156
157157
echo "Add another two OpenAM servers to the cluster"
158158
159+
echo "Starting OpenAM-2 container..."
159160
docker run --rm -it -d --memory="2g" -h openam2.example.org --name=test-openam2 --network test-openam localhost:5000/${GITHUB_REPOSITORY,,}:${{ env.release_version }}
160161
161162
echo "waiting for OpenAM-2 to be alive..."
@@ -198,7 +199,8 @@ jobs:
198199

199200
docker inspect --format="{{json .State.Health.Status}}" test-openam2 | grep -q \"healthy\"
200201

201-
docker run --rm -it -d --memory="2g" -h openam2.example.org --name=test-openam2 --network test-openam localhost:5000/${GITHUB_REPOSITORY,,}:${{ env.release_version }}
202+
echo "Starting OpenAM-3 container..."
203+
docker run --rm -it -d --memory="2g" -h openam2.example.org --name=test-openam3 --network test-openam localhost:5000/${GITHUB_REPOSITORY,,}:${{ env.release_version }}
202204

203205
echo "waiting for OpenAM-3 to be alive..."
204206
timeout 3m bash -c 'until docker inspect --format="{{json .State.Health.Status}}" test-openam3 | grep -q \"healthy\"; do sleep 10; done'

0 commit comments

Comments
 (0)