Skip to content
Snippets Groups Projects
Commit 71722772 authored by Prada Sarasola, Miguel's avatar Prada Sarasola, Miguel
Browse files

Only clone clang-format config file in relevant job

parent e487ed27
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,6 @@ before_script: ...@@ -21,7 +21,6 @@ before_script:
- apk add --update bash coreutils tar - apk add --update bash coreutils tar
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .ci_config -b legacy - git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .ci_config -b legacy
- docker login ${ARTIFACT_DOCKER_URL} -u ${ARTIFACT_CI_USER} -p ${ARTIFACT_CI_TOKEN} - docker login ${ARTIFACT_DOCKER_URL} -u ${ARTIFACT_CI_USER} -p ${ARTIFACT_CI_TOKEN}
- wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/13-add-clang-format-to-the-ci-tests/clang-format -O .clang-format
script: .ci_config/gitlab.sh script: .ci_config/gitlab.sh
variables: variables:
ADDITIONAL_DEBS: curl ADDITIONAL_DEBS: curl
...@@ -79,6 +78,8 @@ industrial_ci_kinetic_deploy: ...@@ -79,6 +78,8 @@ industrial_ci_kinetic_deploy:
clang_format: clang_format:
extends: .industrial_ci extends: .industrial_ci
stage: postcheck stage: postcheck
before_script:
- wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/13-add-clang-format-to-the-ci-tests/clang-format -O .clang-format
variables: variables:
ROS_DISTRO: kinetic ROS_DISTRO: kinetic
CLANG_FORMAT_CHECK: file CLANG_FORMAT_CHECK: file
......
...@@ -21,7 +21,6 @@ before_script: ...@@ -21,7 +21,6 @@ before_script:
- apk add --update bash coreutils tar - apk add --update bash coreutils tar
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .ci_config -b legacy - git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .ci_config -b legacy
- docker login ${ARTIFACT_DOCKER_URL} -u ${ARTIFACT_CI_USER} -p ${ARTIFACT_CI_TOKEN} - docker login ${ARTIFACT_DOCKER_URL} -u ${ARTIFACT_CI_USER} -p ${ARTIFACT_CI_TOKEN}
- wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/13-add-clang-format-to-the-ci-tests/clang-format -O .clang-format
script: .ci_config/gitlab.sh script: .ci_config/gitlab.sh
variables: variables:
ADDITIONAL_DEBS: curl ADDITIONAL_DEBS: curl
...@@ -81,6 +80,8 @@ industrial_ci_kinetic_deploy: ...@@ -81,6 +80,8 @@ industrial_ci_kinetic_deploy:
clang_format: clang_format:
extends: .industrial_ci extends: .industrial_ci
stage: postcheck stage: postcheck
before_script:
- wget https://git.code.tecnalia.com/tecnalia_robotics-public/gitlab_templates/raw/13-add-clang-format-to-the-ci-tests/clang-format -O .clang-format
variables: variables:
ROS_DISTRO: kinetic ROS_DISTRO: kinetic
CLANG_FORMAT_CHECK: file CLANG_FORMAT_CHECK: file
......
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