From 73938f1425eacb750f858d65254beba49997954e Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Thu, 14 Mar 2024 15:23:15 +0100 Subject: [PATCH] Add starting docker service for ARM instances (#38149) * Add starting docker service for ARM instances The #38107 switched to smaller ARM instances, and removed moving docker service to tmpfs, but it also removed docker service starting from the instances. As an effect cache building would be much slower - because it would not use the remote docker builder (as the remote docker instance was not running). MUCH slower. The effect of it was not noticeable in the PR but full cache rebuild would take about an hour or so. Starting docker service on remote machine should fix it. * Update scripts/ci/images/initialize.sh --- scripts/ci/images/initialize.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/ci/images/initialize.sh b/scripts/ci/images/initialize.sh index c7c836f17f094..1c89bc75bfb3d 100755 --- a/scripts/ci/images/initialize.sh +++ b/scripts/ci/images/initialize.sh @@ -16,6 +16,10 @@ # specific language governing permissions and limitations # under the License. +# Start docker service +sudo service docker start + + # This instance will run for maximum 40 minutes and # It will terminate itself after that (it can also # be terminated immediately when the job finishes)