Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore : Addition of Deployment and test pipeline #103

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
286 commits
Select commit Hold shift + click to select a range
3369689
edit 17
Dec 2, 2024
b471801
edit 18
Dec 2, 2024
ef6ddf7
edit 20
Dec 2, 2024
08cdc47
edit 21
Dec 2, 2024
3309500
edit 22
Dec 2, 2024
73500df
edit 23
Dec 2, 2024
c6f5dd5
edit 24
Dec 2, 2024
d47759d
25
Dec 2, 2024
2de8323
26
Dec 2, 2024
81adb56
27
Dec 2, 2024
8bd26d5
edit 28
Dec 2, 2024
f57b670
edit 29
Dec 2, 2024
e0c88e8
edit 30
Dec 2, 2024
cf73a78
edit 31
Dec 2, 2024
f9f890b
edit 32
Dec 2, 2024
430924f
edit 33
Dec 2, 2024
402248e
edit 34
Dec 2, 2024
03fb775
edit 35
Dec 2, 2024
3ce409a
edit 35
Dec 2, 2024
c7989e1
edit 36
Dec 2, 2024
d8bfb7e
edit 37
Dec 2, 2024
8e7f672
edit 38
Dec 2, 2024
3d3eedb
edit 39
Dec 2, 2024
b26c9b5
edit 40
Dec 2, 2024
2bd25af
41
Dec 2, 2024
0191bc6
edit42
Dec 2, 2024
7d1a439
edit 43
Dec 2, 2024
751a515
44
Dec 2, 2024
7776cc8
edit 45
Dec 2, 2024
85fb0c3
edit 46
Dec 3, 2024
f7f4d03
edit 47
Dec 3, 2024
a5ebedf
edit 48
Dec 4, 2024
abb7a70
edit 49
Dec 4, 2024
40de2ac
edit 50
Dec 4, 2024
ebbc7c5
edit 51
Dec 4, 2024
ca6e4fb
edit 52
Dec 4, 2024
4186da9
edit 53
Dec 4, 2024
80819c6
edit 53
Dec 4, 2024
4125e73
edit 54
Dec 4, 2024
32a393a
edit 55
Dec 4, 2024
e578e16
edit 56
Dec 4, 2024
49bd52b
edit 57
Dec 4, 2024
2cf5cf1
edit 58
Dec 4, 2024
51d87ef
Update CI.yml
Harmanpreet-Microsoft Dec 4, 2024
c6b629d
edit 59
Dec 4, 2024
a44863e
Merge branch 'main' of https://github.com/Harmanpreet-Microsoft/Docum…
Dec 4, 2024
71cc257
Update auto_input.expect
Harmanpreet-Microsoft Dec 5, 2024
2bdad6b
edit 59
Dec 6, 2024
6339cf8
Merge branch 'main' of https://github.com/Harmanpreet-Microsoft/Docum…
Dec 6, 2024
27a14d1
edit 59
Dec 6, 2024
ac8f690
edit 60
Dec 9, 2024
3a75b11
edit 61
Dec 9, 2024
138c433
edit 62
Dec 9, 2024
b3a0ef2
edit 63
Dec 9, 2024
fedf958
edit 64
Dec 9, 2024
34db0a4
edit 65
Dec 9, 2024
516a387
edit 66
Dec 9, 2024
ecdc290
esit 67
Dec 11, 2024
3584768
edit 68
Dec 11, 2024
eb12e6e
edit 69
Dec 11, 2024
66b6ba8
edit 70
Dec 12, 2024
727c2d9
edit 71
Dec 12, 2024
2ae28fd
edit 72
Dec 12, 2024
1b96111
edit 73
Dec 12, 2024
05c3b8d
edit 74
Dec 13, 2024
158fc20
edit 75
Dec 13, 2024
5fe9368
edit 76
Dec 13, 2024
db6b4ca
edit 77
Dec 13, 2024
171dc27
edit 78
Dec 13, 2024
1020404
edit 79
Dec 13, 2024
35adaf3
edit 80
Dec 13, 2024
cefc830
edit 81
Dec 13, 2024
80a01fd
edit 82
Dec 16, 2024
3efef83
edit 83
Dec 16, 2024
e9b43c3
edit 84
Dec 16, 2024
62988a0
edit 85
Dec 16, 2024
8b2dac8
edit 86
Dec 16, 2024
ef840f1
edit 87
Dec 16, 2024
29613ca
edit 88
Dec 16, 2024
8767aa3
edit 89
Dec 16, 2024
f5f6941
edit 90
Dec 17, 2024
e423250
edit 91
Dec 17, 2024
8ea6eb9
edit 92
Dec 17, 2024
4abcce8
edit 94
Dec 18, 2024
8eef4ad
edit 95
Dec 18, 2024
0656fb4
edit kamini
Dec 18, 2024
534fa07
edit kamini
Dec 18, 2024
e3cbe57
final work
Dec 18, 2024
c529564
final_edit1
Dec 18, 2024
9b588af
final_edit_2
Dec 20, 2024
3236dd3
edit final 3
Dec 20, 2024
a317da5
added schedule
Dec 20, 2024
3f2b823
Update README.DEPLOYMENT.md
Prajwal-Microsoft Nov 8, 2024
019fa3b
added dpendabotyml and sync-branch
Nov 11, 2024
8bd828f
depdbot
Nov 11, 2024
912fcd9
upadte 1
Nov 11, 2024
e0ce068
increase pr limit for frontend
Nov 11, 2024
bb5ff76
removed extensions
Nov 11, 2024
c908f44
Update dependabot.yml
Harmanpreet-Microsoft Nov 12, 2024
476cb8a
Update dependabot.yml
Harmanpreet-Microsoft Nov 12, 2024
e0d060e
created test pipeline
Nov 25, 2024
c86dbdd
edit to test file
Nov 25, 2024
9c26b19
edits to test file
Nov 25, 2024
8c9d991
updated the script
Nov 26, 2024
219badc
run test frontend
Nov 26, 2024
50aaf73
edits to test file
Nov 26, 2024
7a398eb
edit test
Nov 26, 2024
324bada
edit again 1
Nov 26, 2024
1d20a81
jest config change
Nov 26, 2024
54618a1
Update tests.yml
Harmanpreet-Microsoft Nov 28, 2024
a89982e
added CI workflow
Nov 29, 2024
6f15b8d
changes
Nov 29, 2024
2e9cc53
change 2
Nov 29, 2024
76dee81
run script
Dec 2, 2024
cd7f3b1
path adjusted
Dec 2, 2024
94f76ad
edit 1
Dec 2, 2024
a5504dc
edit2
Dec 2, 2024
505594c
edit 3
Dec 2, 2024
166e759
edit 3
Dec 2, 2024
658c883
edit 4
Dec 2, 2024
9a819f3
edit 5
Dec 2, 2024
f379938
edit6
Dec 2, 2024
f377846
edit7
Dec 2, 2024
685244c
edit 8
Dec 2, 2024
c11d434
edit 9
Dec 2, 2024
0ee5481
edit 10
Dec 2, 2024
05adee7
edit 10
Dec 2, 2024
4727f9e
edit 11
Dec 2, 2024
79dc0c0
edit 12
Dec 2, 2024
d187d8d
edit 13
Dec 2, 2024
6d4bcd8
edit 13
Dec 2, 2024
1824bd3
edit 14
Dec 2, 2024
b6c571d
edit 15
Dec 2, 2024
df48f6c
edit 15
Dec 2, 2024
14cfcfa
edit 16
Dec 2, 2024
2b02fa5
edit 17
Dec 2, 2024
2a777b9
edit 18
Dec 2, 2024
1eec440
edit 20
Dec 2, 2024
602016d
edit 21
Dec 2, 2024
715cca6
edit 22
Dec 2, 2024
b029231
edit 23
Dec 2, 2024
cdfb96f
edit 24
Dec 2, 2024
db265ce
25
Dec 2, 2024
0dbb927
26
Dec 2, 2024
c2dcaed
27
Dec 2, 2024
252ecdb
edit 28
Dec 2, 2024
71f7388
edit 29
Dec 2, 2024
4c48b40
edit 30
Dec 2, 2024
12c3ca4
edit 31
Dec 2, 2024
bb2d98b
edit 32
Dec 2, 2024
76bc416
edit 33
Dec 2, 2024
cdec445
edit 34
Dec 2, 2024
c552dd2
edit 35
Dec 2, 2024
38bfa6e
edit 35
Dec 2, 2024
ab43144
edit 36
Dec 2, 2024
6882eba
edit 37
Dec 2, 2024
afaf8e1
edit 38
Dec 2, 2024
403db66
edit 39
Dec 2, 2024
f11b310
edit 40
Dec 2, 2024
c9f1f69
41
Dec 2, 2024
c343969
edit42
Dec 2, 2024
de1b820
edit 43
Dec 2, 2024
319132f
44
Dec 2, 2024
a94bde8
edit 45
Dec 2, 2024
d1bb145
edit 46
Dec 3, 2024
94edeb8
edit 47
Dec 3, 2024
145630a
edit 48
Dec 4, 2024
83daf9a
edit 49
Dec 4, 2024
b60c00c
edit 50
Dec 4, 2024
40897b8
edit 51
Dec 4, 2024
5255a61
edit 52
Dec 4, 2024
0c9cfbd
edit 53
Dec 4, 2024
e036aab
edit 53
Dec 4, 2024
7dd07cc
edit 54
Dec 4, 2024
ae659cb
edit 55
Dec 4, 2024
40aa611
edit 56
Dec 4, 2024
be88d3a
edit 57
Dec 4, 2024
6f875fc
edit 58
Dec 4, 2024
7006857
edit 59
Dec 4, 2024
2a5a739
Update CI.yml
Harmanpreet-Microsoft Dec 4, 2024
05b8b52
edit 59
Dec 6, 2024
1f62022
Update auto_input.expect
Harmanpreet-Microsoft Dec 5, 2024
6e27459
edit 59
Dec 6, 2024
ceacf0d
edit 60
Dec 9, 2024
cebd568
edit 61
Dec 9, 2024
093c6be
edit 62
Dec 9, 2024
c09153f
edit 63
Dec 9, 2024
f1d86ae
edit 64
Dec 9, 2024
339f4bd
edit 65
Dec 9, 2024
fa47ff8
edit 66
Dec 9, 2024
2bd8995
esit 67
Dec 11, 2024
4c196ca
edit 68
Dec 11, 2024
9cffb93
edit 69
Dec 11, 2024
c489b88
edit 70
Dec 12, 2024
f1b6c86
edit 71
Dec 12, 2024
a7fd13b
edit 72
Dec 12, 2024
961c236
edit 73
Dec 12, 2024
1597e75
edit 74
Dec 13, 2024
7ede399
edit 75
Dec 13, 2024
ecfbb0d
edit 76
Dec 13, 2024
ad06957
edit 77
Dec 13, 2024
5fe094b
edit 78
Dec 13, 2024
8004429
edit 79
Dec 13, 2024
8874925
edit 80
Dec 13, 2024
88145b4
edit 81
Dec 13, 2024
3e10884
edit 82
Dec 16, 2024
afcb9b8
edit 83
Dec 16, 2024
d626259
edit 84
Dec 16, 2024
3917d89
edit 85
Dec 16, 2024
18d62d7
edit 86
Dec 16, 2024
19445e9
edit 87
Dec 16, 2024
5d58578
edit 88
Dec 16, 2024
7c5bb1d
edit 89
Dec 16, 2024
0f3bcde
edit 90
Dec 17, 2024
a0643b6
edit 91
Dec 17, 2024
2b877c1
edit 92
Dec 17, 2024
2d39eac
edit 94
Dec 18, 2024
9437853
edit 95
Dec 18, 2024
05af2fa
edit kamini
Dec 18, 2024
406029f
edit kamini
Dec 18, 2024
b2d3f0a
final work
Dec 18, 2024
a3d5f0e
final_edit1
Dec 18, 2024
fd6e614
final_edit_2
Dec 20, 2024
a95b238
edit final 3
Dec 20, 2024
9c4219c
added schedule
Dec 20, 2024
e98f5e6
final commit heelo
Dec 23, 2024
b1f9221
Merge branch 'main' of https://github.com/Harmanpreet-Microsoft/Docum…
Dec 23, 2024
de9cadb
final edit again 1
Dec 23, 2024
2b3b67e
working manual too
Dec 23, 2024
d4d1bb2
Update tests.yml
Harmanpreet-Microsoft Dec 26, 2024
c6671e4
Update tests.yml
Harmanpreet-Microsoft Dec 26, 2024
ee27752
Update tests.yml
Harmanpreet-Microsoft Dec 26, 2024
fdd1dfe
Update tests.yml
Harmanpreet-Microsoft Dec 26, 2024
ec27588
Update tests.yml1
Harmanpreet-Microsoft Dec 26, 2024
8de6974
Update tests.yml
Harmanpreet-Microsoft Dec 26, 2024
0ec143f
Update tests.yml
Harmanpreet-Microsoft Dec 26, 2024
8bc6e1b
Update tests.yml
Harmanpreet-Microsoft Dec 26, 2024
64a0345
Update tests.yml
Harmanpreet-Microsoft Dec 26, 2024
e27cd23
Update tests.yml
Harmanpreet-Microsoft Dec 26, 2024
34854e7
Update tests.yml
Harmanpreet-Microsoft Dec 26, 2024
b347f1b
Update tests.yml
Harmanpreet-Microsoft Dec 26, 2024
ee94010
Update tests.yml 3
Harmanpreet-Microsoft Dec 27, 2024
e29602a
Update tests.yml
Harmanpreet-Microsoft Dec 27, 2024
36a4fea
Update tests.yml4
Harmanpreet-Microsoft Dec 27, 2024
6ca12f1
Update tests.yml5
Harmanpreet-Microsoft Dec 27, 2024
fcb15c0
Update tests.yml6
Harmanpreet-Microsoft Dec 27, 2024
5188fd7
edit 100
Dec 27, 2024
ffb8d63
Merge branch 'main' of https://github.com/Harmanpreet-Microsoft/Docum…
Dec 27, 2024
c67ca32
Update tests.yml
Harmanpreet-Microsoft Dec 29, 2024
c1666b4
Update tests.yml
Harmanpreet-Microsoft Dec 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
147 changes: 147 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
name: Deploy Resources

