Skip to content

Buildkite: fetch SSH keys from Vault at step start - #3351

Merged
reakaleek merged 1 commit into
masterfrom
cursor/523f5ad1
Aug 7, 2026
Merged

Buildkite: fetch SSH keys from Vault at step start#3351
reakaleek merged 1 commit into
masterfrom
cursor/523f5ad1

Conversation

@reakaleek

Copy link
Copy Markdown
Member

What

  • Fetch elasticmachine SSH keys from Vault in the Buildkite pre-command hook for docs PR and docs build pipelines
  • Remove mid-script Vault reads from the build scripts

Why

  • Buildkite job Vault tokens expire after about 10–20 minutes
  • Docs PR builds can run longer than that, especially when product repo setup runs before the build
  • Late Vault access can fail with an expired token error

Notes

  • SSH keys stay on disk with chmod 600, not in environment variables
  • ssh-keyscan and ssh-agent behavior in the build scripts is unchanged

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@reakaleek
reakaleek requested a review from a team as a code owner August 7, 2026 11:14
@reakaleek
reakaleek requested a review from cotti August 7, 2026 11:14
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

@reakaleek
reakaleek merged commit 40fbd78 into master Aug 7, 2026
5 checks passed
@reakaleek
reakaleek deleted the cursor/523f5ad1 branch August 7, 2026 12:50
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.

2 participants