Skip to content

Commit 3b4f984

Browse files
committed
Expose IRIS REST API port and simplify readiness check in CI workflow
1 parent 179fdc5 commit 3b4f984

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pytest-iris.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ jobs:
5858
- name: Start IRIS container
5959
run: |
6060
docker run -d --name iris-server \
61+
-p 52773:52773 \
6162
--entrypoint /irisdev/app/iris-start-and-wait.sh \
6263
pytest-iris
6364
6465
- name: Wait for IRIS REST API to be ready
6566
run: |
6667
echo "Waiting for IRIS REST API..."
6768
for i in $(seq 1 60); do
68-
if docker exec iris-server \
69-
curl -sf -u "$IOP_USERNAME:$IOP_PASSWORD" \
69+
if curl -sf -u "$IOP_USERNAME:$IOP_PASSWORD" \
7070
"http://localhost:52773/api/iop/version?namespace=$IOP_NAMESPACE" \
7171
> /dev/null 2>&1; then
7272
echo "IRIS REST API is ready after $i attempts"

0 commit comments

Comments
 (0)