Commit ddc048bf authored by Iñigo Moreno i Caireta's avatar Iñigo Moreno i Caireta
Browse files

Generate undefined badges

parent 5d2f3f26
Pipeline #57001 passed with stage
in 9 seconds
......@@ -16,7 +16,6 @@ services:
stages:
- build
- test
before_script:
- apk add --update bash coreutils tar wget py-pip
......@@ -30,3 +29,14 @@ include:
default:
tags:
- docker
badges:
stage: .post
script:
- if [ ! -f "./badges/kinetic.svg" ]; then anybadge -l kinetic -v undefined -c gray -f ./badges/kinetic.svg; fi
- if [ ! -f "./badges/melodic.svg" ]; then anybadge -l melodic -v undefined -c gray -f ./badges/melodic.svg; fi
- if [ ! -f "./badges/noetic.svg" ]; then anybadge -l noetic -v undefined -c gray -f ./badges/noetic.svg; fi
artifacts:
paths:
- ./badges
......@@ -3,7 +3,7 @@
##########################################################
clang_format:
stage: test
stage: .post
before_script:
- apk add --update bash coreutils tar wget
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .ci_config -b legacy
......@@ -33,7 +33,7 @@ python_syntax:
bash_syntax:
before_script:
- apk add --update shellcheck
stage: test
stage: .post
script:
- RET=0
- find . -type f -name '*.sh' -exec shellcheck -s sh {} + || RET=1
......@@ -49,7 +49,7 @@ bash_syntax:
## https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
##########################################################
markdown_syntax:
stage: test
stage: .post
script: docker run -v ${PWD}:/ac tecnalia-docker-dev.artifact.tecnalia.com/cytopia/awesome-ci syntax-markdown --path=/ac --extension=md --ignore=.ci_config --custom="-r ~MD013,~MD014"
when: always
......@@ -60,7 +60,7 @@ markdown_syntax:
## Uses https://github.com/cytopia/awesome-ci
##########################################################
file_syntax:
stage: test
stage: .post
script:
- RET=0
- docker run -v ${PWD}:/ac tecnalia-docker-dev.artifact.tecnalia.com/cytopia/awesome-ci file-trailing-space --path=/ac --extension=py,txt,cpp,h,md,sh,bash,xml,launch --ignore=.ci_config || RET=1
......@@ -74,7 +74,7 @@ file_syntax:
## so this is a custom-made "dirty" script
##########################################################
adoc_syntax:
stage: test
stage: .post
image: tecnalia-docker-dev.artifact.tecnalia.com/alpine
before_script:
- apk add --update curl asciidoctor bash
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment