Skip to content

Commit 4c022e3

Browse files
fix: Dev to main
2 parents c2db4a6 + 9e716f3 commit 4c022e3

33 files changed

+10896
-189
lines changed

.github/workflows/job-deploy-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ jobs:
183183
echo ""
184184
echo "✅ All input parameters validated successfully!"
185185
- name: Checkout Code
186-
uses: actions/checkout@v4
186+
uses: actions/checkout@v6
187187

188188
- name: Configure Parameters Based on WAF Setting
189189
shell: bash

.github/workflows/job-deploy-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ jobs:
185185
echo "✅ All input parameters validated successfully!"
186186
187187
- name: Checkout Code
188-
uses: actions/checkout@v4
188+
uses: actions/checkout@v6
189189

190190
- name: Configure Parameters Based on WAF Setting
191191
shell: bash

.github/workflows/job-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ jobs:
323323
324324
325325
- name: Checkout Code
326-
uses: actions/checkout@v4
326+
uses: actions/checkout@v6
327327

328328
- name: Login to Azure
329329
shell: bash

.github/workflows/job-docker-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
IMAGE_TAG: ${{ steps.generate_docker_tag.outputs.IMAGE_TAG }}
3232
steps:
3333
- name: Checkout Code
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v6
3535

3636
- name: Generate Unique Docker Image Tag
3737
id: generate_docker_tag

.github/workflows/job-send-notification.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
runs-on: ubuntu-latest
7777
continue-on-error: true
7878
env:
79-
accelerator_name: "DocGen"
79+
accelerator_name: "ContentGen"
8080
steps:
8181
- name: Validate Workflow Input Parameters
8282
shell: bash

.github/workflows/test-automation-v2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
TEST_REPORT_URL: ${{ steps.upload_report.outputs.artifact-url }}
3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v5
39+
uses: actions/checkout@v6
4040

4141
- name: Set up Python
4242
uses: actions/setup-python@v6
@@ -136,7 +136,7 @@ jobs:
136136

137137
- name: Upload test report
138138
id: upload_report
139-
uses: actions/upload-artifact@v4
139+
uses: actions/upload-artifact@v6
140140
if: ${{ !cancelled() }}
141141
with:
142142
name: test-report

content-gen/infra/main.bicep

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ var imageModelDeployment = imageModelChoice != 'none' ? [
261261
var aiFoundryAiServicesModelDeployment = concat(baseModelDeployments, imageModelDeployment)
262262

263263
var aiFoundryAiProjectDescription = 'Content Generation AI Foundry Project'
264+
var existingTags = resourceGroup().tags ?? {}
264265

265266
// ============== //
266267
// Resources //
@@ -289,13 +290,15 @@ resource avmTelemetry 'Microsoft.Resources/deployments@2024-03-01' = if (enableT
289290
resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
290291
name: 'default'
291292
properties: {
292-
tags: {
293-
...resourceGroup().tags
294-
... tags
295-
TemplateName: 'ContentGen'
296-
Type: enablePrivateNetworking ? 'WAF' : 'Non-WAF'
297-
CreatedBy: createdBy
298-
}
293+
tags: union(
294+
existingTags,
295+
tags,
296+
{
297+
TemplateName: 'ContentGen'
298+
Type: enablePrivateNetworking ? 'WAF' : 'Non-WAF'
299+
CreatedBy: createdBy
300+
}
301+
)
299302
}
300303
}
301304

content-gen/infra/main.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@
321321
"imageModelDeployment": "[if(not(equals(parameters('imageModelChoice'), 'none')), createArray(createObject('format', 'OpenAI', 'name', variables('imageModelConfig')[parameters('imageModelChoice')].name, 'model', variables('imageModelConfig')[parameters('imageModelChoice')].name, 'sku', createObject('name', variables('imageModelConfig')[parameters('imageModelChoice')].sku, 'capacity', parameters('imageModelCapacity')), 'version', variables('imageModelConfig')[parameters('imageModelChoice')].version, 'raiPolicyName', 'Microsoft.Default')), createArray())]",
322322
"aiFoundryAiServicesModelDeployment": "[concat(variables('baseModelDeployments'), variables('imageModelDeployment'))]",
323323
"aiFoundryAiProjectDescription": "Content Generation AI Foundry Project",
324+
"existingTags": "[coalesce(resourceGroup().tags, createObject())]",
324325
"logAnalyticsWorkspaceResourceName": "[format('log-{0}', variables('solutionSuffix'))]",
325326
"applicationInsightsResourceName": "[format('appi-{0}', variables('solutionSuffix'))]",
326327
"userAssignedIdentityResourceName": "[format('id-{0}', variables('solutionSuffix'))]",
@@ -377,7 +378,7 @@
377378
"apiVersion": "2021-04-01",
378379
"name": "default",
379380
"properties": {
380-
"tags": "[shallowMerge(createArray(resourceGroup().tags, parameters('tags'), createObject('TemplateName', 'ContentGen', 'Type', if(parameters('enablePrivateNetworking'), 'WAF', 'Non-WAF'), 'CreatedBy', parameters('createdBy'))))]"
381+
"tags": "[union(variables('existingTags'), parameters('tags'), createObject('TemplateName', 'ContentGen', 'Type', if(parameters('enablePrivateNetworking'), 'WAF', 'Non-WAF'), 'CreatedBy', parameters('createdBy')))]"
381382
}
382383
},
383384
"aiSearchFoundryConnection": {

content-gen/src/app/frontend-server/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)