Add DCO check job to CI 'report' stage

With a slight workaround for a non-default branch.

Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
This commit is contained in:
Christophe Bedard 2020-09-10 19:51:08 -04:00
parent 203383f0f5
commit dcef27b707

View file

@ -72,6 +72,14 @@ coverage:
allow_failure: true
<<: *global_artifacts
dco:
stage: report
image: $BASE_IMAGE_ID:$DISTRO-base
before_script: []
script:
- pip3 install -U dco-check
- CI_DEFAULT_BRANCH=foxy dco-check --verbose --default-branch foxy
trigger_gen_docs:
stage: report
only: