Commit 866bdddf authored by David Mendez's avatar David Mendez
Browse files

CI: loging into dependency proxy

parent 82a81661
......@@ -42,7 +42,7 @@ stages:
# ----------------------------------------------------------------------------------------------------------------------
build_docker_image_server:
image:
name: docker/compose:1.24.1
name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/docker/compose:1.24.1
entrypoint: ["/bin/sh", "-c"]
stage: build
variables:
......@@ -56,7 +56,7 @@ build_docker_image_server:
script:
- set -x
- docker version # verify docker cli is there. Also prints server info
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
- echo ${CI_DEPENDENCY_PROXY_PASSWORD} | docker login -u ${CI_DEPENDENCY_PROXY_USER} --password-stdin ${CI_DEPENDENCY_PROXY_SERVER}
- echo $DOCKERHUB_REGISTRY_PASSWORD | docker login -u $DOCKERHUB_REGISTRY_USER --password-stdin $DOCKERHUB_REGISTRY
- echo building $SERVER_IMAGE_TAG
- docker-compose build delayed-jobs-server-prod
......@@ -84,7 +84,7 @@ pylint:
prepare_config_tests:
stage: prepare_config_tests
image:
name: alpine/git
name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/alpine/git
entrypoint: ["/bin/sh", "-c"]
except:
- schedules
......@@ -114,7 +114,7 @@ unit_tests:
prepare_config_staging:
stage: prepare_config_staging
image:
name: alpine/git
name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/alpine/git
entrypoint: ["/bin/sh", "-c"]
only:
- staging
......@@ -135,7 +135,7 @@ prepare_config_staging:
deploy_to_staging:
stage: deploy_to_staging
image:
name: lachlanevenson/k8s-kubectl:latest
name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/lachlanevenson/k8s-kubectl:latest
entrypoint: ["/bin/sh", "-c"]
only:
- staging
......@@ -204,7 +204,7 @@ functional_tests_staging:
prepare_config_prod_hx:
stage: prepare_config_hx_hh
image:
name: alpine/git
name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/alpine/git
entrypoint: ["/bin/sh", "-c"]
only:
- master
......@@ -224,7 +224,7 @@ prepare_config_prod_hx:
deploy_to_prod_hx:
stage: deploy_to_prod_hx_hh
image:
name: lachlanevenson/k8s-kubectl:latest
name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/lachlanevenson/k8s-kubectl:latest
entrypoint: ["/bin/sh", "-c"]
only:
- master
......@@ -285,7 +285,7 @@ functional_tests_prod_hx:
prepare_config_prod_hh:
stage: prepare_config_hx_hh
image:
name: alpine/git
name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/alpine/git
entrypoint: ["/bin/sh", "-c"]
only:
- master
......@@ -305,7 +305,7 @@ prepare_config_prod_hh:
deploy_to_prod_hh:
stage: deploy_to_prod_hx_hh
image:
name: lachlanevenson/k8s-kubectl:latest
name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/lachlanevenson/k8s-kubectl:latest
entrypoint: ["/bin/sh", "-c"]
only:
- master
......@@ -381,7 +381,7 @@ functional_tests_prod_public:
# ----------------------------------------------------------------------------------------------------------------------
delete_expired_jobs:
stage: schedules
image: 'python:3.7'
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/python:3.7
only:
- schedules
script:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment