Skip to content

Commit 114df68

Browse files
committed
Updated assemble.sh to use Drupal version for project SHA + PHP 8.4 in CI.
1 parent 1a10faa commit 114df68

File tree

10 files changed

+469
-123
lines changed

10 files changed

+469
-123
lines changed

.circleci/config.yml

+157-25
Original file line numberDiff line numberDiff line change
@@ -99,56 +99,138 @@ job-test: &job-test
9999
fi
100100
101101
jobs:
102-
test-php-8.2:
102+
test-php-8.2-d10-legacy:
103103
<<: *container_config
104104
docker:
105105
- image: cimg/php:8.2-browsers
106106
environment:
107-
DRUPAL_VERSION: 10.1
108-
DRUPAL_PROJECT_SHA: 10.x
107+
DRUPAL_VERSION: 10.2
109108
<<: *job-test
110109

111-
test-php-8.2-legacy:
110+
test-php-8.2-d10-stable:
112111
<<: *container_config
113112
docker:
114113
- image: cimg/php:8.2-browsers
115114
environment:
116-
DRUPAL_VERSION: 10.1
117-
DRUPAL_PROJECT_SHA: 10.x
115+
DRUPAL_VERSION: 10.3
118116
<<: *job-test
119117

120-
test-php-8.2-next:
118+
test-php-8.2-d10-canary:
121119
<<: *container_config
122120
docker:
123121
- image: cimg/php:8.2-browsers
124122
environment:
125-
DRUPAL_VERSION: 10@beta
126-
DRUPAL_PROJECT_SHA: 10.x
123+
DRUPAL_VERSION: 10.4@beta
124+
CI_PHPSTAN_IGNORE_FAILURE: 1 # PHPStan levels for canary releases are not the same as for this project.
127125
<<: *job-test
128126

129-
test-php-8.3:
127+
test-php-8.3-d10-legacy:
130128
<<: *container_config
131129
docker:
132130
- image: cimg/php:8.3-browsers
133131
environment:
134-
DRUPAL_VERSION: stable
135-
DRUPAL_PROJECT_SHA: 10.x
132+
DRUPAL_VERSION: 10.2
136133
<<: *job-test
137134

138-
test-php-8.3-next:
135+
test-php-8.3-d10-stable:
139136
<<: *container_config
140137
docker:
141138
- image: cimg/php:8.3-browsers
142139
environment:
143-
DRUPAL_VERSION: 11@alpha
144-
DRUPAL_PROJECT_SHA: 11.x
140+
DRUPAL_VERSION: 10.3
141+
<<: *job-test
142+
143+
test-php-8.3-d10-canary:
144+
<<: *container_config
145+
docker:
146+
- image: cimg/php:8.3-browsers
147+
environment:
148+
DRUPAL_VERSION: 10.4@beta
149+
CI_PHPSTAN_IGNORE_FAILURE: 1 # PHPStan levels for canary releases are not the same as for this project.
150+
<<: *job-test
151+
152+
test-php-8.4-d10-legacy:
153+
<<: *container_config
154+
docker:
155+
- image: cimg/php:8.3-browsers # PHP 8.4 is not available yet.
156+
environment:
157+
DRUPAL_VERSION: 10.3 # Lowest Drupal version that supports PHP 8.4.
158+
<<: *job-test
159+
160+
test-php-8.4-d10-stable:
161+
<<: *container_config
162+
docker:
163+
- image: cimg/php:8.3-browsers # PHP 8.4 is not available yet.
164+
environment:
165+
DRUPAL_VERSION: 10.3
166+
<<: *job-test
167+
168+
test-php-8.4-d10-canary:
169+
<<: *container_config
170+
docker:
171+
- image: cimg/php:8.3-browsers # PHP 8.4 is not available yet.
172+
environment:
173+
DRUPAL_VERSION: 10.4@beta
174+
CI_PHPSTAN_IGNORE_FAILURE: 1 # PHPStan levels for canary releases are not the same as for this project.
175+
<<: *job-test
176+
177+
test-php-8.3-d11-legacy:
178+
<<: *container_config
179+
docker:
180+
- image: cimg/php:8.3-browsers
181+
environment:
182+
DRUPAL_VERSION: 11.0 # Lowest Drupal version that exists.
183+
<<: *job-test
184+
185+
test-php-8.3-d11-stable:
186+
<<: *container_config
187+
docker:
188+
- image: cimg/php:8.3-browsers
189+
environment:
190+
DRUPAL_VERSION: 11.0
191+
<<: *job-test
192+
193+
test-php-8.3-d11-canary:
194+
<<: *container_config
195+
docker:
196+
- image: cimg/php:8.3-browsers
197+
environment:
198+
DRUPAL_VERSION: 11@beta
199+
CI_PHPSTAN_IGNORE_FAILURE: 1 # PHPStan levels for canary releases are not the same as for this project.
200+
<<: *job-test
201+
202+
test-php-8.4-d11-legacy:
203+
<<: *container_config
204+
docker:
205+
- image: cimg/php:8.3-browsers # PHP 8.4 is not available yet.
206+
environment:
207+
DRUPAL_VERSION: 11.0 # Lowest Drupal version that exists.
208+
<<: *job-test
209+
210+
test-php-8.4-d11-stable:
211+
<<: *container_config
212+
docker:
213+
- image: cimg/php:8.3-browsers # PHP 8.4 is not available yet.
214+
environment:
215+
DRUPAL_VERSION: 11.0
216+
<<: *job-test
217+
218+
test-php-8.4-d11-canary:
219+
<<: *container_config
220+
docker:
221+
- image: cimg/php:8.3-browsers # PHP 8.4 is not available yet.
222+
environment:
223+
DRUPAL_VERSION: 11@beta
224+
CI_PHPSTAN_IGNORE_FAILURE: 1 # PHPStan levels for canary releases are not the same as for this project.
145225
<<: *job-test
146226

