Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat: open api-diff added detach mode
Akhil Mohan70e083bae0c4
diff --git a/.github/workflows/check-api-for-breaking-changes.yml b/.github/workflows/check-api-for-breaking-changes.ymlindex 8bead10ce0..f6acd084cd 100644--- a/.github/workflows/check-api-for-breaking-changes.yml+++ b/.github/workflows/check-api-for-breaking-changes.yml@@ -30,7 +30,7 @@ jobs:- name: Start postgres and redisrun: touch .env && docker-compose -f docker-compose.pg.yml up -d db redis- name: Start the server- run: docker run --name infisical-api -p 4000:4000 -e DB_CONNECTION_URI=$DB_CONNECTION_URI -e REDIS_URL=$REDIS_URL -e JWT_AUTH_SECRET=$JWT_AUTH_SECRET --entrypoint '/bin/sh' infisical-api -c "npm run migration:latest && ls && node dist/main.mjs"+ run: 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 --entrypoint '/bin/sh' infisical-api -c "npm run migration:latest && ls && node dist/main.mjs"env:REDIS_URL: redis://172.17.0.1:6379DB_CONNECTION_URI: postgres://infisical:[email protected]:5432/infisical?sslmode=disable@@ -38,7 +38,7 @@ jobs:- name: Install openapi api diffrun: npm install -g openapi-diff- name: Wait for containers to be stable- run: timeout 180s sh -c 'until docker ps | grep infisical-api | grep -q healthy; do echo "Waiting for container to be healthy..."; sleep 2; done'+ run: timeout 60s sh -c 'until docker ps | grep infisical-api | grep -q healthy; do echo "Waiting for container to be healthy..."; sleep 2; done'- name: Get changes made in APIid: openapi-diffrun: openapi-diff https://app.infisical.com/api/docs/json http://localhost:4000/api/docs/json