]> git.apps.os.sepia.ceph.com Git - linux-firmware.git/commitdiff
Add gitlab ci for calling pre-commit and ci-fairy
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 30 Aug 2023 03:00:04 +0000 (22:00 -0500)
committerMario Limonciello <mario.limonciello@amd.com>
Thu, 31 Aug 2023 03:58:36 +0000 (22:58 -0500)
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
.gitlab-ci.yml [new file with mode: 0644]
check_whence.py

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644 (file)
index 0000000..ae001d1
--- /dev/null
@@ -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
+
index 59a7199086a6dfb819d00e994aae7a5d6e0cb9ce..db6ac0f5d1c5af5159d945066a4ef5fa3230353c 100755 (executable)
@@ -74,6 +74,7 @@ def main():
         [
             ".gitignore",
             ".codespell.cfg",
+            ".gitlab-ci.yml",
             ".pre-commit-config.yaml",
             "check_whence.py",
             "configure",