|
13 | 13 | - cron: "0 11,23 * * *" # Runs at 11:00 AM and 11:00 PM GMT |
14 | 14 | workflow_dispatch: #Allow manual triggering |
15 | 15 | env: |
16 | | - GPT_MIN_CAPACITY: 150 |
| 16 | + GPT_MIN_CAPACITY: 1 |
17 | 17 | BRANCH_NAME: ${{ github.head_ref || github.ref_name }} |
18 | 18 |
|
19 | 19 | jobs: |
|
36 | 36 | export AZURE_TENANT_ID=${{ secrets.AZURE_TENANT_ID }} |
37 | 37 | export AZURE_CLIENT_SECRET=${{ secrets.AZURE_CLIENT_SECRET }} |
38 | 38 | export AZURE_SUBSCRIPTION_ID="${{ secrets.AZURE_SUBSCRIPTION_ID }}" |
39 | | - export GPT_MIN_CAPACITY="150" |
| 39 | + export GPT_MIN_CAPACITY="1" |
40 | 40 | export AZURE_REGIONS="${{ vars.AZURE_REGIONS }}" |
41 | 41 |
|
42 | 42 | chmod +x infra/scripts/checkquota.sh |
@@ -140,7 +140,7 @@ jobs: |
140 | 140 | backendContainerImageTag="${IMAGE_TAG}" \ |
141 | 141 | frontendContainerImageTag="${IMAGE_TAG}" \ |
142 | 142 | azureAiServiceLocation='${{ env.AZURE_LOCATION }}' \ |
143 | | - gptModelCapacity=150 \ |
| 143 | + gptModelCapacity=1 \ |
144 | 144 | createdBy="Pipeline" \ |
145 | 145 | tags="{'SecurityControl':'Ignore','Purpose':'Deploying and Cleaning Up Resources for Validation','CreatedDate':'$current_date'}" \ |
146 | 146 | --output json |
@@ -181,20 +181,9 @@ jobs: |
181 | 181 | echo "SUCCESS=false" >> $GITHUB_OUTPUT |
182 | 182 | fi |
183 | 183 |
|
184 | | - e2e-test: |
185 | | - needs: deploy |
186 | | - if: needs.deploy.outputs.DEPLOYMENT_SUCCESS == 'true' |
187 | | - uses: ./.github/workflows/test-automation.yml |
188 | | - with: |
189 | | - MACAE_WEB_URL: ${{ needs.deploy.outputs.WEBAPP_URL }} |
190 | | - MACAE_URL_API: ${{ needs.deploy.outputs.MACAE_URL_API }} |
191 | | - MACAE_RG: ${{ needs.deploy.outputs.RESOURCE_GROUP_NAME }} |
192 | | - MACAE_CONTAINER_APP: ${{ needs.deploy.outputs.CONTAINER_APP }} |
193 | | - secrets: inherit |
194 | | - |
195 | 184 | cleanup-deployment: |
196 | 185 | if: always() && needs.deploy.outputs.RESOURCE_GROUP_NAME != '' |
197 | | - needs: [deploy, e2e-test] |
| 186 | + needs: [deploy] |
198 | 187 | runs-on: ubuntu-latest |
199 | 188 | env: |
200 | 189 | RESOURCE_GROUP_NAME: ${{ needs.deploy.outputs.RESOURCE_GROUP_NAME }} |
|
0 commit comments