From 69e68cde08fa58f2c53c5cac0b2148f833f08123 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Tue, 29 Aug 2023 22:00:04 -0500 Subject: [PATCH] Add gitlab ci for calling pre-commit and ci-fairy Signed-off-by: Mario Limonciello --- .gitlab-ci.yml | 11 +++++++++++ check_whence.py | 1 + 2 files changed, 12 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..ae001d16 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ + +check-commits: + image: registry.gitlab.com/kernel-firmware/linux-firmware + script: + - ci-fairy check-commits --signed-off-by + +pre-commit: + image: registry.gitlab.com/kernel-firmware/linux-firmware + script: + - pre-commit run --all-files + diff --git a/check_whence.py b/check_whence.py index 59a71990..db6ac0f5 100755 --- a/check_whence.py +++ b/check_whence.py @@ -74,6 +74,7 @@ def main(): [ ".gitignore", ".codespell.cfg", + ".gitlab-ci.yml", ".pre-commit-config.yaml", "check_whence.py", "configure",