on:
push:
branches:
- main # Adjust this to the branch you want to trigger the deployment on
schedule:
- cron: '0 6,18 * * *' # Runs at 6:00 AM and 6:00 PM GMT


jobs:
deploy:
runs-on: windows-latest # Use a Windows runner for PowerShell scripts

steps:
- name: Checkout Code
uses: actions/checkout@v3 # Checks out your repository

- name: Setup PowerShell
shell: pwsh
run: |
$PSVersionTable.PSVersion

- name: Run Deployment Script with Input
shell: pwsh
run: |
cd Deployment
$input = @"
${{ secrets.AZURE_SUBSCRIPTION_ID }}
CanadaCentral
WestUS3
${{ secrets.EMAIL }}
yes
"@
$input | pwsh ./resourcedeployment.ps1
echo "Resource Group Name is ${{ env.rg_name }}"
echo "Kubernetes resource group are ${{ env.krg_name }}"
env:
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
- name: Cleanup Resource Group
if: always() # Ensures this step runs even if the deployment fails
shell: pwsh
run: |
az login --service-principal --username ${{ secrets.AZURE_CLIENT_ID }} --password ${{ secrets.AZURE_CLIENT_SECRET }} --tenant ${{ secrets.AZURE_TENANT_ID }}
az group delete --name ${{ env.rg_name }} --yes --no-wait
az group delete --name ${{ env.krg_name }} --yes --no-wait
env:
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}

