-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitlab-ci.yml
71 lines (59 loc) · 1.33 KB
/
.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
stages:
- pre-build
- build
- build-review
- review
- test
- release
- deploy
variables:
DIST: "dist"
REPO: "bu/data-lab/website"
AUTHPASSWORD: ""
DOCKER_TLS_CERTDIR: ""
CI_REF: &ref 9452801422f44f0ec61ebe2179a6a7473ffd6d3d
include:
# BEFORE SCRIPT
- project: "templates/ci-snippets"
file: "simple-website/before-script.yml"
ref: *ref
# BUILD-REVIEW
- project: "templates/ci-snippets"
file: "simple-website/review/build-review.yml"
ref: *ref
# REVIEW
- project: "templates/ci-snippets"
file: "simple-website/review/review.yml"
ref: *ref
- project: "templates/ci-snippets"
file: "simple-website/review/stop-review.yml"
ref: *ref
# TEST
- project: "templates/ci-snippets"
file: "simple-website/blc.yml"
ref: *ref
# RELEASE
- project: "templates/ci-snippets"
file: "simple-website/release-docker.yml"
ref: *ref
- project: "templates/ci-snippets"
file: "simple-website/pages.yml"
ref: *ref
# DEPLOY
- project: "templates/ci-snippets"
file: "trigger-websites-deploy.yml"
ref: *ref
build:
image: dbogatov/docker-images:python-extras-latest
stage: build
script:
- pip3 install -r requirements.txt
- ./scripts/build.py
artifacts:
expire_in: 30 min
paths:
- dist
tags:
- docker
blc:
allow_failure: true