Abhilash Raj pushed to branch master at GNU Mailman / Mailman Core
Commits: d17802bf by Abhilash Raj at 2022-07-21T11:05:17+00:00 ci: Mark repo as safe for different user's ownership. Due to https://github.blog/2022-04-12-git-security-vulnerability-announced/, we need to set GIT_CEILING_DIRECTORIES to ensure that the checked out repo is trusted. - - - - - 65708c93 by Abhilash Raj at 2022-07-21T11:05:17+00:00 Merge branch 'fix-ci' into 'master' ci: Mark repo as safe for different user's ownership. See merge request mailman/mailman!1021 - - - - - 2 changed files: - .gitlab-ci.yml - tox.ini Changes: ===================================== .gitlab-ci.yml ===================================== @@ -16,6 +16,8 @@ variables: MYSQL_USER_PASSWORD: "runner" MYSQL_DATABASE: "test_mailman" LC_ALL: "C.UTF-8" + GIT_CEILING_DIRECTORIES: "/builds" + HOME: "/builds" qa: @@ -87,6 +89,8 @@ mysql-37: diffcov: script: + - git config --global --add safe.directory /builds/mailman/mailman + - git config safe.directory - tox -e py37-diffcov only: - merge_requests ===================================== tox.ini ===================================== @@ -27,10 +27,14 @@ passenv = PYTHON* LANG* LC_* + GIT_* + HOME setenv = cov: COVERAGE_PROCESS_START={[coverage]rcfile} cov: COVERAGE_OPTIONS="-p" cov: COVERAGE_FILE={toxinidir}/.coverage +allowlist_externals = + git [testenv:qa] basepython = python3 View it on GitLab: https://gitlab.com/mailman/mailman/-/compare/c9c9b15cd91564ef00d88d79474e029e5da58e20...65708c934185a3bf06a752691c77da1dcbfdab9b -- View it on GitLab: https://gitlab.com/mailman/mailman/-/compare/c9c9b15cd91564ef00d88d79474e029e5da58e20...65708c934185a3bf06a752691c77da1dcbfdab9b You're receiving this email because of your account on gitlab.com.
_______________________________________________ Mailman-checkins mailing list -- mailman-checkins@python.org To unsubscribe send an email to mailman-checkins-le...@python.org https://mail.python.org/mailman3/lists/mailman-checkins.python.org/ Member address: arch...@jab.org