- name: Wait for Resource Deletion to Complete
shell: pwsh
run: |
$retries = 0
$maxRetries = 3
$sleepIntervals = @(700, 200, 200)

while ($retries -lt $maxRetries) {
$rgStatus = az group exists --name ${{ env.rg_name }}
$krgStatus = az group exists --name ${{ env.krg_name }}


# if (-not $rgStatus -and -not $krgStatus) {
# Write-Host "Both resource groups deleted successfully."
# break
# }
if ($rgStatus -eq "false" -and $krgStatus -eq "false") {
Write-Host "Both resource groups deleted successfully."
break
}

$retries++
if ($retries -eq $maxRetries) {
Write-Host "Resource groups deletion not confirmed after $maxRetries attempts. Exiting."
exit 1
}

Write-Host "Resource groups still exist. Retrying in $($sleepIntervals[$retries - 1]) seconds..."
Start-Sleep -Seconds $sleepIntervals[$retries - 1]
}

- name: Purging the Resources
if: success()
shell: pwsh
run: |
# Set variables using GitHub Actions environment values
$solutionPrefix = "${{ env.SOLUTION_PREFIX }}"
$subscriptionId = "${{ secrets.AZURE_SUBSCRIPTION_ID }}"
$resourceGroupName = "${{ env.rg_name }}"

