Skip to content
Snippets Groups Projects
Commit b2ec6487 authored by Jon Azpiazu's avatar Jon Azpiazu
Browse files

Merge branch 'add-tag-to-use-shared-runners' into 'master'

Add tag to jobs to enable shared runners

See merge request !33
parents 3dad22c0 4cca45f3
No related branches found
No related tags found
1 merge request!33Add tag to jobs to enable shared runners
Pipeline #16252 passed
shellcheck: shellcheck:
image: koalaman/shellcheck-alpine image: koalaman/shellcheck-alpine
script: shellcheck deploy/base/ros_entrypoint.bash scripts/*sh script: shellcheck deploy/base/ros_entrypoint.bash scripts/*sh
tags:
- docker
# The ignored rules in hadolint checks are # The ignored rules in hadolint checks are
# DL3006 Always tag the version of an image explicitly # DL3006 Always tag the version of an image explicitly
...@@ -16,7 +18,11 @@ dockerfiles: ...@@ -16,7 +18,11 @@ dockerfiles:
- hadolint --ignore DL3006 --ignore DL3008 deploy/base/Dockerfile || RET=1 - hadolint --ignore DL3006 --ignore DL3008 deploy/base/Dockerfile || RET=1
- hadolint --ignore DL3006 --ignore DL3008 deploy/dev/Dockerfile || RET=1 - hadolint --ignore DL3006 --ignore DL3008 deploy/dev/Dockerfile || RET=1
- exit $RET - exit $RET
tags:
- docker
yamllint: yamllint:
image: sdesbure/yamllint image: sdesbure/yamllint
script: yamllint $(find . -name '*.yml' -o -name '*.yaml') script: yamllint $(find . -name '*.yml' -o -name '*.yaml')
tags:
- docker
...@@ -30,6 +30,8 @@ before_script: ...@@ -30,6 +30,8 @@ before_script:
BEFORE_SCRIPT: bash <(curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/master/scripts/ci_run_entry_points.sh) $$CATKIN_WORKSPACE BEFORE_SCRIPT: bash <(curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/master/scripts/ci_run_entry_points.sh) $$CATKIN_WORKSPACE
CMAKE_ARGS: -DCMAKE_CXX_FLAGS=-Wno-ignored-attributes -Wno-int-in-bool-context CMAKE_ARGS: -DCMAKE_CXX_FLAGS=-Wno-ignored-attributes -Wno-int-in-bool-context
when: always when: always
tags:
- docker
industrial_ci_kinetic: industrial_ci_kinetic:
extends: .industrial_ci_kinetic extends: .industrial_ci_kinetic
...@@ -66,6 +68,8 @@ python_syntax: ...@@ -66,6 +68,8 @@ python_syntax:
stage: precheck stage: precheck
script: python -m compileall -q . script: python -m compileall -q .
when: always when: always
tags:
- docker
########################################################## ##########################################################
## Check for errors in bash/sh scripts ## Check for errors in bash/sh scripts
...@@ -80,6 +84,8 @@ bash_syntax: ...@@ -80,6 +84,8 @@ bash_syntax:
- exit $RET - exit $RET
allow_failure: yes allow_failure: yes
when: always when: always
tags:
- docker
########################################################## ##########################################################
## Check for errors in markdown files ## Check for errors in markdown files
...@@ -93,6 +99,8 @@ markdown_syntax: ...@@ -93,6 +99,8 @@ markdown_syntax:
script: docker run -v ${PWD}:/ac cytopia/awesome-ci syntax-markdown --path=/ac --extension=md --ignore=.ci_config --custom="-r ~MD013" script: docker run -v ${PWD}:/ac cytopia/awesome-ci syntax-markdown --path=/ac --extension=md --ignore=.ci_config --custom="-r ~MD013"
allow_failure: yes allow_failure: yes
when: always when: always
tags:
- docker
########################################################## ##########################################################
## Check for various syntax issues in files; currently ## Check for various syntax issues in files; currently
...@@ -109,3 +117,5 @@ file_syntax: ...@@ -109,3 +117,5 @@ file_syntax:
- exit $RET - exit $RET
allow_failure: yes allow_failure: yes
when: always when: always
tags:
- docker
...@@ -32,6 +32,8 @@ before_script: ...@@ -32,6 +32,8 @@ before_script:
BEFORE_SCRIPT: bash <(curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/master/scripts/ci_run_entry_points.sh) $$CATKIN_WORKSPACE BEFORE_SCRIPT: bash <(curl -Ls https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/master/scripts/ci_run_entry_points.sh) $$CATKIN_WORKSPACE
CMAKE_ARGS: -DCMAKE_CXX_FLAGS=-Wno-ignored-attributes -Wno-int-in-bool-context CMAKE_ARGS: -DCMAKE_CXX_FLAGS=-Wno-ignored-attributes -Wno-int-in-bool-context
when: always when: always
tags:
- docker
industrial_ci_kinetic: industrial_ci_kinetic:
extends: .industrial_ci_kinetic extends: .industrial_ci_kinetic
...@@ -68,6 +70,8 @@ python_syntax: ...@@ -68,6 +70,8 @@ python_syntax:
stage: precheck stage: precheck
script: python -m compileall -q . script: python -m compileall -q .
when: always when: always
tags:
- docker
########################################################## ##########################################################
## Check for errors in bash/sh scripts ## Check for errors in bash/sh scripts
...@@ -82,6 +86,8 @@ bash_syntax: ...@@ -82,6 +86,8 @@ bash_syntax:
- exit $RET - exit $RET
allow_failure: yes allow_failure: yes
when: always when: always
tags:
- docker
########################################################## ##########################################################
## Check for errors in markdown files ## Check for errors in markdown files
...@@ -95,6 +101,8 @@ markdown_syntax: ...@@ -95,6 +101,8 @@ markdown_syntax:
script: docker run -v ${PWD}:/ac cytopia/awesome-ci syntax-markdown --path=/ac --extension=md --ignore=.ci_config --custom="-r ~MD013" script: docker run -v ${PWD}:/ac cytopia/awesome-ci syntax-markdown --path=/ac --extension=md --ignore=.ci_config --custom="-r ~MD013"
allow_failure: yes allow_failure: yes
when: always when: always
tags:
- docker
########################################################## ##########################################################
## Check for various syntax issues in files; currently ## Check for various syntax issues in files; currently
...@@ -111,3 +119,5 @@ file_syntax: ...@@ -111,3 +119,5 @@ file_syntax:
- exit $RET - exit $RET
allow_failure: yes allow_failure: yes
when: always when: always
tags:
- docker
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment