Unverified Commit eb877545 authored by boklm's avatar boklm
Browse files

Bug 40494: enable/disable network proxy settings on the macos signing machine

parent e5ceb156
......@@ -35,6 +35,10 @@ function sync-scripts-to-macos-signer {
"$script_dir/sync-scripts-to-macos-signer"
}
function macos-signer-enable-network-proxy-settings {
ssh "$ssh_host_macos_signer" 'networksetup -setsecurewebproxystate Ethernet on'
}
function macos-signer-gatekeeper-signing {
"$script_dir/sync-macos-local-to-macos-signer"
ssh "$ssh_host_macos_signer" 'bash -s' << EOF
......@@ -57,6 +61,10 @@ function macos-signer-stapler {
"$script_dir/sync-macos-signer-stapled-to-macos-local-stapled"
}
function macos-signer-disable-network-proxy-settings {
ssh "$ssh_host_macos_signer" 'networksetup -setsecurewebproxystate Ethernet off'
}
function gatekeeper-bundling {
"$script_dir/gatekeeper-bundling.sh"
}
......@@ -161,9 +169,11 @@ function do_step {
do_step wait-for-finished-build
do_step sync-builder-unsigned-to-local-signed
do_step sync-scripts-to-macos-signer
do_step macos-signer-enable-network-proxy-settings
do_step macos-signer-gatekeeper-signing
do_step macos-signer-notarization
do_step macos-signer-stapler
do_step macos-signer-disable-network-proxy-settings
do_step gatekeeper-bundling
do_step dmg2mar
do_step sync-scripts-to-linux-signer
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment