@@ -27,23 +27,9 @@ locals {
2727
2828 windows_gcp_images = [
2929 {
30- task_name = " windows-ci-vs-2019"
31- },
32- {
33- task_name = " windows-ci-mingw64"
34- },
35- {
36- task_name = " windows_ci_vs_2019"
37- },
38- {
39- task_name = " windows_ci_mingw64"
30+ task_name = " windows-ci"
4031 },
4132 ]
42-
43- only = {
44- vs_2019 = [" googlecompute.windows-ci-vs-2019" ],
45- mingw64 = [" googlecompute.windows-ci-mingw64" ],
46- }
4733}
4834
4935source "googlecompute" "windows" {
@@ -165,13 +151,11 @@ build {
165151 # this could be reduntant
166152 " $env:MSYSTEM = 'UCRT64'" ,
167153 ]
168- only = local. only . mingw64
169154 }
170155
171156 provisioner "powershell" {
172157 execute_command = var. execute_command
173158 script = " scripts/windows_install_mingw64.ps1"
174- only = local. only . mingw64
175159 }
176160
177161 # Change default console code page (0) with Windows code page (65001) to get rid of warnings in postgres tests
@@ -181,7 +165,6 @@ build {
181165 " $ErrorActionPreference = 'Stop'" ,
182166 " chcp 65001"
183167 ]
184- only = local. only . mingw64
185168 }
186169
187170 # MSYS2 might spawn processes that will stay around in the background forever.
@@ -192,27 +175,23 @@ build {
192175 " $ErrorActionPreference = 'Stop'" ,
193176 " taskkill /F /FI \" MODULES eq msys-2.0.dll\" "
194177 ]
195- only = local. only . mingw64
196178 }
197179 # ## end of mingw installations
198180
199181 # ## vs-2019 installations
200182 provisioner "powershell" {
201183 execute_command = var. execute_command
202184 script = " scripts/windows_install_winflexbison.ps1"
203- only = local. only . vs_2019
204185 }
205186
206187 provisioner "powershell" {
207188 execute_command = var. execute_command
208189 script = " scripts/windows_install_pg_deps.ps1"
209- only = local. only . vs_2019
210190 }
211191
212192 provisioner "powershell" {
213193 execute_command = var. execute_command
214194 script = " scripts/windows_install_vs_2019.ps1"
215- only = local. only . vs_2019
216195 }
217196 # ## end of vs-2019 installations
218197}
0 commit comments