Implement new Pester Tests for Visual Studio (#1251)

* implement pester tests for visual studio

* fix components list
This commit is contained in:
Dibir Magomedsaygitov
2020-07-22 14:04:40 +03:00
committed by GitHub
parent 99bd7bf035
commit 532b49be6f
9 changed files with 591 additions and 513 deletions

View File

@@ -89,6 +89,16 @@
"source": "{{ template_dir }}/scripts/Tests",
"destination": "{{user `image_folder`}}"
},
{
"type": "file",
"source": "{{template_dir}}/toolsets/toolcache-2019.json",
"destination": "{{user `root_folder`}}/toolcache.json"
},
{
"type": "file",
"source": "{{template_dir}}/toolsets/toolset-2019.json",
"destination": "{{user `toolset_json_path`}}"
},
{
"type": "windows-shell",
"inline": [
@@ -187,6 +197,9 @@
0,
3010
],
"environment_vars":[
"TOOLSET_JSON_PATH={{user `toolset_json_path`}}"
],
"scripts":[
"{{ template_dir }}/scripts/Installers/Windows2019/Install-VS2019.ps1"
],
@@ -292,16 +305,6 @@
"{{ template_dir }}/scripts/Installers/Install-Packer.ps1"
]
},
{
"type": "file",
"source": "{{template_dir}}/toolsets/toolcache-2019.json",
"destination": "{{user `root_folder`}}/toolcache.json"
},
{
"type": "file",
"source": "{{template_dir}}/toolsets/toolset-2019.json",
"destination": "{{user `toolset_json_path`}}"
},
{
"type": "powershell",
"environment_vars":[