Run Hyper-V alongside other builds
This commit is contained in:
@@ -71,7 +71,6 @@ let
|
|||||||
variables = general.variables // {
|
variables = general.variables // {
|
||||||
COMMAND = "packer build -only=\"hyperv-iso.amd64\" -var-file=\"\${distro}\" -var build=\${BUILD} -var cpus=2 -var memory=4096 \${EXCEPT} sources";
|
COMMAND = "packer build -only=\"hyperv-iso.amd64\" -var-file=\"\${distro}\" -var build=\${BUILD} -var cpus=2 -var memory=4096 \${EXCEPT} sources";
|
||||||
};
|
};
|
||||||
rules = [ { "if" = "$CI_COMMIT_TAG"; } ];
|
|
||||||
script = [
|
script = [
|
||||||
"packer init sources"
|
"packer init sources"
|
||||||
"echo $env:COMMAND > build.ps1"
|
"echo $env:COMMAND > build.ps1"
|
||||||
|
|||||||
Reference in New Issue
Block a user