Lines Matching +full:gitlab +full:- +full:ci
2 # SPDX-License-Identifier: GPL-2.0-or-later
4 # check-patch.py: run checkpatch.pl across all commits in a branch
6 # Based on qemu/.gitlab-ci.d/check-patch.py
16 repourl = "https://gitlab.freedesktop.org/%s.git" % os.environ["CI_MERGE_REQUEST_PROJECT_PATH"]
18 # GitLab CI environment does not give us any direct info about the
22 subprocess.call(["git", "remote", "remove", "check-patch"], stdout=subprocess.DEVNULL, stderr=subpr…
23 subprocess.check_call(["git", "remote", "add", "check-patch", repourl])
24 subprocess.check_call(["git", "fetch", "check-patch", os.environ["CI_MERGE_REQUEST_TARGET_BRANCH_NA…
28 ancestor = subprocess.check_output(["git", "merge-base",
29 … "check-patch/%s" % os.environ["CI_MERGE_REQUEST_TARGET_BRANCH_NAME"], "HEAD"],
34 log = subprocess.check_output(["git", "log", "--format=%H %s",
38 subprocess.check_call(["git", "remote", "rm", "check-patch"])
49 "--terse",
50 "--types", os.environ["CHECKPATCH_TYPES"],
51 "--git", ancestor + "..."])