From df955629f6922fe6403dc2d8863305e68f826a4c Mon Sep 17 00:00:00 2001 From: Jonathan Moss <2729151+jwmoss@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:56:58 -0400 Subject: [PATCH] Dont add any testing locally for images generated by worker images --- gcp.pkr.hcl | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/gcp.pkr.hcl b/gcp.pkr.hcl index 693dd2a..0f9948e 100644 --- a/gcp.pkr.hcl +++ b/gcp.pkr.hcl @@ -131,20 +131,20 @@ build { "source.googlecompute.gw-fxci-gcp-l1-2404" ] - ## Every image has tests, so create the tests directory - provisioner "shell" { - execute_command = "sudo -S sh -c '{{ .Vars }} {{ .Path }}'" - inline = [ - "mkdir -p /workerimages/tests", - "chmod -R 777 /workerimages/tests", - ] - } + // ## Every image has tests, so create the tests directory + // provisioner "shell" { + // execute_command = "sudo -S sh -c '{{ .Vars }} {{ .Path }}'" + // inline = [ + // "mkdir -p /workerimages/tests", + // "chmod -R 777 /workerimages/tests", + // ] + // } - ## Every image has taskcluster, so upload the taskcluster tests fle - provisioner "file" { - source = "${path.cwd}/tests/linux/taskcluster.tests.ps1" - destination = "/workerimages/tests/taskcluster.tests.ps1" - } + // ## Every image has taskcluster, so upload the taskcluster tests fle + // provisioner "file" { + // source = "${path.cwd}/tests/linux/taskcluster.tests.ps1" + // destination = "/workerimages/tests/taskcluster.tests.ps1" + // } provisioner "shell" { execute_command = "sudo -S bash -c '{{ .Vars }} {{ .Path }}'" @@ -202,20 +202,20 @@ build { "source.googlecompute.gw-fxci-gcp-l1-2404-gui" ] - ## Every image has tests, so create the tests directory - provisioner "shell" { - execute_command = "sudo -S sh -c '{{ .Vars }} {{ .Path }}'" - inline = [ - "mkdir -p /workerimages/tests", - "chmod -R 777 /workerimages/tests", - ] - } + // ## Every image has tests, so create the tests directory + // provisioner "shell" { + // execute_command = "sudo -S sh -c '{{ .Vars }} {{ .Path }}'" + // inline = [ + // "mkdir -p /workerimages/tests", + // "chmod -R 777 /workerimages/tests", + // ] + // } - ## Every image has taskcluster, so upload the taskcluster tests fle - provisioner "file" { - source = "${path.cwd}/tests/linux/taskcluster.tests.ps1" - destination = "/workerimages/tests/taskcluster.tests.ps1" - } + // ## Every image has taskcluster, so upload the taskcluster tests fle + // provisioner "file" { + // source = "${path.cwd}/tests/linux/taskcluster.tests.ps1" + // destination = "/workerimages/tests/taskcluster.tests.ps1" + // } ## Let's use taskcluster community shell script, the staging version provisioner "shell" {