-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathimages.yml
167 lines (167 loc) · 4.62 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
---
base_url: 'https://gitlab.com/coq-community/docker-base'
active: true
docker_repo: 'rocq/base'
args:
OPAM_VERSION: '2.3.0'
# pass these args albeit they are not used by all Dockerfiles:
OCAMLFIND_VERSION: '1.9.6'
DUNE_VERSION: '3.17.2'
ZARITH_VERSION: '1.14'
NUM_VERSION: '1.5-1'
propagate:
coq:
api_token_env_var: 'DOCKER_COQ_TOKEN'
gitlab_domain: 'gitlab.com'
gitlab_project: '19687072'
strategy:
- when: 'rebuild-all'
mode: 'rebuild-all'
# don't propagate if "all keywords \subset {rocq}"
- when: 'forall'
expr: '{keywords[/#/,][#,]}'
subset: 'rocq'
mode: 'nil'
# propagate if "one keyword = coq"
- when: 'exists'
expr: '{keywords[/#/,][#,]}'
subset: 'coq'
mode: 'rebuild-all'
- # when OPTIONAL for last rule
mode: 'nil'
# TODO: we may want to add ocaml keywords in docker-rocq
rocq:
api_token_env_var: 'DOCKER_ROCQ_TOKEN'
gitlab_domain: 'gitlab.com'
gitlab_project: '63032389'
strategy:
- when: 'rebuild-all'
mode: 'rebuild-all'
# don't propagate if "all keywords \subset {coq}"
- when: 'forall'
expr: '{keywords[/#/,][#,]}'
subset: 'coq'
mode: 'nil'
# propagate if "one keyword = rocq"
- when: 'exists'
expr: '{keywords[/#/,][#,]}'
subset: 'rocq'
mode: 'rebuild-all'
- # when OPTIONAL for last rule
mode: 'nil'
images:
- matrix: &matrix_412_up_flambda
tag:
- '5.0.0-flambda'
- '4.14.2-flambda'
- '4.13.1-flambda'
- '4.12.1-flambda'
build: &build_412_up_flambda_rocq
keywords: ['rocq']
context: './base'
dockerfile: './rocq-single/Dockerfile'
args:
COMPILER: '{matrix[tag][//-/+]}'
COMPILER_PACKAGE: 'ocaml-variants.{matrix[tag][%-*]}+options,ocaml-option-flambda'
tags:
- tag: 'rocq_{matrix[tag]}'
- matrix: &matrix_408_up_flambda
tag:
- '4.11.2-flambda'
- '4.10.2-flambda'
- '4.09.1-flambda'
- '4.08.1-flambda'
build: &build_408_up_flambda
keywords: ['rocq']
context: './base'
dockerfile: './rocq-single/Dockerfile'
args:
COMPILER: '{matrix[tag][//-/+]}'
tags:
- tag: 'rocq_{matrix[tag]}'
#####################################################
# compilers without flambda, for rocq-native images #
#####################################################
- matrix: &matrix_412_up
tag:
- '5.0.0'
- '4.14.2'
- '4.13.1'
build: &build_412_up_rocq
keywords: ['rocq']
context: './base'
dockerfile: './rocq-single/Dockerfile'
args:
COMPILER: '{matrix[tag]}'
tags:
- tag: 'rocq_{matrix[tag]}'
##########################################################
# !!! # "rocq-prover" requires "ocaml" >= "4.09.0" # !!! #
##########################################################
- matrix:
<<: *matrix_412_up_flambda
build:
<<: *build_412_up_flambda_rocq
keywords: ['coq']
dockerfile: './coq-single/Dockerfile'
tags:
- tag: 'coq_{matrix[tag]}'
- matrix:
<<: *matrix_408_up_flambda
build:
<<: *build_408_up_flambda
keywords: ['coq']
dockerfile: './coq-single/Dockerfile'
tags:
- tag: 'coq_{matrix[tag]}'
- matrix:
<<: *matrix_412_up
build:
<<: *build_412_up_rocq
keywords: ['coq']
dockerfile: './coq-single/Dockerfile'
tags:
- tag: 'coq_{matrix[tag]}'
- matrix:
tag:
- '4.07.1-flambda'
build:
keywords: ['coq']
context: './base'
dockerfile: './coq-single/Dockerfile'
args:
COMPILER: '{matrix[tag][//-/+]}'
OCAMLFIND_VERSION: '1.9.1'
tags:
- tag: 'coq_{matrix[tag]}'
####################################################
# compiler without flambda (for coq-native images) #
####################################################
- matrix:
tag:
- '4.07.1'
build:
keywords: ['coq']
context: './base'
dockerfile: './coq-single/Dockerfile'
args:
COMPILER: '{matrix[tag]}'
OCAMLFIND_VERSION: '1.9.1'
tags:
- tag: 'coq_{matrix[tag]}'
- matrix: &matrix_bare
tag: ['bare']
build: &build_bare_rocq
keywords: ['rocq']
context: './base'
dockerfile: './rocq-bare/Dockerfile'
tags:
- tag: 'rocq_{matrix[tag]}'
- matrix:
<<: *matrix_bare
build:
<<: *build_bare_rocq
keywords: ['coq']
dockerfile: './coq-bare/Dockerfile'
tags:
- tag: 'coq_{matrix[tag]}'