Skip to content

Commit 5fbf5fb

Browse files
committed
Add parameter to EXECUTE-SCRIPT profile for defining container. In Vega Proxy API (vs. package store) scenarios, this will be required.
1 parent ffb60f3 commit 5fbf5fb

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.12
1+
3.0.13

src/VirtualClient/VirtualClient.Core/VirtualClientLoggingExtensions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,6 @@ await RetryPolicies.FileOperations.ExecuteAsync(async () =>
424424
component.Roles?.Any() == true ? string.Join(',', component.Roles) : null);
425425

426426
// Upload the file as-is. If the file was timestamped, then it will be uploaded with that timestamp.
427-
// string subDirectory = fileSystem.GetRelativeSubdirectory(component.GetLogDirectory(), logFilePath);
428-
// FileUploadDescriptor descriptor = component.CreateFileUploadDescriptor(fileContext, timestamped: false, subPath: subDirectory);
429427
FileUploadDescriptor descriptor = component.CreateFileUploadDescriptor(fileContext, timestamped: false);
430428

431429
await component.RequestFileUploadAsync(descriptor);

src/VirtualClient/VirtualClient.Main/profiles/EXECUTE-SCRIPT.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"Command": null,
99
"Scenario": "ExecuteScript",
1010
"Package": null,
11+
"PackageContainer": "packages",
1112
"TelemetryFileFormat": "Csv",
1213
"LogFileName": null,
1314
"LogFolderName": null,
@@ -77,7 +78,7 @@
7778
"Type": "DependencyPackageInstallation",
7879
"Parameters": {
7980
"Scenario": "InstallSdkPackage",
80-
"BlobContainer": "packages",
81+
"BlobContainer": "$.Parameters.PackageContainer",
8182
"BlobName": "$.Parameters.Package",
8283
"PackageName": "script_package",
8384
"Extract": true

0 commit comments

Comments
 (0)