Move temporary files to separate volume scratch
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
af8249d1a7
commit
b09801282f
@ -56,7 +56,7 @@ steps:
|
||||
- name: output
|
||||
path: /output
|
||||
- name: scratch
|
||||
path: /drone/src
|
||||
path: /scratch
|
||||
- name: Trigger downstream builds
|
||||
image: plugins/downstream
|
||||
settings:
|
||||
|
@ -64,7 +64,8 @@
|
||||
"shutdown_timeout": "1h",
|
||||
|
||||
"export": {
|
||||
"images": false
|
||||
"images": false,
|
||||
"output_directory": "/scratch/srv2019-t"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -131,7 +132,8 @@
|
||||
"shutdown_timeout": "1h",
|
||||
|
||||
"export": {
|
||||
"images": false
|
||||
"images": false,
|
||||
"output_directory": "/scratch/srv2019-v"
|
||||
}
|
||||
}
|
||||
],
|
||||
@ -216,12 +218,12 @@
|
||||
"type": "shell-local",
|
||||
"inline": [
|
||||
"pwsh -command \"& scripts/Update-OvfConfiguration.ps1 \\",
|
||||
" -OVFFile './output-srv2019-v/{{user `vm_guestos`}}-{{user `vm_name`}}.ovf' \\",
|
||||
" -OVFFile '/scratch/output-srv2019-v/{{user `vm_guestos`}}-{{user `vm_name`}}.ovf' \\",
|
||||
" -Parameter @{'appliance.name'='{{user `vm_guestos`}}';'appliance.version'='{{user `vm_name`}}'}\"",
|
||||
"pwsh -file scripts/Update-Manifest.ps1 \\",
|
||||
" -ManifestFileName './output-srv2019-v/{{user `vm_guestos`}}-{{user `vm_name`}}.mf'",
|
||||
" -ManifestFileName '/scratch/output-srv2019-v/{{user `vm_guestos`}}-{{user `vm_name`}}.mf'",
|
||||
"ovftool --acceptAllEulas --allowExtraConfig --overwrite \\",
|
||||
" './output-srv2019-v/{{user `vm_guestos`}}-{{user `vm_name`}}.ovf' \\",
|
||||
" '/scratch/output-srv2019-v/{{user `vm_guestos`}}-{{user `vm_name`}}.ovf' \\",
|
||||
" /output/Windows-Server-2019-LTSC.ova"
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user