Skip to content

Commit bcd032e

Browse files
Merge pull request #551 from microsoft/psl-remove-e2e
fix: remove e2e code block from deploy.yml
2 parents 1540324 + caf2c71 commit bcd032e

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
- cron: "0 11,23 * * *" # Runs at 11:00 AM and 11:00 PM GMT
1414
workflow_dispatch: #Allow manual triggering
1515
env:
16-
GPT_MIN_CAPACITY: 150
16+
GPT_MIN_CAPACITY: 1
1717
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
1818

1919
jobs:
@@ -36,7 +36,7 @@ jobs:
3636
export AZURE_TENANT_ID=${{ secrets.AZURE_TENANT_ID }}
3737
export AZURE_CLIENT_SECRET=${{ secrets.AZURE_CLIENT_SECRET }}
3838
export AZURE_SUBSCRIPTION_ID="${{ secrets.AZURE_SUBSCRIPTION_ID }}"
39-
export GPT_MIN_CAPACITY="150"
39+
export GPT_MIN_CAPACITY="1"
4040
export AZURE_REGIONS="${{ vars.AZURE_REGIONS }}"
4141
4242
chmod +x infra/scripts/checkquota.sh
@@ -140,7 +140,7 @@ jobs:
140140
backendContainerImageTag="${IMAGE_TAG}" \
141141
frontendContainerImageTag="${IMAGE_TAG}" \
142142
azureAiServiceLocation='${{ env.AZURE_LOCATION }}' \
143-
gptModelCapacity=150 \
143+
gptModelCapacity=1 \
144144
createdBy="Pipeline" \
145145
tags="{'SecurityControl':'Ignore','Purpose':'Deploying and Cleaning Up Resources for Validation','CreatedDate':'$current_date'}" \
146146
--output json
@@ -181,20 +181,9 @@ jobs:
181181
echo "SUCCESS=false" >> $GITHUB_OUTPUT
182182
fi
183183
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-
195184
cleanup-deployment:
196185
if: always() && needs.deploy.outputs.RESOURCE_GROUP_NAME != ''
197-
needs: [deploy, e2e-test]
186+
needs: [deploy]
198187
runs-on: ubuntu-latest
199188
env:
200189
RESOURCE_GROUP_NAME: ${{ needs.deploy.outputs.RESOURCE_GROUP_NAME }}

0 commit comments

Comments
 (0)