Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

logs on health check

Maidul Islam38b93e499f3d
diff --git a/.github/workflows/check-api-for-breaking-changes.yml b/.github/workflows/check-api-for-breaking-changes.yml
index 4bccfb99f0..47283ca303 100644
--- a/.github/workflows/check-api-for-breaking-changes.yml
+++ b/.github/workflows/check-api-for-breaking-changes.yml
@@ -37,7 +37,7 @@ jobs:
docker run --name infisical-api -d -p 4000:4000 -e DB_CONNECTION_URI=$DB_CONNECTION_URI -e REDIS_URL=$REDIS_URL -e JWT_AUTH_SECRET=$JWT_AUTH_SECRET --env-file .env --entrypoint '/bin/sh' infisical-api -c "npm run migration:latest && ls && node dist/main.mjs"
env:
REDIS_URL: redis://172.17.0.1:6379
- # DB_CONNECTION_URI: postgres://infisical:[email protected]:5432/infisical?sslmode=disable
+ DB_CONNECTION_URI: postgres://infisical:[email protected]:5432/infisical?sslmode=disable
JWT_AUTH_SECRET: something-random
- uses: actions/setup-go@v5
with:
@@ -53,7 +53,10 @@ jobs:
break
fi
echo "Waiting for container to be healthy... ($SECONDS seconds elapsed)"
- docker logs infisical-api
+
+ CONTAINER_LOGS=$(docker logs infisical-api)
+ echo "$CONTAINER_LOGS"
+
sleep 2
SECONDS=$((SECONDS+2))
done