diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c86e385b5..baeba4b42 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,7 +13,7 @@ on: - cron: "0 11,23 * * *" # Runs at 11:00 AM and 11:00 PM GMT workflow_dispatch: #Allow manual triggering env: - GPT_MIN_CAPACITY: 1 + GPT_MIN_CAPACITY: 150 BRANCH_NAME: ${{ github.head_ref || github.ref_name }} jobs: @@ -36,7 +36,7 @@ jobs: export AZURE_TENANT_ID=${{ secrets.AZURE_TENANT_ID }} export AZURE_CLIENT_SECRET=${{ secrets.AZURE_CLIENT_SECRET }} export AZURE_SUBSCRIPTION_ID="${{ secrets.AZURE_SUBSCRIPTION_ID }}" - export GPT_MIN_CAPACITY="1" + export GPT_MIN_CAPACITY="150" export AZURE_REGIONS="${{ vars.AZURE_REGIONS }}" chmod +x infra/scripts/checkquota.sh @@ -140,7 +140,7 @@ jobs: backendContainerImageTag="${IMAGE_TAG}" \ frontendContainerImageTag="${IMAGE_TAG}" \ azureAiServiceLocation='${{ env.AZURE_LOCATION }}' \ - gptModelCapacity=1 \ + gptModelCapacity=150 \ createdBy="Pipeline" \ tags="{'SecurityControl':'Ignore','Purpose':'Deploying and Cleaning Up Resources for Validation','CreatedDate':'$current_date'}" \ --output json diff --git a/infra/scripts/checkquota.sh b/infra/scripts/checkquota.sh index 0d23df79b..3a10f543c 100644 --- a/infra/scripts/checkquota.sh +++ b/infra/scripts/checkquota.sh @@ -54,6 +54,7 @@ for REGION in "${REGIONS[@]}"; do if [ -z "$MODEL_INFO" ]; then echo "⚠️ WARNING: No quota information found for model: $MODEL in $REGION. Skipping." + INSUFFICIENT_QUOTA=true continue fi