File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 99 - main
1010 - dev
1111 - demo
12-
1312 schedule :
1413 - cron : ' 0 9,21 * * *' # Runs at 9:00 AM and 9:00 PM GMT
1514
@@ -135,6 +134,9 @@ jobs:
135134 IMAGE_TAG="latest_waf"
136135 fi
137136
137+ # Generate current timestamp in desired format: YYYY-MM-DDTHH:MM:SS.SSSSSSSZ
138+ current_date=$(date -u +"%Y-%m-%dT%H:%M:%S.%7NZ")
139+
138140 az deployment group create \
139141 --name ${{ env.SOLUTION_PREFIX }}-deployment \
140142 --resource-group ${{ env.RESOURCE_GROUP_NAME }} \
@@ -150,7 +152,8 @@ jobs:
150152 embeddingDeploymentCapacity=${{ env.TEXT_EMBEDDING_MIN_CAPACITY }} \
151153 azureAiServiceLocation=${{ env.AZURE_LOCATION }} \
152154 imageTag="${IMAGE_TAG}"\
153- createdBy="Pipeline"
155+ createdBy="Pipeline" \
156+ tags="{'SecurityControl':'Ignore','Purpose':'Deploying and Cleaning Up Resources for Validation','CreatedDate':'$current_date'}"
154157
155158 - name : Get Deployment Output and extract Values
156159 id : get_output
Original file line number Diff line number Diff line change @@ -270,7 +270,8 @@ resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
270270 properties : {
271271 tags : {
272272 ... tags
273- TemplateName : 'Docgen'
273+ TemplateName : 'DocGen'
274+ Type : enablePrivateNetworking ? 'WAF' : 'Non-WAF'
274275 CreatedBy : createdBy
275276 }
276277 }
You can’t perform that action at this time.
0 commit comments