Skip to content

Commit

Permalink
fix(build): add docker TLS options, remove codecov job
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Aug 6, 2021
1 parent 4d0a3df commit 04de2b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 21 deletions.
11 changes: 0 additions & 11 deletions .gitlab-ci.yml
Expand Up @@ -63,17 +63,6 @@ climate-success:
script:
- make upload-climate

codecov-success:
stage: status-post
extends:
- .build-codecov

when: on_success
dependencies:
- build-node
script:
- make upload-codecov

github-pending:
stage: status-pre
extends:
Expand Down
17 changes: 7 additions & 10 deletions config/gitlab/ci-tools.yml
Expand Up @@ -23,17 +23,10 @@
GIT_BRANCH: "${CI_COMMIT_REF_NAME}"
GIT_COMMIT_SHA: "${CI_COMMIT_SHA}"

.build-codecov:
image: docker.artifacts.apextoaster.com/apextoaster/codecov:3.7
tags:
- platform:k8s
- runner:shared
allow_failure: false

.build-docker:
image: docker.artifacts.apextoaster.com/apextoaster/docker:18.09
image: docker.artifacts.apextoaster.com/apextoaster/docker:20.10
services:
- apextoaster/docker-dind:18.09
- docker.artifacts.apextoaster.com/apextoaster/docker-dind:20.10
tags:
- platform:k8s
- runner:shared
Expand All @@ -48,8 +41,12 @@
- rm -rfv ${HOME}/.docker

variables:
DOCKER_CERT_PATH: "/shared/docker/client"
DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://localhost:2375
DOCKER_HOST: tcp://localhost:2376
DOCKER_TLS_CERTDIR: "/shared/docker"
DOCKER_TLS_VERIFY: 1
IMAGE_ROOT: "${CI_PROJECT_DIR}"

.build-node:
image: docker.artifacts.apextoaster.com/apextoaster/node:16.6
Expand Down

0 comments on commit 04de2b2

Please sign in to comment.