-
Notifications
You must be signed in to change notification settings - Fork 15
/
.gitlab-ci.yml
42 lines (35 loc) · 827 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
image: alpine:3.9
variables:
# Software versions for command line tools
KUBERNETES_VERSION: 1.15.0
HELM_VERSION: 2.14.2
# Project information
PROJECT_NAME: drupalwxt/site-wxt
# Docker
DOCKER_DRIVER: overlay2
DOCKER_HOST: 'tcp://localhost:2375'
DOCKER_TLS_CERTDIR: ''
stages:
- build
- test
- deploy
- cleanup
before_script:
- command -v git && git config --global credential.helper store
# - echo https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.example.ca > ~/.git-credentials
- source .gitlab-ci/env.sh
- source .gitlab-ci/common.sh
build:
stage: build
image: sylus/gitlab-ci
services:
- docker:stable-dind
script:
- .gitlab-ci/build.sh
# test:
# stage: test
# image: sylus/gitlab-ci
# services:
# - docker:stable-dind
# script:
# - .gitlab-ci/test.sh