You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tasks/PackerBuild/Strings/resources.resjson/en-US/resources.resjson
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
"loc.releaseNotes": "- Works with Xplat agents (Windows, Linux or OSX)\n- Supports building images for both Windows and Linux. These images can be used to deploy Azure Virtual machine scale set.",
"loc.input.help.templateType": "Select whether you want the task to auto generate Packer template or use custom template provided by you.",
@@ -32,6 +33,10 @@
32
33
"loc.input.help.deployScriptPath": "Specify the relative path to powershell script(for Windows) or shell script(for Linux) which deploys the package. This script should be contained in the package path selected above. Supports minimatch pattern. Example path: deploy/**/scripts/windows/deploy.ps1",
"loc.input.help.additionalBuilderParameters": "In auto generated Packer template mode the task creates a Packer template with an Azure builder. This builder is used to generate a machine image. You can add keys to the Azure builder to customize the generated Packer template. For example setting ssh_tty=true in case you are using a CentOS base image and you need to have a tty to run sudo.<br/>However certain keys like builder type, access_key etc that are set by taking user input in the task cannot be overridden by adding keys here. To view/edit the additional parameters in a grid, click on “…” next to textbox.",
38
+
"loc.input.label.skipTempFileCleanupDuringVMDeprovision": "Skip temporary file cleanup during deprovision",
39
+
"loc.input.help.skipTempFileCleanupDuringVMDeprovision": "During deprovisioning of VM, skip clean-up of temporary files uploaded to VM. Refer [here](https://www.packer.io/docs/builders/azure.html#skip_clean)",
35
40
"loc.input.label.imageUri": "Image URL",
36
41
"loc.input.help.imageUri": "Provide a name for the output variable which will store generated machine image url.",
37
42
"loc.messages.OSTypeNotSupported": "This OS type is not supported for image creation: %s. Please use either windows or linux.",
@@ -52,7 +57,7 @@
52
57
"loc.messages.CustomTemplateNotFoundErrorMessagePathName": "Custom template not found at location: %s",
assert(tr.stderr.length==0||tr.errorIssues.length,'should not have written to stderr');
439
+
assert(tr.stdout.indexOf("writing to file F:\\somedir\\tempdir\\100\\default.windows.template-builderUpdated.json content: {\"builders\":[{\"type\":\"azure-arm\",\"ssh_pty\":\"true\"}]}")!=-1,"additional parameters should be written to updated template file");
440
+
assert(tr.succeeded,'task should have succeeded');
441
+
done();
442
+
});
443
+
433
444
}else{
434
445
it('Runs successfully for linux template',(done:MochaDone)=>{
assert(tr.stderr.length==0||tr.errorIssues.length,'should not have written to stderr');
596
+
assert(tr.stdout.indexOf("writing to file /tmp/tempdir/100/default.linux.template-builderUpdated.json content: {\"builders\":[{\"type\":\"azure-arm\",\"ssh_pty\":\"true\"}]}")!=-1,"additional parameters should be written to updated template file");
597
+
assert(tr.succeeded,'task should have succeeded');
0 commit comments