[tor-commits] [builders/tor-browser-build] branch master updated: Bug 40494: enable/disable network proxy settings on the macos signing machine

gitolite role git at cupani.torproject.org
Tue May 10 19:18:09 UTC 2022


This is an automated email from the git hooks/post-receive script.

richard pushed a commit to branch master
in repository builders/tor-browser-build.

The following commit(s) were added to refs/heads/master by this push:
     new 4f360af  Bug 40494: enable/disable network proxy settings on the macos signing machine
4f360af is described below

commit 4f360afb7c1a8f8c9c793df204c0541a79bbb41b
Author: Nicolas Vigier <boklm at torproject.org>
AuthorDate: Tue May 10 15:38:23 2022 +0200

    Bug 40494: enable/disable network proxy settings on the macos signing machine
---
 tools/signing/do-all-signing | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tools/signing/do-all-signing b/tools/signing/do-all-signing
index ab0868c..dcf6a02 100755
--- a/tools/signing/do-all-signing
+++ b/tools/signing/do-all-signing
@@ -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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list