Commit 6bc4b7f
Jonathan Visser
Satisfy prepare:ssh with a throwaway key in secretless build jobs
hypernode-deploy's prepare:ssh task hard-fails when the ssh-agent has no
identities (it lists loaded keys unconditionally), so builds without
SSH_PRIVATE_KEY cannot pass even though building needs no server access.
Generate a key that grants access to nothing instead of reintroducing
the real deploy key into jobs that run untrusted pull request code.1 parent 7d3d079 commit 6bc4b7f
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
0 commit comments