$openai_name = "openaiservice-$solutionPrefix"
$cognitiveservice_name = "cognitiveservice-$solutionPrefix"

# Debug: Print resource names
Write-Host "Purging OpenAI resource: $openai_name"
Write-Host "Purging CognitiveService Account: $cognitiveservice_name"

# Construct resource IDs
$openaiResourceId = "/subscriptions/$subscriptionId/providers/Microsoft.CognitiveServices/locations/westus3/resourceGroups/$resourceGroupName/deletedAccounts/$openai_name"
$cognitiveResourceId = "/subscriptions/$subscriptionId/providers/Microsoft.CognitiveServices/locations/eastus/resourceGroups/$resourceGroupName/deletedAccounts/$cognitiveservice_name"

# Debug: Print constructed resource IDs
Write-Host "Command to purge OpenAI resource: az resource delete --ids `"$openaiResourceId`" --verbose"
Write-Host "Command to purge CognitiveService Account: az resource delete --ids `"$cognitiveResourceId`" --verbose"
# Purge OpenAI Resource
az resource delete --ids $openaiResourceId --verbose
if (-not $?) {
Write-Host "Failed to purge OpenAI resource: $openaiResourceId"
}

# Purge CognitiveService Account


az resource delete --ids $cognitiveResourceId --verbose
if (-not $?) {
Write-Host "Failed to purge CognitiveService Account."
}


