-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathmatrix.yaml
183 lines (156 loc) · 4 KB
/
matrix.yaml
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
travis:
services:
- docker
language: python
python: 3.6
dist: focal
os: linux
before_install:
- export DOCKER_CLI_EXPERIMENTAL=enabled
- mkdir -vp ~/.docker/cli-plugins/
- curl --silent -L "https://github.com/docker/buildx/releases/download/v0.5.1/buildx-v0.5.1.linux-amd64" > ~/.docker/cli-plugins/docker-buildx
- chmod a+x ~/.docker/cli-plugins/docker-buildx
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
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- docker buildx version
- docker buildx create --name multiarch --driver docker-container --use
- docker buildx inspect --bootstrap
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.3': &5_3
TOMCAT_VERSION: '9.0'
TOMCAT_JAVA_VERSION: 'jre11-temurin-jammy'
TOMCAT_BASE_IMAGE: ''
LUCEE_MINOR: '5.3'
LUCEE_SERVER: ''
LUCEE_VARIANT: ''
'5.4': &5_4
TOMCAT_VERSION: '9.0'
TOMCAT_JAVA_VERSION: 'jre11-temurin-jammy'
TOMCAT_BASE_IMAGE: ''
LUCEE_MINOR: '5.4'
LUCEE_SERVER: ''
LUCEE_VARIANT: ''
'6.0': &6_0
TOMCAT_VERSION: '9.0'
TOMCAT_JAVA_VERSION: 'jre11-temurin-jammy'
TOMCAT_BASE_IMAGE: ''
LUCEE_MINOR: '6.0'
LUCEE_SERVER: ''
LUCEE_VARIANT: ''
'6.1': &6_1
TOMCAT_VERSION: '9.0'
TOMCAT_JAVA_VERSION: 'jre21-temurin-jammy'
TOMCAT_BASE_IMAGE: ''
LUCEE_MINOR: '6.1'
LUCEE_SERVER: ''
LUCEE_VARIANT: ''
'6.2': &6_2
TOMCAT_VERSION: '10.1'
TOMCAT_JAVA_VERSION: 'jre21-temurin-jammy'
TOMCAT_BASE_IMAGE: ''
LUCEE_MINOR: '6.2'
LUCEE_SERVER: ''
LUCEE_VARIANT: ''
# all other plain tags
latest: &latest
<<: *6_0
nginx:
<<: *latest
LUCEE_SERVER: '-nginx'
light:
<<: *latest
LUCEE_VARIANT: '-light'
# 5.3 tags
5.3-light:
<<: *5_3
LUCEE_VARIANT: '-light'
5.3-nginx:
<<: *5_3
LUCEE_SERVER: '-nginx'
# 5.4 tags
5.4-light:
<<: *5_4
LUCEE_VARIANT: '-light'
5.4-nginx:
<<: *5_4
LUCEE_SERVER: '-nginx'
# 6.0 tags
6.0-light:
<<: *6_0
LUCEE_VARIANT: '-light'
6.0-nginx:
<<: *6_0
LUCEE_SERVER: '-nginx'
# 6.1 tags
6.1-light:
<<: *6_1
LUCEE_VARIANT: '-light'
6.1-nginx:
<<: *6_1
LUCEE_SERVER: '-nginx'
# 6.2 tags
6.2-light:
<<: *6_2
LUCEE_VARIANT: '-light'
6.2-nginx:
<<: *6_2
LUCEE_SERVER: '-nginx'
matrix:
TOMCAT_VERSION:
- '9.0'
# - '10.1'
TOMCAT_JAVA_VERSION:
- 'jre8-temurin-jammy'
- 'jre11-temurin-jammy'
- 'jdk8-temurin-jammy'
- 'jdk11-temurin-jammy'
- 'jdk8-temurin-focal'
- 'jdk11-temurin-focal'
TOMCAT_BASE_IMAGE:
- ''
LUCEE_MINOR:
- '5.3'
- '5.4'
- '6.0'
LUCEE_SERVER:
- ''
- '-nginx'
LUCEE_VARIANT:
- ''
- '-light'
# - '-zero'
exclusions:
# Tomcat 10.1 is not needed for Lucee 5.3
# - TOMCAT_VERSION: '10.1'
# LUCEE_MINOR: '5.3'
# Zero variant is not needed for Lucee 5.3/5.4
# - LUCEE_MINOR: '5.3'
# LUCEE_VARIANT: '-zero'
# - LUCEE_MINOR: '5.4'
# LUCEE_VARIANT: '-zero'
# this exclusion is NOT needed, because the main do not list this version in the first place, but the phyton code does reference it, so we keep it for the moment
- TOMCAT_JAVA_VERSION: 'jre8-temurin-jammy'
LUCEE_MINOR: '6.0'
- TOMCAT_JAVA_VERSION: 'jre8-temurin-jammy'
LUCEE_MINOR: '6.1'
- TOMCAT_JAVA_VERSION: 'jre8-temurin-jammy'
LUCEE_MINOR: '6.2'
- TOMCAT_JAVA_VERSION: 'jre11-temurin-jammy'
LUCEE_MINOR: '6.2'
- TOMCAT_JAVA_VERSION: 'jre21-temurin-jammy'
LUCEE_MINOR: '5.3'
- TOMCAT_JAVA_VERSION: 'jre21-temurin-jammy'
LUCEE_MINOR: '5.4'