ci: add signing key to allowed stuffs
This commit is contained in:
parent
0cb3a8224c
commit
fe45d263d6
@ -1,4 +1,5 @@
|
|||||||
aaron@bolddaemon.com sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIB1cBO17AFcS2NtIT+rIxR2Fhdu3HD4de4+IsFyKKuGQAAAACnNzaDpsZXNzZXI=
|
aaron@bolddaemon.com sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIB1cBO17AFcS2NtIT+rIxR2Fhdu3HD4de4+IsFyKKuGQAAAACnNzaDpsZXNzZXI=
|
||||||
aaron@bolddaemon.com sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIHrYWbbgBkGcOntDqdMaWVZ9xn+dHM+Ap6s1HSAalL28AAAACHNzaDptYWlu
|
aaron@bolddaemon.com sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIHrYWbbgBkGcOntDqdMaWVZ9xn+dHM+Ap6s1HSAalL28AAAACHNzaDptYWlu
|
||||||
aaron@bolddaemon.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDM2k2C6Ufx5RNf4qWA9BdQHJfAkskOaqEWf8yjpySwH Nix Manager
|
|
||||||
aaron@bolddaemon.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC74Cw0fk2g/Fzo2a5bJ+Tw6mEjbGR1/yx0HBt/p3R30
|
aaron@bolddaemon.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC74Cw0fk2g/Fzo2a5bJ+Tw6mEjbGR1/yx0HBt/p3R30
|
||||||
|
aaron@bolddaemon.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDM2k2C6Ufx5RNf4qWA9BdQHJfAkskOaqEWf8yjpySwH Nix Manager
|
||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIACUwXo7HdoPI9vAMzcbYuXRgsbHA2otn0zF1zsaaj40 nixos ci
|
||||||
|
2
ci
2
ci
@ -6,7 +6,7 @@ CMD=${1:-""}
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
NAME="CI"
|
start_ci
|
||||||
|
|
||||||
trap ci_error INT TERM
|
trap ci_error INT TERM
|
||||||
|
|
||||||
|
@ -72,6 +72,11 @@ start() {
|
|||||||
ssh-add /run/secrets/manager_key
|
ssh-add /run/secrets/manager_key
|
||||||
}
|
}
|
||||||
|
|
||||||
|
start_ci() {
|
||||||
|
agentHasKey "$(cat /run/secrets/ci_ed25519_pub | awk '{print $2}')" ||
|
||||||
|
ssh-add /run/secrets/ci_ed25519_key
|
||||||
|
}
|
||||||
|
|
||||||
finish() {
|
finish() {
|
||||||
ssh-add -d /run/secrets/manager_key
|
ssh-add -d /run/secrets/manager_key
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user