From 1dac1e4b4b9e345bdf3cf02db99e71466dcbc256 Mon Sep 17 00:00:00 2001
From: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Date: Tue, 26 Oct 2021 12:40:55 +0200
Subject: [PATCH] .gitlab-ci.yml: enable DCO and REUSE checks

REUSE is allowed to fail, DCO is enforced.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
---
 .gitlab-ci.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2a7be44b..de1e5575 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,8 +25,16 @@ include:
  - local: '/.oniro-ci/build-generic.yaml'
  - local: '/.oniro-ci/test-generic.yaml'
  - local: '/.oniro-ci/machines-and-flavours.yaml'
+ - local: '/.oniro-ci/dco.yaml'
+ - local: '/.oniro-ci/reuse.yaml'
  - template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
 
+dco:
+  extends: .dco
+
+reuse:
+  extends: .reuse
+  allow_failure: true
 
 build-docs:
   extends: .build-docs
-- 
GitLab