mirror of
https://github.com/actions/runner-images.git
synced 2025-12-28 12:48:21 +08:00
[macOS] Fail builds on errors during the image generation (#1756)
* set -e and fix all the scripts * add source utils to finalize_vm script * change xcode version in postbuild script * fix for softwareupdates and for xcode version
This commit is contained in:
@@ -1,12 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Enable firewall. SSH and VNC opened. Can't did it at bootstrap step, so placed it here
|
||||
defaults write /Library/Preferences/com.apple.alf globalstate -int 1
|
||||
|
||||
# Setting correct time zone
|
||||
echo "Configuring system time to GMT..."
|
||||
rm -f /etc/localtime
|
||||
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
|
||||
#!/bin/bash -e -o pipefail
|
||||
|
||||
# https://developer.apple.com/documentation/webkit/testing_with_webdriver_in_safari
|
||||
# Safari’s executable is located at /usr/bin/safaridriver
|
||||
|
||||
Reference in New Issue
Block a user