Skip to content
Snippets Groups Projects

Resolve "Add asciidoctor syntax check to CI tests"

Merged Jon Azpiazu requested to merge 17-add-asciidoctor-syntax-check-to-ci-tests-2 into master
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline

Files

@@ -131,3 +131,20 @@ file_syntax:
when: always
tags:
- docker
##########################################################
## Check for errors in Asciidoctor files
## Could not find a proper linter for Asciidoctor format,
## so this is a custom-made "dirty" script
##########################################################
adoc_syntax:
stage: postcheck
image: alpine
before_script:
- apk add --update curl asciidoctor bash
script:
- curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/master/scripts/asciidoctor_syntax_check.bash | bash -s -- .
tags:
- docker
when: always
allow_failure: yes
Loading