From a1fbe651d52b3664af6df1335c79c21fba09b2f0 Mon Sep 17 00:00:00 2001 From: Lluis Campos Date: Tue, 9 Jul 2024 14:37:58 +0200 Subject: [PATCH 1/2] ci: Split static checks into two jobs Signed-off-by: Lluis Campos --- .gitlab-ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ed5aa509..76338464 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,14 +7,21 @@ include: stages: - test -test:static: +.test:static: stage: test image: ubuntu:20.04 needs: [] before_script: - apt-get update && apt-get install -y git clang-format pcregrep + +test:static:license: + extends: .test:static script: - ./.github/workflows/check_headers.sh + +test:static:format: + extends: .test:static + script: - ./.github/workflows/check_include_guards.sh - ./.github/workflows/check_equivalence_tests.sh - ./.github/workflows/check_code_format.sh From a4f20c0e241fb634ce856a42480a985dd4195b7a Mon Sep 17 00:00:00 2001 From: Lluis Campos Date: Tue, 9 Jul 2024 14:40:01 +0200 Subject: [PATCH 2/2] ci: Disable license check See https://northerntech.atlassian.net/browse/MEN-7396 Ticket: MEN-7386 Signed-off-by: Lluis Campos --- .gitlab-ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 76338464..1bd63f6d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,10 +14,11 @@ stages: before_script: - apt-get update && apt-get install -y git clang-format pcregrep -test:static:license: - extends: .test:static - script: - - ./.github/workflows/check_headers.sh +# MEN-7396: License checks disabled until we conclude on the licensing for the project +# test:static:license: +# extends: .test:static +# script: +# - ./.github/workflows/check_headers.sh test:static:format: extends: .test:static