Skip to content
Snippets Groups Projects
Verified Commit e818842c authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

.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 oniro#513



Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent 00c69ffe
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment