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

Set artifactory registry as proxy to pull jobs' images

parent 11ce90c3
Branches
No related tags found
No related merge requests found
image: docker:git image: tecnalia-docker-dev.artifact.tecnalia.com/docker:git
variables: variables:
TMPDIR: /builds/${CI_PROJECT_NAMESPACE} TMPDIR: /builds/${CI_PROJECT_NAMESPACE}
...@@ -128,7 +128,7 @@ bash_syntax: ...@@ -128,7 +128,7 @@ bash_syntax:
########################################################## ##########################################################
markdown_syntax: markdown_syntax:
stage: postcheck stage: postcheck
script: docker run -v ${PWD}:/ac 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
tags: tags:
- docker - docker
...@@ -143,8 +143,8 @@ file_syntax: ...@@ -143,8 +143,8 @@ file_syntax:
stage: postcheck stage: postcheck
script: script:
- RET=0 - RET=0
- docker run -v ${PWD}:/ac cytopia/awesome-ci file-trailing-space --path=/ac --extension=py,txt,cpp,h,md,sh,bash,xml,launch --ignore=.ci_config || RET=1 - docker run -v ${PWD}:/ac tecnalia-docker-dev.artifact.tecnalia.com/cytopia/awesome-ci file-trailing-space --path=/ac --extension=py,txt,cpp,h,md,sh,bash,xml,launch --ignore=.ci_config || RET=1
- docker run -v ${PWD}:/ac cytopia/awesome-ci file-utf8 --path=/ac --extension=py,txt,cpp,h,md,sh,bash,xml,launch --ignore=.ci_config || RET=1 - docker run -v ${PWD}:/ac tecnalia-docker-dev.artifact.tecnalia.com/cytopia/awesome-ci file-utf8 --path=/ac --extension=py,txt,cpp,h,md,sh,bash,xml,launch --ignore=.ci_config || RET=1
- exit $RET - exit $RET
when: always when: always
tags: tags:
...@@ -157,7 +157,7 @@ file_syntax: ...@@ -157,7 +157,7 @@ file_syntax:
########################################################## ##########################################################
adoc_syntax: adoc_syntax:
stage: postcheck stage: postcheck
image: alpine image: tecnalia-docker-dev.artifact.tecnalia.com/alpine
before_script: before_script:
- apk add --update curl asciidoctor bash - apk add --update curl asciidoctor bash
script: script:
......
image: docker:git image: tecnalia-docker-dev.artifact.tecnalia.com/docker:git
variables: variables:
TMPDIR: /builds/${CI_PROJECT_NAMESPACE} TMPDIR: /builds/${CI_PROJECT_NAMESPACE}
...@@ -130,7 +130,7 @@ bash_syntax: ...@@ -130,7 +130,7 @@ bash_syntax:
########################################################## ##########################################################
markdown_syntax: markdown_syntax:
stage: postcheck stage: postcheck
script: docker run -v ${PWD}:/ac 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
tags: tags:
- docker - docker
...@@ -145,8 +145,8 @@ file_syntax: ...@@ -145,8 +145,8 @@ file_syntax:
stage: postcheck stage: postcheck
script: script:
- RET=0 - RET=0
- docker run -v ${PWD}:/ac cytopia/awesome-ci file-trailing-space --path=/ac --extension=py,txt,cpp,h,md,sh,bash,xml,launch --ignore=.ci_config || RET=1 - docker run -v ${PWD}:/ac tecnalia-docker-dev.artifact.tecnalia.com/cytopia/awesome-ci file-trailing-space --path=/ac --extension=py,txt,cpp,h,md,sh,bash,xml,launch --ignore=.ci_config || RET=1
- docker run -v ${PWD}:/ac cytopia/awesome-ci file-utf8 --path=/ac --extension=py,txt,cpp,h,md,sh,bash,xml,launch --ignore=.ci_config || RET=1 - docker run -v ${PWD}:/ac tecnalia-docker-dev.artifact.tecnalia.com/cytopia/awesome-ci file-utf8 --path=/ac --extension=py,txt,cpp,h,md,sh,bash,xml,launch --ignore=.ci_config || RET=1
- exit $RET - exit $RET
when: always when: always
tags: tags:
...@@ -159,7 +159,7 @@ file_syntax: ...@@ -159,7 +159,7 @@ file_syntax:
########################################################## ##########################################################
adoc_syntax: adoc_syntax:
stage: postcheck stage: postcheck
image: alpine image: tecnalia-docker-dev.artifact.tecnalia.com/alpine
before_script: before_script:
- apk add --update curl asciidoctor bash - apk add --update curl asciidoctor bash
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment