From 56c913adcb59cb3d92d250b97d09d55eea99aba7 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 11 Apr 2019 16:31:22 +0200 Subject: Automatically accept the review.gluster.org ssh key See https://bugzilla.redhat.com/show_bug.cgi?id=1698694 While this would open us to MITM in very specific case (like, just after a server was reinstalled), a attacker would like just get access to vote on a patch as the regression tests, which do not seems that a big attack. This wouldn't also be stealth, since the MITM would be discovered as soon as the traffic is no longer intercepted. Plus, the others scripts already do the same. Change-Id: I8e294d92c2602c86fe6f04227512ce70ec081f03 --- build-gluster-org/scripts/centos-regression.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build-gluster-org') diff --git a/build-gluster-org/scripts/centos-regression.sh b/build-gluster-org/scripts/centos-regression.sh index abac535..cb2134e 100644 --- a/build-gluster-org/scripts/centos-regression.sh +++ b/build-gluster-org/scripts/centos-regression.sh @@ -117,5 +117,5 @@ fi # Update Gerrit with the success/failure status sudo mv /tmp/gluster_regression.txt $WORKSPACE || true sudo chown jenkins:jenkins gluster_regression.txt || true -ssh build@review.gluster.org gerrit review --message "'$BURL : $VERDICT'" --project=glusterfs --label CentOS-regression="$V" $GIT_COMMIT +ssh -o "StrictHostKeyChecking=no" build@review.gluster.org gerrit review --message "'$BURL : $VERDICT'" --project=glusterfs --label CentOS-regression="$V" $GIT_COMMIT exit $RET -- cgit