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

gitolite role git at cupani.torproject.org
Thu May 12 07:09:25 UTC 2022


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

boklm pushed a commit to branch maint-11.0
in repository builders/tor-browser-build.

commit eb8775453d12cc4977d24732fae5ee01754abdd6
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