Skip to content

Commit f0dabb5

Browse files
Merge pull request #221 from microsoft/dev
fix: Dev to main
2 parents 0e9dad4 + 7944802 commit f0dabb5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ jobs:
126126
IMAGE_TAG="latest"
127127
fi
128128
129+
# Generate current timestamp in desired format: YYYY-MM-DDTHH:MM:SS.SSSSSSSZ
130+
current_date=$(date -u +"%Y-%m-%dT%H:%M:%S.%7NZ")
131+
129132
az deployment group create \
130133
--name ${{ env.SOLUTION_PREFIX }}-deployment \
131134
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
@@ -135,8 +138,10 @@ jobs:
135138
aiDeploymentsLocation="eastus" \
136139
useWafAlignedArchitecture=false \
137140
capacity=${{ env.GPT_MIN_CAPACITY }} \
138-
imageVersion="${IMAGE_TAG}"\
139-
createdBy="Pipeline"
141+
imageVersion="${IMAGE_TAG}" \
142+
createdBy="Pipeline" \
143+
tags="{'SecurityControl':'Ignore','Purpose':'Deploying and Cleaning Up Resources for Validation','CreatedDate':'$current_date'}"
144+
140145
- name: Assign Contributor role to Service Principal
141146
if: always()
142147
run: |

infra/main.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
143143
tags: {
144144
...allTags
145145
TemplateName: 'Code Modernization'
146+
Type: enablePrivateNetworking ? 'WAF' : 'Non-WAF'
146147
CreatedBy: createdBy
147148
}
148149
}

0 commit comments

Comments
 (0)