From e818842c67f1accf8a82fc7b5b599632b0c1008d Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Wed, 13 Apr 2022 16:12:15 +0200 Subject: [PATCH] .gitlab-ci.yml: Use the inherited git configuration from the container image The container image already defines the user and the email for the builder's/CI's git operations[1] so there is no need to override it here and have to maintain two places for this identity. [1]https://gitlab.eclipse.org/eclipse/oniro-core/oniro/-/blob/kirkstone/.oniro-ci/containers/bitbake-builder/Dockerfile Fixes https://gitlab.eclipse.org/eclipse/oniro-core/oniro/-/issues/513 Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- .gitlab-ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f326aa4..47363af 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -78,8 +78,6 @@ deploy: cd aggregated; if [ -n "$(git status -s)" ]; then msg="docs repository snapshot - $CI_COMMIT_BRANCH:$CI_COMMIT_SHA"; - git config --local user.name "Oniro Project CI"; - git config --local user.email "ci@oniroproject.org"; git add -A; git commit -sm "$msg"; git push origin HEAD:main; -- GitLab