Skip to content
This repository was archived by the owner on Jun 17, 2020. It is now read-only.

Commit d02a9ff

Browse files
iohk-bors[bot]rvl
andcommitted
Merge #534
534: infra: Add GitHub deploy keys to buildkite-agent r=jbgi a=rvl Needed for input-output-hk/haskell.nix#56. Before deploying, create these keys on the infra deployer: ``` ssh-keygen -t rsa -f static/buildkite-hackage-ssh -C [email protected] ssh-keygen -t rsa -f static/buildkite-stackage-ssh -C [email protected] ``` After deploying, add these as deploy keys to the relevant github repos. Co-authored-by: Rodney Lorrimar <[email protected]>
2 parents 1dd2821 + 9922f29 commit d02a9ff

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

modules/buildkite-agent.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ in
5757
user = "buildkite-agent";
5858
permissions = "0770";
5959
};
60+
# SSH keypair for buildkite-agent user
6061
buildkite-ssh-private = {
6162
keyFile = ./. + "/../static/buildkite-ssh";
6263
user = "buildkite-agent";
@@ -65,6 +66,17 @@ in
6566
keyFile = ./. + "/../static/buildkite-ssh.pub";
6667
user = "buildkite-agent";
6768
};
69+
# GitHub deploy key for input-output-hk/hackage.nix
70+
buildkite-hackage-ssh-private = {
71+
keyFile = ./. + "/../static/buildkite-hackage-ssh";
72+
user = "buildkite-agent";
73+
};
74+
# GitHub deploy key for input-output-hk/stackage.nix
75+
buildkite-stackage-ssh-private = {
76+
keyFile = ./. + "/../static/buildkite-stackage-ssh";
77+
user = "buildkite-agent";
78+
};
79+
# API Token for BuildKite
6880
buildkite-token = {
6981
keyFile = ./. + "/../static/buildkite_token";
7082
user = "buildkite-agent";

0 commit comments

Comments
 (0)