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

Move image definition to each job

parent b86fe23b
No related branches found
No related tags found
1 merge request!56Draft: Resolve "Change default docker registry"
Pipeline #47210 failed
image: tecnalia-docker-dev.artifact.tecnalia.com/docker:dind
variables:
TMPDIR: /builds/${CI_PROJECT_NAMESPACE}
GIT_LFS_SKIP_SMUDGE: 1 # Avoid fetching the files from LFS when doing git fetch
......@@ -14,6 +12,7 @@ before_script:
- docker login tecnalia-docker-dev.artifact.tecnalia.com -u ${ARTIFACT_CI_USER} -p ${ARTIFACT_CI_TOKEN}
.industrial_ci:
image: tecnalia-docker-dev.artifact.tecnalia.com/docker:dind
stage: build
before_script:
- apk add --update bash coreutils tar
......@@ -76,6 +75,7 @@ industrial_ci_kinetic_deploy:
- tags
clang_format:
image: tecnalia-docker-dev.artifact.tecnalia.com/docker:git
stage: postcheck
before_script:
- apk add --update bash coreutils tar wget
......@@ -95,6 +95,7 @@ clang_format:
## other options like pylint, but much faster and less strict
##########################################################
python_syntax:
image: tecnalia-docker-dev.artifact.tecnalia.com/docker:git
before_script:
- apk add --update python2
stage: precheck
......@@ -108,6 +109,7 @@ python_syntax:
## Uses https://github.com/koalaman/shellcheck
##########################################################
bash_syntax:
image: tecnalia-docker-dev.artifact.tecnalia.com/docker:git
before_script:
- apk add --update shellcheck
stage: postcheck
......@@ -128,6 +130,7 @@ bash_syntax:
## https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
##########################################################
markdown_syntax:
image: tecnalia-docker-dev.artifact.tecnalia.com/docker:git
stage: postcheck
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
......@@ -141,6 +144,7 @@ markdown_syntax:
## Uses https://github.com/cytopia/awesome-ci
##########################################################
file_syntax:
image: tecnalia-docker-dev.artifact.tecnalia.com/docker:git
stage: postcheck
script:
- RET=0
......
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