Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set max Postgres DB Connections #1878

Merged
merged 6 commits into from
Apr 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix az query
  • Loading branch information
badgersrus committed Apr 11, 2024
commit c7ea1b85e81178071703dae747df5f4ca2c8906c
2 changes: 1 addition & 1 deletion .github/workflows/manual-deploy-testnet-l2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
uses: azure/CLI@v1
with:
inlineScript: |
databases=$(az postgres server list --resource-group Testnet --query "[?starts_with(name, 'host_')].[name]" -o tsv)
databases=$(az postgres flexible-server db list --resource-group Testnet --server-name postgres-ten-${{ github.event.inputs.testnet_type }} --query "[?starts_with(name, 'host_')].[name]" -o tsv)

for db in $databases; do
az postgres db delete --name "$db" --resource-group Testnet --server-name postgres-ten-${{ github.event.inputs.testnet_type }}.postgres.database.azure.com --yes
Expand Down
Loading