Skip to content

Commit 9ca64be

Browse files
committed
fix: remove build-artifacts-cache known_hosts entries in ci/initialize-build-host.sh
We will let other systems manage this file, such as jenkins. Ticket: ENT-14028 Changelog: none
1 parent dbcd65a commit 9ca64be

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

‎ci/initialize-build-host.sh‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -415,17 +415,6 @@ then
415415
exit $ret
416416
elif [ -z "$INIT_BUILD_HOST_SUB_INVOKATION" ]
417417
then
418-
# Add build-artifacts-cache to known hosts
419-
KNOWN_HOSTS_FILE=~/.ssh/known_hosts
420-
# if fgrep build-artifacts-cache.cloud.cfengine.com $KNOWN_HOSTS_FILE 2>/dev/null
421-
# then
422-
# :
423-
# else
424-
echo "build-artifacts-cache.cloud.cfengine.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6qcxCQgtubv9WEhrAyMEFFMLLEjirk0p0Ru+vATioEIyw7gBFfOWOp/dBfsF6fuiY1vt3IsBx4u1DkS4j8x7DjB8X2dIcBia2jt2D3sBdDFb/nc7ZnWfFf/E7dWoiF0WKvxZ62RwjyZuyz9TmL1d3jlIyuRimkhgwnuRAMyymJ5YbxvvfTH01OuGS/0pkqkLAxomRyJTv6qcGr1rOPd5FuySwOO5M/tGkajJppKC+8u/RCyWfgu1khrBmi6PevXTaoJ/lQyexexZK0HVsA5G1U/+ipO18DqaCCAnHvZ/AKt+yYmoe9RtLfx0T7DHinEV1yj4ynUj7EqudCrLOorg5 root@yoctobuild-sstate-cache" > $KNOWN_HOSTS_FILE
425-
# add openssl 3.x compatible host key as well
426-
echo "build-artifacts-cache.cloud.cfengine.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINMJKl282VQSz4EMMypJjATu21A9SxQA1XoTslIOID16 root@yoctobuild-sstate-cache" >> $KNOWN_HOSTS_FILE
427-
# fi
428-
429418
# Reexecute script in order to be able to collect the return code, and
430419
# potentially stop the slave.
431420
rsync -czt "$0" $HOME/commands.sh

0 commit comments

Comments
 (0)