[Git][NTPsec/ntpsec][master] Migrate away from deprecated Code Quality template

Matt Selsky (@selsky) gitlab at mg.gitlab.com
Thu Oct 22 19:59:21 UTC 2026



Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
a500f80f by Matt Selsky at 2026-10-21T22:37:00-04:00
Migrate away from deprecated Code Quality template

As per
https://docs.gitlab.com/ci/testing/code_quality/#use-the-built-in-code-quality-cicd-template-deprecated,
the built-in Code Quality is deprecated and has stopped working.

Instead we use specific scanners explicitly via CI/CD, starting with
cppcheck and ruff.

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -27,7 +27,6 @@ pages:
     - gitlab-org
 
 include:
-  - template: Code-Quality.gitlab-ci.yml
   - template: SAST.gitlab-ci.yml
   - local: '.gitlab-opttest-ci.yml'
   - local: '.gitlab-docker-ci.yml'
@@ -507,3 +506,24 @@ feature-mssntp:
   image: $IMAGE_REGISTRY/alpine
   script:
     - python3 ./waf configure --enable-warnings --enable-Werror --disable-doc --disable-manpage --refclock=all --enable-mssntp build
+
+code-quality-c:
+  <<: *job_definition
+  stage: test
+  image: $IMAGE_REGISTRY/quality-checks
+  script:
+    - cppcheck --xml --enable=warning,style,performance,portability -I include -i libaes_siv -i attic -i build . 2> cppcheck-report.xml
+    - cppcheck-codequality --input-file cppcheck-report.xml --output-file gl-code-quality-c.json
+  artifacts:
+    reports:
+      codequality: gl-code-quality-c.json
+
+code-quality-python:
+  <<: *job_definition
+  stage: test
+  image: $IMAGE_REGISTRY/quality-checks
+  script:
+    - ruff check --output-format gitlab --output-file gl-code-quality-python.json . || true
+  artifacts:
+    reports:
+      codequality: gl-code-quality-python.json



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/a500f80f046bb8b3d84dd954409e9c2254d6d8f8

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/a500f80f046bb8b3d84dd954409e9c2254d6d8f8
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20261022/073b4269/attachment-0001.htm>


More information about the vc mailing list