diff options
Diffstat (limited to 'it/packer/sonar-scanner-cli-qa.json')
-rw-r--r-- | it/packer/sonar-scanner-cli-qa.json | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/it/packer/sonar-scanner-cli-qa.json b/it/packer/sonar-scanner-cli-qa.json new file mode 100644 index 0000000..8ab3e86 --- /dev/null +++ b/it/packer/sonar-scanner-cli-qa.json @@ -0,0 +1,29 @@ +{ + "builders": [ + { + "type": "googlecompute", + "project_id": "ci-cd-215716", + "source_image": "windows-server-1809-dc-core-v20200211", + "image_name": "sonar-scanner-cli-qa", + "disk_size": "50", + "machine_type": "n1-standard-1", + "communicator": "winrm", + "winrm_username": "packer_user", + "winrm_insecure": true, + "winrm_use_ssl": true, + "metadata": { + "windows-startup-script-cmd": "winrm quickconfig -quiet & net user /add packer_user & net localgroup administrators packer_user /add & winrm set winrm/config/service/auth @{Basic=\"true\"}" + }, + "zone": "us-central1-a", + "tags": ["packer"] + } + ], + "provisioners": [ + { + "type": "powershell", + "scripts": [ + "{{template_dir}}/setup.ps1" + ] + } + ] +} |