Skip to content
Snippets Groups Projects
Unverified Commit ef63115a authored by Newbyte's avatar Newbyte :snowflake:
Browse files

test_upstream_compat_setup: mark pmaports as safe (MR 8)

Seems to be necessary following some git CVE.
parent 56908405
Branches
No related tags found
1 merge request!8test_upstream_compat_setup: mark pmaports as safe
Pipeline #175353 passed
......@@ -4,6 +4,7 @@ wget "https://gitlab.com/postmarketOS/ci-common/-/raw/master/install_pmbootstrap
sh ./install_pmbootstrap.sh pytest
ln -s /tmp/pmbootstrap/pmb .
export PMAPORTS="/home/pmos/.local/var/pmbootstrap/cache_git/pmaports"
git config --global --add safe.directory "$PMAPORTS"
git -C "$PMAPORTS" checkout "$1"
pytest -vv test_upstream_compat.py
touch upstream-compat-"$1".check-passed
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment