Skip to content

Commit c877042

Browse files
updated the directory name in stg account
1 parent a2b248c commit c877042

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

infra/main.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ var solutionSuffix = toLower(trim(replace(
169169
)))
170170

171171
var acrName = 'kmcontainerreg'
172-
var baseUrl = 'https://raw.githubusercontent.com/microsoft/Conversation-Knowledge-Mining-Solution-Accelerator/main/'
172+
var baseUrl = 'https://raw.githubusercontent.com/microsoft/Conversation-Knowledge-Mining-Solution-Accelerator/rc-audiodatabug/'
173173
// @description('Optional. Key vault reference and secret settings for the module\'s secrets export.')
174174
// param secretsExportConfiguration secretsExportConfigurationType?
175175
// Replica regions list based on article in [Azure regions list](https://learn.microsoft.com/azure/reliability/regions-list) and [Enhance resilience by replicating your Log Analytics workspace across regions](https://learn.microsoft.com/azure/azure-monitor/logs/workspace-replication#supported-regions) for supported regions for Log Analytics Workspace.
@@ -1350,7 +1350,7 @@ module uploadFiles 'br/public:avm/res/resources/deployment-script:0.5.1' = {
13501350
retentionInterval: 'P1D'
13511351
runOnce: true
13521352
primaryScriptUri: '${baseUrl}infra/scripts/copy_kb_files.sh'
1353-
arguments: '${storageAccount.outputs.name} data ${baseUrl} ${userAssignedIdentity.outputs.clientId}'
1353+
arguments: '${storageAccount.outputs.name} ${baseUrl} ${userAssignedIdentity.outputs.clientId}'
13541354
storageAccountResourceId: storageAccount.outputs.resourceId
13551355
subnetResourceIds: enablePrivateNetworking ? [
13561356
virtualNetwork!.outputs.deploymentScriptsSubnetResourceId

infra/scripts/copy_kb_files.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22

33
# Variables
44
storageAccount="$1"
5-
fileSystem="$2"
6-
baseUrl="$3"
7-
managedIdentityClientId="$4"
5+
baseUrl="$2"
6+
managedIdentityClientId="$3"
87

98
zipFileName1="call_transcripts.zip"
109
extractedFolder1="call_transcripts"
1110
zipUrl1=${baseUrl}"infra/data/call_transcripts.zip"
1211

1312
zipFileName2="audio_data.zip"
14-
extractedFolder2="audiodata"
13+
extractedFolder2="audio_data"
1514
zipUrl2=${baseUrl}"infra/data/audio_data.zip"
1615

1716
# Create folders if they do not exist

0 commit comments

Comments
 (0)