147227
deploy:
148228
<<: *container_config
229+
149230
environment:
150231
DEPLOY_SSH_KEY_FINGERPRINT: *deploy_ssh_key_fingerprint
151232
DEFAULT_BRANCH: *default_branch
233+
152234
steps:
153235
- checkout
154236

@@ -164,33 +246,83 @@ workflows:
164246
version: 2
165247
commit:
166248
jobs:
167-
- test-php-8.2:
249+
- test-php-8.2-d10-legacy:
250+
filters:
251+
tags:
252+
only: /.*/
253+
- test-php-8.2-d10-stable:
254+
filters:
255+
tags:
256+
only: /.*/
257+
- test-php-8.2-d10-canary:
258+
filters:
259+
tags:
260+
only: /.*/
261+
- test-php-8.3-d10-legacy:
262+
filters:
263+
tags:
264+
only: /.*/
265+
- test-php-8.3-d10-stable:
266+
filters:
267+
tags:
268+
only: /.*/
269+
- test-php-8.3-d10-canary:
270+
filters:
271+
tags:
272+
only: /.*/
273+
- test-php-8.4-d10-legacy:
274+
filters:
275+
tags:
276+
only: /.*/
277+
- test-php-8.4-d10-stable:
278+
filters:
279+
tags:
280+
only: /.*/
281+
- test-php-8.4-d10-canary:
282+
filters:
283+
tags:
284+
only: /.*/
285+
- test-php-8.3-d11-legacy:
286+
filters:
287+
tags:
288+
only: /.*/
289+
- test-php-8.3-d11-stable:
168290
filters:
169291
tags:
170292
only: /.*/
171-
- test-php-8.2-legacy:
293+
- test-php-8.3-d11-canary:
172294
filters:
173295
tags:
174296
only: /.*/
175-
- test-php-8.2-next:
297+
- test-php-8.4-d11-legacy:
176298
filters:
177299
tags:
178300
only: /.*/
179-
- test-php-8.3:
301+
- test-php-8.4-d11-stable:
180302
filters:
181303
tags:
182304
only: /.*/
183-
- test-php-8.3-next:
305+
- test-php-8.4-d11-canary:
184306
filters:
185307
tags:
186308
only: /.*/
187309
- deploy:
188310
requires:
189-
- test-php-8.2
190-
- test-php-8.2-legacy
191-
- test-php-8.2-next
192-
- test-php-8.3
193-
- test-php-8.3-next
311+
- test-php-8.2-d10-legacy
312+
- test-php-8.2-d10-stable
313+
- test-php-8.2-d10-canary
314+
- test-php-8.3-d10-legacy
315+
- test-php-8.3-d10-stable
316+
- test-php-8.3-d10-canary
317+
- test-php-8.4-d10-legacy
318+
- test-php-8.4-d10-stable
319+
- test-php-8.4-d10-canary
320+
- test-php-8.3-d11-legacy
321+
- test-php-8.3-d11-stable
322+
- test-php-8.3-d11-canary
323+
- test-php-8.4-d11-legacy
324+
- test-php-8.4-d11-stable
325+
- test-php-8.4-d11-canary
194326
filters:
195327
tags:
196328
only: /.*/

0 commit comments

Comments
 (0)