-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
142 lines (120 loc) · 1.93 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
stages:
- build
.build: &build
stage: build
script:
- 'bin/build.sh $TARGET'
- 'bin/push.sh $TARGET'
- 'bin/cleanup.sh $TARGET'
only:
- /^master$/
tags:
- shell
.build-php: &build-php
stage: build
script:
- 'bin/build.sh php $TYPE $VERSION'
- 'bin/push.sh php'
- 'bin/cleanup.sh php'
only:
- /^master$/
tags:
- shell
before_script:
- docker-compose pull
# build apache
build-apache:
variables:
TARGET: apache
<<: *build
# build elasticsearch
build-elasticsearch:
variables:
TARGET: elasticsearch
<<: *build
# build mysql
build-mysql:
variables:
TARGET: mysql
<<: *build
# build percona
build-percona:
variables:
TARGET: percona
<<: *build
# build php
build-php-cli-7.3:
variables:
TYPE: cli
VERSION: '7.3'
<<: *build-php
build-php-cli-7.4:
variables:
TYPE: cli
VERSION: '7.4'
<<: *build-php
build-php-cli-8.0:
variables:
TYPE: cli
VERSION: '8.0'
<<: *build-php
build-php-cli-8.1:
variables:
TYPE: cli
VERSION: '8.1'
<<: *build-php
build-php-cli-8.2:
variables:
TYPE: cli
VERSION: '8.2'
<<: *build-php
build-php-fpm-7.3:
variables:
TYPE: fpm
VERSION: '7.3'
<<: *build-php
build-php-fpm-7.4:
variables:
TYPE: fpm
VERSION: '7.4'
<<: *build-php
build-php-fpm-8.0:
variables:
TYPE: fpm
VERSION: '8.0'
<<: *build-php
build-php-fpm-8.1:
variables:
TYPE: fpm
VERSION: '8.1'
<<: *build-php
build-php-fpm-8.2:
variables:
TYPE: fpm
VERSION: '8.2'
<<: *build-php
# build python
build-python:
variables:
TARGET: python
<<: *build
# build selenium-side-runner
build-selenium-side-runner:
variables:
TARGET: selenium-side-runner
<<: *build
# build solr
build-solr:
variables:
TARGET: solr
<<: *build
# build ssh
build-ssh:
variables:
TARGET: ssh
<<: *build
# build node
build-node:
variables:
TARGET: node
<<: *build