File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -392,9 +392,9 @@ in rec {
392
392
makeSignedInstaller = genClusters ( cluster : pkgs . writeShellScriptBin "make-signed-installer" ( let
393
393
394
394
# FIXME: in the future this has to be done better, now let’s reuse the Buildkite legacy:
395
- credentials = "/var/lib/buildkite-agent/signing.sh" ;
396
- codeSigningConfig = "/var/lib/buildkite-agent/code-signing-config.json" ;
397
- signingConfig = "/var/lib/buildkite-agent/signing-config.json" ;
395
+ credentials = "/var/lib/buildkite-agent-default /signing.sh" ;
396
+ codeSigningConfig = "/var/lib/buildkite-agent-default /code-signing-config.json" ;
397
+ signingConfig = "/var/lib/buildkite-agent-default /signing-config.json" ;
398
398
shallSignPredicate = "[ -f ${ credentials } ] && [ -f ${ codeSigningConfig } ] && [ -f ${ signingConfig } ]" ;
399
399
bashSetup = ''
400
400
set -o errexit
@@ -451,7 +451,7 @@ in rec {
451
451
if ${ shallSignPredicate } ; then
452
452
echo "Signing installer…"
453
453
454
- # FIXME: this doesn’t work outside of `buildkite-agent`, it seems:
454
+ # FIXME: this doesn’t work outside of `buildkite-agent-default `, it seems:
455
455
#(
456
456
# source ${ credentials }
457
457
# security unlock-keychain -p "$SIGNING" "$signingKeyChain"
@@ -473,7 +473,7 @@ in rec {
473
473
cd /
474
474
${ bashSetup }
475
475
if ${ shallSignPredicate } && [ "$USER" == "root" ]; then
476
- exec sudo -u buildkite-agent ${ packAndSign }
476
+ exec sudo -u buildkite-agent-default ${ packAndSign }
477
477
else
478
478
exec ${ packAndSign }
479
479
fi
You can’t perform that action at this time.
0 commit comments