From 16e2d3c77c9da31f377c5c63a70f3329ed085a79 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sun, 29 Dec 2019 18:05:29 +0100 Subject: [PATCH] gitlab-ci.yml: set git user/email (!1848) Prevent upcoming tests for "pmbootstrap pull" from failing, when trying to create a git repository. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c27fcaee..9ad338d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,6 +14,8 @@ before_script: - "source venv/bin/activate" - "pip3 install flake8 pytest-cov python-coveralls pytest" - "python3 --version" + - "su pmos -c 'git config --global user.email postmarketos-ci@localhost'" + - "su pmos -c 'git config --global user.name postmarketOS_CI'" stages: - checks