-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimages.yml
269 lines (269 loc) · 10.3 KB
/
images.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
---
base_url: 'https://gitlab.com/coq-community/docker-rocq'
active: true
docker_repo: 'rocq/rocq-prover'
vars:
# TODO: Update when appropriate
rocq_latest: '8.20.1'
args:
BUILD_DATE: '{defaults[build_date]}'
# propagate:
# mathcomp:
# api_token_env_var: 'DMC_TOKEN'
# gitlab_domain: 'gitlab.inria.fr'
# gitlab_project: '44938'
# strategy:
# - when: 'rebuild-all'
# mode: 'rebuild-all'
# - when: 'forall'
# expr: '{matrix[rocq][//pl/.][%.*]}'
# subset: '8.4,8.5'
# mode: 'nil'
# - # when OPTIONAL for last rule
# mode: 'rebuild-keyword'
# item: '{keywords[/#/,][#,]}'
# mathcomp-dev:
# api_token_env_var: 'MC_TOKEN'
# gitlab_domain: 'gitlab.inria.fr'
# gitlab_project: '44939'
# strategy:
# - when: 'rebuild-all'
# mode: 'minimal'
# - when: 'forall'
# expr: '{matrix[rocq]}'
# subset: 'dev'
# mode: 'nightly'
# - when: 'exists'
# expr: '{matrix[rocq][//pl/.][%.*]}'
# subset: '8.18,8.19,8.20,dev'
# mode: 'minimal'
# - # when OPTIONAL for last rule
# mode: 'nil'
images:
## rocq/rocq-prover:dev
## rocq/rocq-prover:dev-ocaml-*
- matrix:
default: ['4.14.2-flambda']
base: ['4.14.2-flambda', '4.13.1-flambda', '4.12.1-flambda', '4.09.1-flambda']
rocq: ['dev']
build: &build_rocq_dev
keywords:
- 'dev'
context: './rocq'
dockerfile: './dev/Dockerfile'
commit_api:
fetcher: 'github'
repo: 'coq/coq'
branch: 'master'
args:
BASE_TAG: 'rocq_{matrix[base]}'
ROCQ_VERSION: '{matrix[rocq]}'
ROCQ_COMMIT: '{defaults[commit]}'
VCS_REF: '{defaults[commit][0:7]}'
ROCQ_EXTRA_OPAM: 'rocq-bignums'
tags:
# full tag
- tag: '{matrix[rocq]}-ocaml-{matrix[base]}'
# abbreviated tag (*-ocaml-4.14-flambda)
- tag: '{matrix[rocq]}-ocaml-{matrix[base][%.*-*]}-flambda'
# default tag (dev)
- tag: '{matrix[rocq]}'
if: '{matrix[base]} == {matrix[default]}'
## rocq/rocq-prover:dev-native
- matrix:
# TODO: Bump default version
default: ['4.14.2']
base: ['4.14.2', '4.14.2-flambda']
rocq: ['dev']
build:
<<: *build_rocq_dev
# no need for gitlab pipeline trigger after rocq/rocq-prover:dev-native's build
# after_deploy: []
args:
BASE_TAG: 'rocq_{matrix[base]}'
ROCQ_VERSION: '{matrix[rocq]}'
ROCQ_COMMIT: '{defaults[commit]}'
VCS_REF: '{defaults[commit][0:7]}'
ROCQ_EXTRA_OPAM: 'rocq-native rocq-bignums'
tags:
# full tag
- tag: '{matrix[rocq]}-native-ocaml-{matrix[base]}'
# abbreviated tag (*-ocaml-4.14)
- tag: '{matrix[rocq]}-native-ocaml-{matrix[base][%.*]}'
if: '{matrix[base]} == {matrix[default]}'
# abbreviated tag (*-ocaml-4.14-flambda)
- tag: '{matrix[rocq]}-native-ocaml-{matrix[base][%.*-*]}-flambda'
if: '{matrix[base]} != {matrix[default]}'
# default tag (dev-native)
- tag: '{matrix[rocq]}-native'
if: '{matrix[base]} == {matrix[default]}'
# default tag (dev-native-flambda)
- tag: '{matrix[rocq]}-native-flambda'
if: '{matrix[base]} != {matrix[default]}'
################################################################
## rocq/rocq-prover:9.0-rc1
- matrix:
default: ['4.14.2-flambda']
# only *-flambda switches
base: ['4.14.2-flambda', '4.13.1-flambda', '4.12.1-flambda', '4.09.1-flambda']
rocq: ['9.0-rc1']
build: &build_rocq_alpha
context: './rocq'
dockerfile: './beta/Dockerfile'
keywords:
- '{matrix[rocq][%-*]}'
args:
BASE_TAG: 'rocq_{matrix[base]}'
ROCQ_VERSION: '{matrix[rocq][//-/+]}'
VCS_REF: 'V{matrix[rocq][//-/+]}'
ROCQ_EXTRA_OPAM: 'rocq-bignums'
# +- rocq-native
tags:
# full tag
- tag: '{matrix[rocq]}-ocaml-{matrix[base]}'
# abbreviated tag (*-ocaml-4.14-flambda)
- tag: '{matrix[rocq][%-*]}-ocaml-{matrix[base][%.*-*]}-flambda'
# default tag (9.0-alpha)
- tag: '{matrix[rocq]}'
if: '{matrix[base]} == {matrix[default]}'
# abbreviated tag (9.0)
- tag: '{matrix[rocq][%-*]}'
if: '{matrix[base]} == {matrix[default]}'
# rocq/rocq-prover:9.0-rc1-native
- matrix:
default: ['4.14.2']
base: ['4.14.2', '4.14.2-flambda']
rocq: ['9.0-rc1']
build:
<<: *build_rocq_alpha
args:
BASE_TAG: 'rocq_{matrix[base]}'
ROCQ_VERSION: '{matrix[rocq][//-/+]}'
VCS_REF: 'V{matrix[rocq][//-/+]}'
ROCQ_EXTRA_OPAM: 'rocq-native rocq-bignums'
# +- rocq-native
tags:
# full tag
- tag: '{matrix[rocq]}-native-ocaml-{matrix[base]}'
# abbreviated tag (*-ocaml-4.14)
- tag: '{matrix[rocq][%-*]}-native-ocaml-{matrix[base][%.*]}'
if: '{matrix[base]} == {matrix[default]}'
# abbreviated tag (*-ocaml-4.14-flambda)
- tag: '{matrix[rocq][%-*]}-native-ocaml-{matrix[base][%.*-*]}-flambda'
if: '{matrix[base]} != {matrix[default]}' # -flambda
# default tag (9.0-alpha-native)
- tag: '{matrix[rocq]}-native'
if: '{matrix[base]} == {matrix[default]}'
# default tag (9.0-alpha-native-flambda)
- tag: '{matrix[rocq]}-native-flambda'
if: '{matrix[base]} != {matrix[default]}' # -flambda
# abbreviated tag (9.0-native)
- tag: '{matrix[rocq][%-*]}-native'
if: '{matrix[base]} == {matrix[default]}'
# abbreviated tag (9.0-native-flambda)
- tag: '{matrix[rocq][%-*]}-native-flambda'
if: '{matrix[base]} != {matrix[default]}' # -flambda
################################################################
# TODO: Uncomment when the v8.21 branch is created
## coqorg/coq:8.21-alpha
# - matrix:
# default: ['4.13.1-flambda']
# # only *-flambda switches
# base: ['4.14.2-flambda', '4.13.1-flambda', '4.12.1-flambda', '4.09.1-flambda']
# # TODO: Bump to 8.21-rc1 when appropriate
# coq: ['8.21-alpha']
# build: &build_coq_alpha
# # TODO: Remove this commit_api section when the rc is tagged
# commit_api:
# fetcher: 'github'
# repo: 'coq/coq'
# branch: 'v8.21'
# context: './coq'
# # TODO: Replace when the rc is tagged
# dockerfile: './dev/Dockerfile'
# # dockerfile: './beta/Dockerfile'
# keywords:
# # TODO: replace when the rc is tagged
# - '{matrix[coq][%-alpha]}'
# # - '{matrix[coq][%-*]}'
# args:
# BASE_TAG: 'coq_{matrix[base]}'
# COQ_VERSION: '{matrix[coq][//-/+]}'
# # TODO: Remove COQ_COMMIT when the rc is tagged
# COQ_COMMIT: '{defaults[commit]}'
# # TODO: Replace when the rc is tagged
# VCS_REF: '{defaults[commit][0:7]}'
# # VCS_REF: 'V{matrix[coq][//-/+]}'
# COQ_EXTRA_OPAM: 'rocq-bignums'
# # +- rocq-native
# # TODO: Replace when the rc is tagged
# COQ_INSTALL_SERAPI: 'false'
# # COQ_INSTALL_SERAPI: 'true'
# # (or any nonempty string) as coq-serapi supports ocaml 4.07.1+
# tags:
# # full tag
# - tag: '{matrix[coq]}-ocaml-{matrix[base]}'
# # abbreviated tag (*-ocaml-4.13-flambda)
# # TODO: Replace when the rc is tagged
# - tag: '{matrix[coq][%-alpha]}-ocaml-{matrix[base][%.*-*]}-flambda'
# # - tag: '{matrix[coq][%-*]}-ocaml-{matrix[base][%.*-*]}-flambda'
# # default tag (8.21-alpha)
# - tag: '{matrix[coq]}'
# if: '{matrix[base]} == {matrix[default]}'
# # abbreviated tag (8.21)
# # TODO: Replace when the rc is tagged
# - tag: '{matrix[coq][%-alpha]}'
# # - tag: '{matrix[coq][%-*]}'
# if: '{matrix[base]} == {matrix[default]}'
## coqorg/coq:8.21-alpha-native
# - matrix:
# default: ['4.13.1']
# base: ['4.13.1', '4.13.1-flambda']
# # TODO: Bump to 8.21-rc1 when appropriate
# coq: ['8.21-alpha']
# build:
# <<: *build_coq_alpha
# args:
# BASE_TAG: 'coq_{matrix[base]}'
# COQ_VERSION: '{matrix[coq][//-/+]}'
# # TODO: Remove COQ_COMMIT when the rc is tagged
# COQ_COMMIT: '{defaults[commit]}'
# # TODO: Replace when the rc is tagged
# VCS_REF: '{defaults[commit][0:7]}'
# # VCS_REF: 'V{matrix[coq][//-/+]}'
# COQ_EXTRA_OPAM: 'rocq-native rocq-bignums'
# # +- rocq-native
# # TODO: Replace when the rc is tagged
# COQ_INSTALL_SERAPI: 'false'
# # COQ_INSTALL_SERAPI: 'true'
# # (or any nonempty string) as coq-serapi supports ocaml 4.07.1+
# tags:
# # full tag
# - tag: '{matrix[coq]}-native-ocaml-{matrix[base]}'
# # abbreviated tag (*-ocaml-4.13)
# # TODO: Replace when the rc is tagged
# - tag: '{matrix[coq][%-alpha]}-native-ocaml-{matrix[base][%.*]}'
# # - tag: '{matrix[coq][%-*]}-native-ocaml-{matrix[base][%.*]}'
# if: '{matrix[base]} == {matrix[default]}'
# # abbreviated tag (*-ocaml-4.13-flambda)
# # TODO: Replace when the rc is tagged
# - tag: '{matrix[coq][%-alpha]}-native-ocaml-{matrix[base][%.*-*]}-flambda'
# # - tag: '{matrix[coq][%-*]}-native-ocaml-{matrix[base][%.*-*]}-flambda'
# if: '{matrix[base]} != {matrix[default]}' # -flambda
# # default tag (8.21-alpha-native)
# - tag: '{matrix[coq]}-native'
# if: '{matrix[base]} == {matrix[default]}'
# # default tag (8.21-alpha-native-flambda)
# - tag: '{matrix[coq]}-native-flambda'
# if: '{matrix[base]} != {matrix[default]}' # -flambda
# # abbreviated tag (8.21-native)
# # TODO: Replace when the rc is tagged
# - tag: '{matrix[coq][%-alpha]}-native'
# # - tag: '{matrix[coq][%-*]}-native'
# if: '{matrix[base]} == {matrix[default]}'
# # abbreviated tag (8.21-native-flambda)
# # TODO: Replace when the rc is tagged
# - tag: '{matrix[coq][%-alpha]}-native-flambda'
# # - tag: '{matrix[coq][%-*]}-native-flambda'
# if: '{matrix[base]} != {matrix[default]}' # -flambda
################################################################