aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2023-08-29 22:00:04 -0500
committerMario Limonciello <mario.limonciello@amd.com>2023-08-30 22:58:36 -0500
commit69e68cde08fa58f2c53c5cac0b2148f833f08123 (patch)
tree414e794b06ec883b124bf8b3fcd0f7e9f042a23c
parent792115b20c84aa1cdee64272a5dbc44342710038 (diff)
downloadlinux-firmware-69e68cde08fa58f2c53c5cac0b2148f833f08123.tar.gz
Add gitlab ci for calling pre-commit and ci-fairy
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
-rw-r--r--.gitlab-ci.yml11
-rwxr-xr-xcheck_whence.py1
2 files changed, 12 insertions, 0 deletions
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",