diff --git a/.circleci/config.yml b/.circleci/config.yml index 0a4cec135dce..b1cd52dda001 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -339,6 +339,11 @@ jobs: echo 'Defaults env_keep += "DEBIAN_FRONTEND"' >> /etc/sudoers.d/env_keep chown -R circleci:circleci /go + # configure git and ssh for the user + cp -r ~/.ssh /home/circleci/.ssh + chown -R circleci:circleci /home/circleci/.ssh + sudo -H -u circleci git config --global url."ssh://git@github.com".insteadOf "https://github.com" + - run: sudo -E -H -u circleci PATH=${PATH} make deps - run: sudo -E -H -u circleci PATH=${PATH} make integration-test - run: sudo -E -H -u circleci PATH=${PATH} make e2e-test