richard pushed to branch maint-13.0 at The Tor Project / Applications / tor-browser-build
Commits:
-
c12f1511
by Nicolas Vigier at 2024-01-18T10:33:05+00:00
3 changed files:
- tools/signing/do-all-signing
- tools/signing/machines-setup/setup-signing-machine
- + tools/signing/machines-setup/sudoers.d/set-date
Changes:
... | ... | @@ -29,6 +29,11 @@ test -f "$steps_dir/linux-signer-gpg-sign.done" || |
29 | 29 | read -sp "Enter gpg passphrase: " GPG_PASS
|
30 | 30 | echo
|
31 | 31 | |
32 | +function set-time-on-signing-machine {
|
|
33 | + local current_time=$(date -u)
|
|
34 | + ssh "$ssh_host_linux_signer" sudo /usr/bin/date -s "'$current_time'"
|
|
35 | +}
|
|
36 | + |
|
32 | 37 | function wait-for-finished-build {
|
33 | 38 | "$script_dir/wait-for-finished-build"
|
34 | 39 | }
|
... | ... | @@ -171,6 +176,7 @@ function do_step { |
171 | 176 | |
172 | 177 | export SIGNING_PROJECTNAME
|
173 | 178 | |
179 | +do_step set-time-on-signing-machine
|
|
174 | 180 | do_step wait-for-finished-build
|
175 | 181 | do_step sync-builder-unsigned-to-local-signed
|
176 | 182 | do_step sync-scripts-to-linux-signer
|
... | ... | @@ -91,6 +91,7 @@ sudoers_file sign-mar |
91 | 91 | sudoers_file sign-exe
|
92 | 92 | sudoers_file sign-apk
|
93 | 93 | sudoers_file sign-rcodesign
|
94 | +sudoers_file set-date
|
|
94 | 95 | |
95 | 96 | authorized_keys boklm boklm-tb-release.pub boklm-yk1.pub
|
96 | 97 | create_user richard signing
|
1 | +%signing ALL = NOPASSWD: /usr/bin/date -s * |