diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d751756bfc3260bc53b8f9de40c81176083ff5b..3d2cc4d3f782e1f098a251126b4e3d9b2f1a3991 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,10 @@ +shellcheck: + image: tecnalia-docker-dev.artifact.tecnalia.com/koalaman/shellcheck-alpine + script: shellcheck scripts/*sh + tags: + - docker + + yamllint: image: tecnalia-docker-dev.artifact.tecnalia.com/sdesbure/yamllint script: yamllint $(find . -name '*.yml' -o -name '*.yaml') diff --git a/ci-templates/industrial-ci-templates.yml b/ci-templates/industrial-ci-templates.yml index 5fae22d6b33ac10646c21d373a95295c0a3ab58f..690d3651f971d241e4cb19605a154881a042d55d 100644 --- a/ci-templates/industrial-ci-templates.yml +++ b/ci-templates/industrial-ci-templates.yml @@ -48,7 +48,7 @@ - git config --global credential.helper store - echo https://$ARTIFACT_CI_USER:$ARTIFACT_CI_TOKEN@artifact.tecnalia.com > ~/.git-credentials # install ddeploy - - oldpath=$(pwd) && cd /tmp && git clone --quiet --depth 1 git@git.code.tecnalia.com:tecnalia_robotics/flexbotics/flexbotics_utils/ddeploy.git && cd ddeploy && pip install -r requirements.txt && pip install . && cd $oldpath + - pip install git+ssh://git@git.code.tecnalia.com/tecnalia_robotics/flexbotics/flexbotics_utils/ddeploy.git - docker login ${DOCKER_BASE_REGISTRY} -u ${DOCKER_BASE_USER} -p ${DOCKER_BASE_TOKEN} script: - echo "[]" > /tmp/empty.rosinstall