Skip to content

Added github hostkeys to known_hosts in setup-ci-host.sh - #2400

Merged
craigcomstock merged 1 commit into
cfengine:masterfrom
craigcomstock:ent-14397/master
Aug 5, 2026
Merged

Added github hostkeys to known_hosts in setup-ci-host.sh#2400
craigcomstock merged 1 commit into
cfengine:masterfrom
craigcomstock:ent-14397/master

Conversation

@craigcomstock

@craigcomstock craigcomstock commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

…oned to known_hosts

Ticket: ENT-14397
Changelog: none
@craigcomstock

Copy link
Copy Markdown
Contributor Author

see https://ci.cfengine.com/job/docs-pr/228/console for how this works, more quiet

@craigcomstock
craigcomstock marked this pull request as ready for review August 5, 2026 19:02

@nickanderson nickanderson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looked fine to me, but claude says: this only fixes container hosts. Regular build hosts take a different path through the code and still won't have GitHub's keys.

@craigcomstock

Copy link
Copy Markdown
Contributor Author

It looked fine to me, but claude says: this only fixes container hosts. Regular build hosts take a different path through the code and still won't have GitHub's keys.

Claude is short-sighted and doesn't understand the scripts fully. The setup-cfengine-build-host.sh script only calls setup-ci-host.sh in case of containers. The rest are managed by the policy which includes provisioning the hostkeys to known_hosts. :)

@craigcomstock
craigcomstock merged commit 784c8f8 into cfengine:master Aug 5, 2026
1 check passed
@craigcomstock
craigcomstock deleted the ent-14397/master branch August 5, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants