2019-09-17 13:05:36 +00:00
|
|
|
.build-curl:
|
|
|
|
image: apextoaster/base:1.2
|
|
|
|
tags:
|
|
|
|
- platform:k8s
|
|
|
|
- runner:shared
|
|
|
|
|
|
|
|
.build-climate:
|
|
|
|
image: apextoaster/code-climate:0.6
|
|
|
|
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:
|
|
|
|
image: apextoaster/codecov:3.1
|
|
|
|
tags:
|
|
|
|
- platform:k8s
|
|
|
|
- runner:shared
|
|
|
|
allow_failure: false
|
|
|
|
|
|
|
|
.build-docker:
|
|
|
|
image: docker:18.09.9
|
|
|
|
services:
|
|
|
|
- docker:18.09.9-dind
|
|
|
|
tags:
|
|
|
|
- platform:k8s
|
|
|
|
- runner:shared
|
|
|
|
allow_failure: false
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- mkdir ${HOME}/.docker
|
|
|
|
- echo "${DOCKER_SECRET}" | base64 -d > ${HOME}/.docker/config.json
|
|
|
|
script:
|
2019-09-21 10:14:27 +00:00
|
|
|
- ${CI_PROJECT_DIR}/scripts/docker-build.sh
|
2019-09-17 13:05:36 +00:00
|
|
|
after_script:
|
|
|
|
- rm -rfv ${HOME}/.docker
|
|
|
|
|
|
|
|
variables:
|
|
|
|
DOCKER_DRIVER: overlay2
|
|
|
|
DOCKER_HOST: tcp://localhost:2375
|
|
|
|
|
|
|
|
.build-node:
|
|
|
|
image: apextoaster/node:10.1
|
|
|
|
tags:
|
|
|
|
- platform:k8s
|
|
|
|
- runner:shared
|
|
|
|
allow_failure: false
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- echo "${NPM_SECRET}" | base64 -d > ${HOME}/.npmrc
|
|
|
|
|
|
|
|
.build-sonar:
|
|
|
|
image: apextoaster/sonar-scanner:3.3
|
|
|
|
tags:
|
|
|
|
- platform:k8s
|
|
|
|
- runner:shared
|
|
|
|
allow_failure: false
|