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