mirror of
https://github.com/actions/runner-images.git
synced 2026-01-05 01:35:22 +08:00
Fail fast in image generation if not enough disk space for customers (#767)
* added checking free disk space Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
This commit is contained in:
committed by
Mikhail Timofeev
parent
e7d77a0c6a
commit
33e02acfd0
@@ -328,6 +328,12 @@
|
||||
],
|
||||
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"scripts":[
|
||||
"{{template_dir}}/scripts/installers/validate-disk-space.sh"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"source": "{{user `metadata_file`}}",
|
||||
|
||||
Reference in New Issue
Block a user