The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
[Fix] Move Postgres username and password to environment secrets
Yuneng Jiang3ae80407dd1e
diff --git a/.github/workflows/_test-unit-services-base.yml b/.github/workflows/_test-unit-services-base.ymlindex 042008f24a8..f5bd0e2ea66 100644--- a/.github/workflows/_test-unit-services-base.yml+++ b/.github/workflows/_test-unit-services-base.yml@@ -46,6 +46,10 @@ on:required: falseDATABASE_URL:required: false+ POSTGRES_USER:+ required: false+ POSTGRES_PASSWORD:+ required: falsepermissions:contents: read@@ -69,13 +73,13 @@ jobs:postgres:image: postgres@sha256:705a5d5b5836f3fcba0d02c4d281e6a7dd9ed2dd4078640f08a1e1e9896e097d # postgres:14env:- POSTGRES_USER: postgres- POSTGRES_PASSWORD: postgres+ POSTGRES_USER: ${{ secrets.POSTGRES_USER }}+ POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}POSTGRES_DB: litellm_testports:- 5432:5432options: >-- --health-cmd "pg_isready -U postgres"+ --health-cmd "pg_isready"--health-interval 10s--health-timeout 5s--health-retries 5diff --git a/.github/workflows/test-unit-proxy-db.yml b/.github/workflows/test-unit-proxy-db.ymlindex db0eef1cf66..bdfb6efeef1 100644--- a/.github/workflows/test-unit-proxy-db.yml+++ b/.github/workflows/test-unit-proxy-db.yml@@ -41,3 +41,5 @@ jobs:enable-postgres: truesecrets:DATABASE_URL: ${{ secrets.DATABASE_URL }}+ POSTGRES_USER: ${{ secrets.POSTGRES_USER }}+ POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}diff --git a/.github/workflows/test-unit-security.yml b/.github/workflows/test-unit-security.ymlindex 1a08608740a..b38c82b1c24 100644--- a/.github/workflows/test-unit-security.yml+++ b/.github/workflows/test-unit-security.yml@@ -24,3 +24,5 @@ jobs:enable-postgres: truesecrets:DATABASE_URL: ${{ secrets.DATABASE_URL }}+ POSTGRES_USER: ${{ secrets.POSTGRES_USER }}+ POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}