- name: Send Notification on Failure
if: failure()
shell: pwsh
run: |
# Define the RUN_URL variable
$RUN_URL = "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

# Construct the email body using a Here-String
$EMAIL_BODY = @"
{
"body": "<p>Dear Team,</p><p>The Document Knowledge Mining Automation process encountered an issue.</p><p><strong>Build URL:</strong> <a href='$RUN_URL'>$RUN_URL</a></p><p>Please investigate promptly.</p><p>Best regards,<br>Your Automation Team</p>"
}
"@

# Send the notification with error handling
try {
curl -X POST "${{ secrets.LOGIC_APP_URL }}" `
-H "Content-Type: application/json" `
-d "$EMAIL_BODY"
} catch {
Write-Output "Failed to send notification."
}

118 changes: 118 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
name: Unit Tests - DKM

on:
push:
branches: main

pull_request:
branches: main
types:
- opened
- ready_for_review
- reopened
- synchronize

jobs:
backend_api_tests:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- name: Install Code Coverage Tools
run: |
dotnet tool install --global coverlet.console || echo "Warning: Could not install coverlet."
env:
DOTNET_ROOT: /usr/share/dotnet


- name: Restore and run tests for Backend API with coverage
working-directory: ./App/backend-api
run: |
if [ -f "Microsoft.GS.DPS.sln" ]; then
dotnet restore Microsoft.GS.DPS.sln || echo "Warning: Some dependencies are missing. Proceeding."
dotnet test Microsoft.GS.DPS.Host/BackendApi.Tests/BackendApi.Tests.csproj --collect:"XPlat Code Coverage" --logger "trx;LogFileName=TestResults.trx" --results-directory TestResults || echo "Warning: Some tests may have failed."
else
echo "No solution file found in Backend API. Skipping tests."
fi
- name: List test result files
run: ls -R ./App/backend-api/TestResults || echo "TestResults directory not found."
- name: Verify Coverage Report
run: |
if [ -d "./App/backend-api/TestResults/CoverageReport" ]; then
echo "Coverage report exists."
else
echo "Coverage report not generated."
fi



