Skip to content

Commit bd42066

Browse files
updated the team config files
1 parent ff71f57 commit bd42066

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

.github/workflows/test-automation.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,11 @@ jobs:
179179
-H "Content-Type: application/json" \
180180
-d "$EMAIL_BODY" || echo "Failed to send notification"
181181
182-
- name: Stop Container App
183-
if: always()
184-
uses: azure/cli@v2
185-
with:
186-
azcliversion: "latest"
187-
inlineScript: |
188-
az rest -m post -u "/subscriptions/${{ secrets.AZURE_SUBSCRIPTION_ID }}/resourceGroups/${{ env.MACAE_RG }}/providers/Microsoft.App/containerApps/${{ env.MACAE_CONTAINER_APP }}/stop?api-version=2025-01-01"
189-
az logout
182+
# - name: Stop Container App
183+
# if: always()
184+
# uses: azure/cli@v2
185+
# with:
186+
# azcliversion: "latest"
187+
# inlineScript: |
188+
# az rest -m post -u "/subscriptions/${{ secrets.AZURE_SUBSCRIPTION_ID }}/resourceGroups/${{ env.MACAE_RG }}/providers/Microsoft.App/containerApps/${{ env.MACAE_CONTAINER_APP }}/stop?api-version=2025-01-01"
189+
# az logout

infra/scripts/upload_team_config.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def check_team_exists(backend_url, team_id, user_principal_id):
1010
Args:
1111
backend_url: The backend endpoint URL
1212
team_id: The team ID to check
13-
user_principal_id: User principal ID for authentication (None if no auth)
13+
user_principal_id: User principal ID for authentication
1414
1515
Returns:
1616
exists: bool
@@ -46,7 +46,6 @@ def check_team_exists(backend_url, team_id, user_principal_id):
4646
directory_path = os.path.abspath(directory_path)
4747
print(f"Scanning directory: {directory_path}")
4848

49-
5049
files_to_process = [
5150
("hr.json", "00000000-0000-0000-0000-000000000001"),
5251
("marketing.json", "00000000-0000-0000-0000-000000000002"),
@@ -82,7 +81,7 @@ def check_team_exists(backend_url, team_id, user_principal_id):
8281
headers = {
8382
'x-ms-client-principal-id': user_principal_id
8483
}
85-
84+
8685
params = {
8786
'team_id': team_id
8887
}

infra/scripts/upload_team_config.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ else
7676
fi
7777

7878
userPrincipalId=$(az ad signed-in-user show --query id -o tsv)
79-
echo "User Principal ID: $userPrincipalId"
8079

8180
# Determine the correct Python command
8281
if command -v python && python --version &> /dev/null; then

0 commit comments

Comments
 (0)