Skip to content

Commit 0932b03

Browse files
committed
Updating drone configuration
1 parent 0efe892 commit 0932b03

File tree

2 files changed

+17
-167
lines changed

2 files changed

+17
-167
lines changed

.drone.jsonnet

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ local pipeline(name, phpversion, params) = {
4747
steps: [
4848
{
4949
name: "composer",
50-
image: "joomlaprojects/docker-images:php7.4",
50+
image: "joomlaprojects/docker-images:php8.1",
5151
volumes: volumes,
5252
commands: [
5353
"php -v",
@@ -57,16 +57,15 @@ local pipeline(name, phpversion, params) = {
5757
},
5858
{
5959
name: "phpcs",
60-
image: "joomlaprojects/docker-images:php7.4",
60+
image: "joomlaprojects/docker-images:php8.1",
6161
depends: [ "composer" ],
6262
commands: [
63-
"vendor/bin/phpcs --config-set installed_paths vendor/joomla/coding-standards",
6463
"vendor/bin/phpcs --standard=ruleset.xml src/"
6564
]
6665
},
6766
{
6867
name: "phpmd",
69-
image: "joomlaprojects/docker-images:php7.4",
68+
image: "joomlaprojects/docker-images:php8.1",
7069
depends: [ "composer" ],
7170
failure: "ignore",
7271
commands: [
@@ -79,7 +78,7 @@ local pipeline(name, phpversion, params) = {
7978
},
8079
{
8180
name: "phpstan",
82-
image: "joomlaprojects/docker-images:php7.4",
81+
image: "joomlaprojects/docker-images:php8.1",
8382
depends: [ "composer" ],
8483
failure: "ignore",
8584
commands: [
@@ -88,7 +87,7 @@ local pipeline(name, phpversion, params) = {
8887
},
8988
{
9089
name: "phploc",
91-
image: "joomlaprojects/docker-images:php7.4",
90+
image: "joomlaprojects/docker-images:php8.1",
9291
depends: [ "composer" ],
9392
failure: "ignore",
9493
commands: [
@@ -97,7 +96,7 @@ local pipeline(name, phpversion, params) = {
9796
},
9897
{
9998
name: "phpcpd",
100-
image: "joomlaprojects/docker-images:php7.4",
99+
image: "joomlaprojects/docker-images:php8.1",
101100
depends: [ "composer" ],
102101
failure: "ignore",
103102
commands: [
@@ -106,11 +105,7 @@ local pipeline(name, phpversion, params) = {
106105
}
107106
]
108107
},
109-
pipeline("7.2 lowest", "7.2", "--prefer-stable --prefer-lowest"),
110-
pipeline("7.2", "7.2", "--prefer-stable"),
111-
pipeline("7.3", "7.3", "--prefer-stable"),
112-
pipeline("7.4", "7.4", "--prefer-stable"),
113-
pipeline("8.0", "8.0", "--prefer-stable"),
108+
pipeline("8.1 lowest", "8.1", "--prefer-stable --prefer-lowest"),
114109
pipeline("8.1", "8.1", "--prefer-stable"),
115110
pipeline("8.2", "8.2", "--prefer-stable --ignore-platform-reqs"),
116111
]

.drone.yml

Lines changed: 10 additions & 155 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"composer update",
1010
"composer require phpmd/phpmd phpstan/phpstan"
1111
],
12-
"image": "joomlaprojects/docker-images:php7.4",
12+
"image": "joomlaprojects/docker-images:php8.1",
1313
"name": "composer",
1414
"volumes": [
1515
{
@@ -20,13 +20,12 @@
2020
},
2121
{
2222
"commands": [
23-
"vendor/bin/phpcs --config-set installed_paths vendor/joomla/coding-standards",
2423
"vendor/bin/phpcs --standard=ruleset.xml src/"
2524
],
2625
"depends": [
2726
"composer"
2827
],
29-
"image": "joomlaprojects/docker-images:php7.4",
28+
"image": "joomlaprojects/docker-images:php8.1",
3029
"name": "phpcs"
3130
},
3231
{
@@ -41,7 +40,7 @@
4140
"composer"
4241
],
4342
"failure": "ignore",
44-
"image": "joomlaprojects/docker-images:php7.4",
43+
"image": "joomlaprojects/docker-images:php8.1",
4544
"name": "phpmd"
4645
},
4746
{
@@ -52,7 +51,7 @@
5251
"composer"
5352
],
5453
"failure": "ignore",
55-
"image": "joomlaprojects/docker-images:php7.4",
54+
"image": "joomlaprojects/docker-images:php8.1",
5655
"name": "phpstan"
5756
},
5857
{
@@ -63,7 +62,7 @@
6362
"composer"
6463
],
6564
"failure": "ignore",
66-
"image": "joomlaprojects/docker-images:php7.4",
65+
"image": "joomlaprojects/docker-images:php8.1",
6766
"name": "phploc"
6867
},
6968
{
@@ -74,7 +73,7 @@
7473
"composer"
7574
],
7675
"failure": "ignore",
77-
"image": "joomlaprojects/docker-images:php7.4",
76+
"image": "joomlaprojects/docker-images:php8.1",
7877
"name": "phpcpd"
7978
}
8079
],
@@ -90,158 +89,14 @@
9089
---
9190
{
9291
"kind": "pipeline",
93-
"name": "PHP 7.2 lowest",
92+
"name": "PHP 8.1 lowest",
9493
"steps": [
9594
{
9695
"commands": [
9796
"php -v",
9897
"composer update --prefer-stable --prefer-lowest"
9998
],
100-
"image": "joomlaprojects/docker-images:php7.2",
101-
"name": "composer",
102-
"volumes": [
103-
{
104-
"name": "composer-cache",
105-
"path": "/tmp/composer-cache"
106-
}
107-
]
108-
},
109-
{
110-
"commands": [
111-
"vendor/bin/phpunit"
112-
],
113-
"image": "joomlaprojects/docker-images:php7.2",
114-
"name": "PHPUnit"
115-
}
116-
],
117-
"volumes": [
118-
{
119-
"host": {
120-
"path": "/tmp/composer-cache"
121-
},
122-
"name": "composer-cache"
123-
}
124-
]
125-
}
126-
---
127-
{
128-
"kind": "pipeline",
129-
"name": "PHP 7.2",
130-
"steps": [
131-
{
132-
"commands": [
133-
"php -v",
134-
"composer update --prefer-stable"
135-
],
136-
"image": "joomlaprojects/docker-images:php7.2",
137-
"name": "composer",
138-
"volumes": [
139-
{
140-
"name": "composer-cache",
141-
"path": "/tmp/composer-cache"
142-
}
143-
]
144-
},
145-
{
146-
"commands": [
147-
"vendor/bin/phpunit"
148-
],
149-
"image": "joomlaprojects/docker-images:php7.2",
150-
"name": "PHPUnit"
151-
}
152-
],
153-
"volumes": [
154-
{
155-
"host": {
156-
"path": "/tmp/composer-cache"
157-
},
158-
"name": "composer-cache"
159-
}
160-
]
161-
}
162-
---
163-
{
164-
"kind": "pipeline",
165-
"name": "PHP 7.3",
166-
"steps": [
167-
{
168-
"commands": [
169-
"php -v",
170-
"composer update --prefer-stable"
171-
],
172-
"image": "joomlaprojects/docker-images:php7.3",
173-
"name": "composer",
174-
"volumes": [
175-
{
176-
"name": "composer-cache",
177-
"path": "/tmp/composer-cache"
178-
}
179-
]
180-
},
181-
{
182-
"commands": [
183-
"vendor/bin/phpunit"
184-
],
185-
"image": "joomlaprojects/docker-images:php7.3",
186-
"name": "PHPUnit"
187-
}
188-
],
189-
"volumes": [
190-
{
191-
"host": {
192-
"path": "/tmp/composer-cache"
193-
},
194-
"name": "composer-cache"
195-
}
196-
]
197-
}
198-
---
199-
{
200-
"kind": "pipeline",
201-
"name": "PHP 7.4",
202-
"steps": [
203-
{
204-
"commands": [
205-
"php -v",
206-
"composer update --prefer-stable"
207-
],
208-
"image": "joomlaprojects/docker-images:php7.4",
209-
"name": "composer",
210-
"volumes": [
211-
{
212-
"name": "composer-cache",
213-
"path": "/tmp/composer-cache"
214-
}
215-
]
216-
},
217-
{
218-
"commands": [
219-
"vendor/bin/phpunit"
220-
],
221-
"image": "joomlaprojects/docker-images:php7.4",
222-
"name": "PHPUnit"
223-
}
224-
],
225-
"volumes": [
226-
{
227-
"host": {
228-
"path": "/tmp/composer-cache"
229-
},
230-
"name": "composer-cache"
231-
}
232-
]
233-
}
234-
---
235-
{
236-
"kind": "pipeline",
237-
"name": "PHP 8.0",
238-
"steps": [
239-
{
240-
"commands": [
241-
"php -v",
242-
"composer update --prefer-stable"
243-
],
244-
"image": "joomlaprojects/docker-images:php8.0",
99+
"image": "joomlaprojects/docker-images:php8.1",
245100
"name": "composer",
246101
"volumes": [
247102
{
@@ -254,7 +109,7 @@
254109
"commands": [
255110
"vendor/bin/phpunit"
256111
],
257-
"image": "joomlaprojects/docker-images:php8.0",
112+
"image": "joomlaprojects/docker-images:php8.1",
258113
"name": "PHPUnit"
259114
}
260115
],
@@ -342,6 +197,6 @@
342197
}
343198
---
344199
kind: signature
345-
hmac: 3a2b0669b2c8e3438124f8821d7dba1912173bb7728d188d1db809633267af10
200+
hmac: 3020d65d007c99b2e2f529f94950f74277ebfcddc1a01bd1277462d029bb19a3
346201

347202
...

0 commit comments

Comments
 (0)