2020-08-11 23:11:29 +00:00
|
|
|
.build-base:
|
2020-12-29 18:39:57 +00:00
|
|
|
image: docker.artifacts.apextoaster.com/apextoaster/base:1.2
|
2020-08-11 23:11:29 +00:00
|
|
|
tags:
|
|
|
|
- platform:k8s
|
|
|
|
- runner:shared
|
|
|
|
|
|
|
|
.build-aws:
|
|
|
|
extends:
|
|
|
|
- .build-base
|
|
|
|
|
|
|
|
.build-curl:
|
|
|
|
extends:
|
|
|
|
- .build-base
|
|
|
|
|
|
|
|
.build-climate:
|
2020-12-29 18:39:57 +00:00
|
|
|
image: docker.artifacts.apextoaster.com/apextoaster/code-climate:0.6
|
2020-08-11 23:11:29 +00:00
|
|
|
tags:
|
|
|
|
- platform:k8s
|
|
|
|
- runner:shared
|
|
|
|
allow_failure: false
|
|
|
|
variables:
|
|
|
|
CI_BRANCH: "${CI_COMMIT_REF_NAME}"
|
|
|
|
GIT_BRANCH: "${CI_COMMIT_REF_NAME}"
|
|
|
|
GIT_COMMIT_SHA: "${CI_COMMIT_SHA}"
|
|
|
|
|
|
|
|
.build-codecov:
|
2020-12-29 18:39:57 +00:00
|
|
|
image: docker.artifacts.apextoaster.com/apextoaster/codecov:3.7
|
2020-08-11 23:11:29 +00:00
|
|
|
tags:
|
|
|
|
- platform:k8s
|
|
|
|
- runner:shared
|
|
|
|
allow_failure: false
|
|
|
|
|
|
|
|
.build-docker:
|
2020-12-29 18:39:57 +00:00
|
|
|
image: docker.artifacts.apextoaster.com/apextoaster/docker:18.09
|
2020-08-11 23:11:29 +00:00
|
|
|
services:
|
|
|
|
- apextoaster/docker-dind:18.09
|
|
|
|
tags:
|
|
|
|
- platform:k8s
|
|
|
|
- runner:shared
|
|
|
|
allow_failure: false
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- mkdir ${HOME}/.docker
|
|
|
|
- echo "${DOCKER_SECRET}" | base64 -d > ${HOME}/.docker/config.json
|
|
|
|
script:
|
|
|
|
- ${CI_PROJECT_DIR}/scripts/docker-build.sh --push
|
|
|
|
after_script:
|
|
|
|
- rm -rfv ${HOME}/.docker
|
|
|
|
|
|
|
|
variables:
|
|
|
|
DOCKER_DRIVER: overlay2
|
|
|
|
DOCKER_HOST: tcp://localhost:2375
|
|
|
|
|
|
|
|
.build-node:
|
2020-12-29 18:39:57 +00:00
|
|
|
image: docker.artifacts.apextoaster.com/apextoaster/node:12.18
|
2020-08-11 23:11:29 +00:00
|
|
|
tags:
|
|
|
|
- platform:k8s
|
|
|
|
- runner:shared
|
|
|
|
allow_failure: false
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- echo "${NPM_SECRET}" | base64 -d > ${HOME}/.npmrc
|
|
|
|
|
|
|
|
.build-sonar:
|
2020-12-29 18:39:57 +00:00
|
|
|
image: docker.artifacts.apextoaster.com/apextoaster/sonar-scanner:4.4
|
2020-08-11 23:11:29 +00:00
|
|
|
tags:
|
|
|
|
- platform:k8s
|
|
|
|
- runner:shared
|
2020-12-29 18:39:57 +00:00
|
|
|
allow_failure: false
|