- name: Publish coverage results for Backend API
uses: actions/upload-artifact@v3
with:
name: backend-api-coverage
path: ./App/backend-api/TestResults/CoverageReport

kernel_memory_tests:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'

- name: Restore and run tests for Kernel Memory with coverage
working-directory: ./App/kernel-memory
run: |
if [ -f "KernelMemory.sln" ]; then
dotnet restore KernelMemory.sln || echo "Warning: Some dependencies are missing. Proceeding."
if dotnet test KernelMemory.sln --list-tests > /dev/null 2>&1; then
dotnet test KernelMemory.sln --collect:"XPlat Code Coverage" --logger trx --results-directory TestResults || echo "Warning: Some tests may have failed."
else
echo "No test cases found in Kernel Memory. Skipping tests."
fi
else
echo "No solution file found in Kernel Memory. Skipping tests."
fi

- name: Publish coverage results for Kernel Memory
uses: actions/upload-artifact@v3
with:
name: kernel-memory-coverage
path: ./App/kernel-memory/TestResults/CoverageReport

frontend_tests:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16

- name: Install dependencies
working-directory: ./App/frontend-app
run: |
npm install --legacy-peer-deps || echo "Warning: Dependency installation failed. Proceeding."

- name: Run tests for Frontend App with coverage
working-directory: ./App/frontend-app
run: |
if find src -type f \( -name "*.test.tsx" -o -name "*.spec.tsx" -o -name "*.test.ts" -o -name "*.spec.ts" \) | grep -q .; then
echo "Test files found. Proceeding with tests."
npx jest --coverage --coverageDirectory=coverage --detectOpenHandles
else
echo "No test files found in Frontend App. Skipping tests."
fi
11 changes: 11 additions & 0 deletions App/frontend-app/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ module.exports = {
// SCSS files
"\\.scss$": "identity-obj-proxy",
},
collectCoverage: true,
//collectCoverageFrom: ['src/**/*.{ts,tsx}'], // Adjust the path as needed
//coverageReporters: ['json', 'lcov', 'text', 'clover'],
coverageThreshold: {
global: {
branches: 80,
functions: 80,
lines: 80,
statements: 80,
},
},

// Project's path which coverage will be reported
collectCoverageFrom: ["src/**/*.ts", "src/**/*.tsx"],
Expand Down
3 changes: 2 additions & 1 deletion Deployment/main.bicep
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// Licensed under the MIT license.
@description('The Data Center where the model is deployed.')
param modeldatacenter string

Expand Down Expand Up @@ -158,6 +158,7 @@ module gs_appconfig 'bicep/azureappconfigservice.bicep' = {

// return all resource names as a output
output gs_resourcegroup_name string = 'rg-${resourceprefix_name}${resourceprefix}'
output gs_solution_prefix string = '${resourceprefix_name}${resourceprefix}'
output gs_storageaccount_name string = gs_storageaccount.outputs.storageAccountName
output gs_azsearch_name string = gs_azsearch.outputs.searchServiceName

Expand Down
Loading