Skip to content

ci: use a throwaway SSH key outside $HOME on the org runner - #13

Merged
shaygun merged 1 commit into
mainfrom
ci/runner-ssh-key
Nov 26, 2026
Merged

shaygun merged 1 commit into
mainfrom
ci/runner-ssh-key

Conversation

@shaygun

@shaygun shaygun commented Nov 26, 2026

Copy link
Copy Markdown
Member

The live-API job ran ssh-keygen -f $HOME/.ssh/id_ed25519. The org runner keeps $HOME between jobs, so the second run stopped at the "Overwrite (y/n)?" prompt and failed (run 45883775663). It would also have replaced the runner user's own key. The key now goes to $RUNNER_TEMP and the tests get it through NODERINGS_TEST_SSH_PUBLIC_KEY, which they already read.

The live-API job ran ssh-keygen -f $HOME/.ssh/id_ed25519. The org runner keeps $HOME between jobs, so the second run stopped at the "Overwrite (y/n)?" prompt and failed (run 45883775663). It would also have replaced the runner user's own key. The key now goes to $RUNNER_TEMP and the tests get it through NODERINGS_TEST_SSH_PUBLIC_KEY, which they already read.
@shaygun
shaygun merged commit f51f8a8 into main Nov 26, 2026
3 checks passed
@shaygun
shaygun deleted the ci/runner-ssh-key branch November 26, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant