forked from lucee/lucee-dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmatrix.yaml
More file actions
151 lines (131 loc) · 2.94 KB
/
matrix.yaml
File metadata and controls
151 lines (131 loc) · 2.94 KB
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
travis:
sudo: required
services:
- docker
language: python
python: 3.6
before_script:
- 'echo TRAVIS_BRANCH: $TRAVIS_BRANCH'
- 'echo TRAVIS_PULL_REQUEST: $TRAVIS_PULL_REQUEST'
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- pip3 install -r requirements.txt
# exit the build if the travis config is different from the matrix config
- python3 ./generate-matrix.py >/dev/null && git diff --exit-code
script:
- echo $LUCEE_VERSION
- python3 -u build-images.py
config:
docker_hub_namespace: 'lucee'
docker_hub_image: 'lucee'
tags:
# plain tags for minor verions
'5.2': &5_2
TOMCAT_VERSION: '8.5'
TOMCAT_JAVA_VERSION: 'jre8'
TOMCAT_BASE_IMAGE: ''
LUCEE_MINOR: '5.2'
LUCEE_SERVER: ''
LUCEE_VARIANT: ''
'5.3': &5_3
TOMCAT_VERSION: '9.0'
TOMCAT_JAVA_VERSION: 'jre11'
TOMCAT_BASE_IMAGE: ''
LUCEE_MINOR: '5.3'
LUCEE_SERVER: ''
LUCEE_VARIANT: ''
# all other plain tags
latest: &latest
<<: *5_3
nginx:
<<: *latest
LUCEE_SERVER: '-nginx'
alpine:
<<: *latest
TOMCAT_BASE_IMAGE: '-alpine'
nginx-alpine:
<<: *latest
LUCEE_SERVER: '-nginx'
TOMCAT_BASE_IMAGE: '-alpine'
light:
<<: *latest
LUCEE_VARIANT: '-light'
light-alpine:
<<: *latest
LUCEE_VARIANT: '-light'
TOMCAT_BASE_IMAGE: '-alpine'
light-nginx-alpine:
<<: *latest
LUCEE_VARIANT: '-light'
LUCEE_SERVER: '-nginx'
TOMCAT_BASE_IMAGE: '-alpine'
# 5.2 tags
5.2-light:
<<: *5_2
LUCEE_VARIANT: '-light'
5.2-alpine:
<<: *5_2
TOMCAT_BASE_IMAGE: '-alpine'
5.2-nginx:
<<: *5_2
LUCEE_SERVER: '-nginx'
5.2-nginx-alpine:
<<: *5_2
LUCEE_SERVER: '-nginx'
TOMCAT_BASE_IMAGE: '-alpine'
5.2-light-alpine:
<<: *5_2
LUCEE_VARIANT: '-light'
TOMCAT_BASE_IMAGE: '-alpine'
# 5.3 tags
5.3-light:
<<: *5_3
LUCEE_VARIANT: '-light'
5.3-alpine:
<<: *5_3
TOMCAT_BASE_IMAGE: '-alpine'
5.3-nginx:
<<: *5_3
LUCEE_SERVER: '-nginx'
5.3-nginx-alpine:
<<: *5_3
LUCEE_SERVER: '-nginx'
TOMCAT_BASE_IMAGE: '-alpine'
5.3-light-alpine:
<<: *5_3
LUCEE_VARIANT: '-light'
TOMCAT_BASE_IMAGE: '-alpine'
5.3-light-nginx-alpine:
<<: *5_3
LUCEE_VARIANT: '-light'
LUCEE_SERVER: '-nginx'
TOMCAT_BASE_IMAGE: '-alpine'
matrix:
TOMCAT_VERSION:
- '8.5'
- '9.0'
TOMCAT_JAVA_VERSION:
- 'jre8'
- 'jre11'
TOMCAT_BASE_IMAGE:
- ''
- '-alpine'
LUCEE_MINOR:
- '5.2'
- '5.3'
LUCEE_SERVER:
- ''
- '-nginx'
LUCEE_VARIANT:
- ''
- '-light'
exclusions:
# Tomcat 8.5 is not needed for Lucee 5.3
- TOMCAT_VERSION: '8.5'
LUCEE_MINOR: '5.3'
# Java 9/10/11 are not available on the Alpine version of Tomcat base images
- TOMCAT_JAVA_VERSION: 'jre9'
TOMCAT_BASE_IMAGE: '-alpine'
- TOMCAT_JAVA_VERSION: 'jre10'
TOMCAT_BASE_IMAGE: '-alpine'
- TOMCAT_JAVA_VERSION: 'jre11'
TOMCAT_BASE_IMAGE: '-alpine'