Skip to content

Commit 4868365

Browse files
2 parents d908a93 + f1ca837 commit 4868365

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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/main.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"_generator": {
77
"name": "bicep",
88
"version": "0.39.26.7824",
9-
"templateHash": "15240636549235044717"
9+
"templateHash": "18323178973416331220"
1010
}
1111
},
1212
"parameters": {
@@ -51298,7 +51298,7 @@
5129851298
"value": "[format('{0}infra/scripts/copy_kb_files.sh', variables('baseUrl'))]"
5129951299
},
5130051300
"arguments": {
51301-
"value": "[format('{0} data {1} {2}', reference('storageAccount').outputs.name.value, variables('baseUrl'), reference('userAssignedIdentity').outputs.clientId.value)]"
51301+
"value": "[format('{0} {1} {2}', reference('storageAccount').outputs.name.value, variables('baseUrl'), reference('userAssignedIdentity').outputs.clientId.value)]"
5130251302
},
5130351303
"storageAccountResourceId": {
5130451304
"value": "[reference('storageAccount').outputs.resourceId.value]"

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

infra/scripts/copy_kb_files_manual.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

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

98
# zipFileName1="../data/call_transcripts.zip"
109
# extractedFolder1="call_transcripts"

0 commit comments

Comments
 (0)