diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ca921566..c86e385b 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: 150 + GPT_MIN_CAPACITY: 1 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="150" + export GPT_MIN_CAPACITY="1" 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=150 \ + gptModelCapacity=1 \ createdBy="Pipeline" \ tags="{'SecurityControl':'Ignore','Purpose':'Deploying and Cleaning Up Resources for Validation','CreatedDate':'$current_date'}" \ --output json @@ -181,20 +181,9 @@ jobs: echo "SUCCESS=false" >> $GITHUB_OUTPUT fi - e2e-test: - needs: deploy - if: needs.deploy.outputs.DEPLOYMENT_SUCCESS == 'true' - uses: ./.github/workflows/test-automation.yml - with: - MACAE_WEB_URL: ${{ needs.deploy.outputs.WEBAPP_URL }} - MACAE_URL_API: ${{ needs.deploy.outputs.MACAE_URL_API }} - MACAE_RG: ${{ needs.deploy.outputs.RESOURCE_GROUP_NAME }} - MACAE_CONTAINER_APP: ${{ needs.deploy.outputs.CONTAINER_APP }} - secrets: inherit - cleanup-deployment: if: always() && needs.deploy.outputs.RESOURCE_GROUP_NAME != '' - needs: [deploy, e2e-test] + needs: [deploy] runs-on: ubuntu-latest env: RESOURCE_GROUP_NAME: ${{ needs.deploy.outputs.RESOURCE_GROUP_NAME }}