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:
build_dev:
stage: build_dev
image: docker:stable
services:
- docker:dind
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
script:
- docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
- docker build -t ${CI_REGISTRY_IMAGE}/dev:${CI_PIPELINE_ID} .
......@@ -30,11 +25,6 @@ build_dev:
build_test:
stage: build_test
image: docker:stable
services:
- docker:dind
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
script:
- docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
- docker build -t ${CI_REGISTRY_IMAGE}/test:${CI_PIPELINE_ID} .
......@@ -70,11 +60,6 @@ build_prod:
deploy_to_test:
stage: deploy_to_test
image: docker:stable
services:
- docker:dind
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
script:
- 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
......@@ -92,11 +77,6 @@ deploy_to_test:
run_test:
stage: run_tests
image: docker:stable
services:
- docker:dind
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
script:
- docker build -f Dockerfile-tests .
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