File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,28 +193,8 @@ jobs:
193193
194194 echo "Running post-deployment script..."
195195
196- # Extract required resource names from the deployment
197- STORAGE_ACCOUNT=$(az resource list --resource-group ${{ env.RESOURCE_GROUP_NAME }} --resource-type "Microsoft.Storage/storageAccounts" --query "[0].name" -o tsv)
198- AI_SEARCH=$(az resource list --resource-group ${{ env.RESOURCE_GROUP_NAME }} --resource-type "Microsoft.Search/searchServices" --query "[0].name" -o tsv)
199-
200- echo "Found Storage Account: $STORAGE_ACCOUNT"
201- echo "Found AI Search Service: $AI_SEARCH"
202- echo "Backend URL: ${{ steps.get_backend_url.outputs.MACAE_URL_API }}"
203-
204- # Run upload team config script with parameters
205- python infra/scripts/upload_team_config.py \
206- "${{ steps.get_backend_url.outputs.MACAE_URL_API }}" \
207- "data/agent_teams" \
208- "${{ secrets.AZURE_SUBSCRIPTION_ID }}"
209-
210- # Run process sample data script with parameters
211- bash infra/scripts/process_sample_data.sh \
212- "$STORAGE_ACCOUNT" \
213- "sample-dataset" \
214- "$AI_SEARCH" \
215- "sample-dataset-index" \
216- "${{ env.RESOURCE_GROUP_NAME }}" \
217- "${{ secrets.AZURE_SUBSCRIPTION_ID }}"
196+ # Run PowerShell script with 'All' use case automatically selected
197+ echo "5" | pwsh -File infra/scripts/Selecting-Team-Config-And-Data.ps1 -ResourceGroup "${{ env.RESOURCE_GROUP_NAME }}"
218198
219199 echo "=== Post-Deployment Script Completed Successfully ==="
220200
You can’t perform that action at this time.
0 commit comments