mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 12:48:18 +00:00
[ubuntu] Adjust provisioner pause after reboot (#12906)
This commit is contained in:
committed by
GitHub
parent
4b6aeea774
commit
45f6fb8339
@@ -200,7 +200,7 @@ build {
|
|||||||
|
|
||||||
provisioner "shell" {
|
provisioner "shell" {
|
||||||
execute_command = "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
execute_command = "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
||||||
pause_before = "1m0s"
|
pause_before = "5m0s"
|
||||||
scripts = ["${path.root}/../scripts/build/cleanup.sh"]
|
scripts = ["${path.root}/../scripts/build/cleanup.sh"]
|
||||||
start_retry_timeout = "10m"
|
start_retry_timeout = "10m"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ provisioner "shell" {
|
|||||||
|
|
||||||
provisioner "shell" {
|
provisioner "shell" {
|
||||||
execute_command = "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
execute_command = "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
||||||
pause_before = "1m0s"
|
pause_before = "5m0s"
|
||||||
scripts = ["${path.root}/../scripts/build/cleanup.sh"]
|
scripts = ["${path.root}/../scripts/build/cleanup.sh"]
|
||||||
start_retry_timeout = "10m"
|
start_retry_timeout = "10m"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user