gitlab-ci.yml: allow 'git config' cmds to fail
Two "su pmos -c 'git config --global user....'" commands were added to
the before_script in .gitlab-ci.yml. They work fine with the regular
gitlab runners, but fail with the custom gitlab runner that runs the
qemu test. Simply allow the command to fail, because it isn't needed on
the custom gitlab runner, as it doesn't run related tests.
Fixes: 16e2d3c77c
("gitlab-ci.yml: set git user/email (!1848)")
This commit is contained in:
parent
0244ffbf53
commit
f3dc6a55cf
|
@ -14,8 +14,8 @@ before_script:
|
|||
- "source venv/bin/activate"
|
||||
- "pip3 install 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'"
|
||||
- "su pmos -c 'git config --global user.email postmarketos-ci@localhost' || true"
|
||||
- "su pmos -c 'git config --global user.name postmarketOS_CI' || true"
|
||||
|
||||
stages:
|
||||
- checks
|
||||
|
|
Loading…
Reference in New Issue