Commit 213445d3 authored by Anton Borisov's avatar Anton Borisov

Update .gitlab-ci.yml

parent 660243c8
Pipeline #640 failed with stages
in 4 minutes and 49 seconds
...@@ -10,11 +10,6 @@ stages: ...@@ -10,11 +10,6 @@ stages:
build_dev: build_dev:
stage: build_dev stage: build_dev
image: docker:stable image: docker:stable
services:
- docker:dind
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
script: script:
- docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY} - docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
- docker build -t ${CI_REGISTRY_IMAGE}/dev:${CI_PIPELINE_ID} . - docker build -t ${CI_REGISTRY_IMAGE}/dev:${CI_PIPELINE_ID} .
...@@ -30,11 +25,6 @@ build_dev: ...@@ -30,11 +25,6 @@ build_dev:
build_test: build_test:
stage: build_test stage: build_test
image: docker:stable image: docker:stable
services:
- docker:dind
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
script: script:
- docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY} - docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
- docker build -t ${CI_REGISTRY_IMAGE}/test:${CI_PIPELINE_ID} . - docker build -t ${CI_REGISTRY_IMAGE}/test:${CI_PIPELINE_ID} .
...@@ -70,11 +60,6 @@ build_prod: ...@@ -70,11 +60,6 @@ build_prod:
deploy_to_test: deploy_to_test:
stage: deploy_to_test stage: deploy_to_test
image: docker:stable image: docker:stable
services:
- docker:dind
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
script: script:
- sed 's|_IMAGE_NAME_|'"${CI_REGISTRY_IMAGE}/test"'|g; s|_VERSION_|'"${CI_PIPELINE_ID}"'|g' app.tpl.yml > app.yml; cat app.yml - sed 's|_IMAGE_NAME_|'"${CI_REGISTRY_IMAGE}/test"'|g; s|_VERSION_|'"${CI_PIPELINE_ID}"'|g' app.tpl.yml > app.yml; cat app.yml
- wget https://storage.googleapis.com/kubernetes-release/release/v1.13.3/bin/linux/amd64/kubectl && chmod +x ./kubectl - wget https://storage.googleapis.com/kubernetes-release/release/v1.13.3/bin/linux/amd64/kubectl && chmod +x ./kubectl
...@@ -92,11 +77,6 @@ deploy_to_test: ...@@ -92,11 +77,6 @@ deploy_to_test:
run_test: run_test:
stage: run_tests stage: run_tests
image: docker:stable image: docker:stable
services:
- docker:dind
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
script: script:
- docker build -f Dockerfile-tests . - docker build -f Dockerfile-tests .
allow_failure: true allow_failure: true
......
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