Skip to content

Commit 25fbc74

Browse files
committed
Change stable16 tests to stable21
Signed-off-by: Morris Jobke <[email protected]>
1 parent d257175 commit 25fbc74

File tree

5 files changed

+42
-58
lines changed

5 files changed

+42
-58
lines changed

.drone.yml

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,13 @@ trigger:
161161

162162
---
163163
kind: pipeline
164-
name: php71-stable16
164+
name: php73-stable21
165165

166166
steps:
167-
- name: php71-stable16
168-
image: nextcloudci/php7.1:php7.1-16
167+
- name: php73-stable21
168+
image: nextcloudci/php7.3:php7.3-5
169169
commands:
170-
- make test-stable16
170+
- make test-stable21
171171

172172
trigger:
173173
branch:
@@ -179,13 +179,13 @@ trigger:
179179

180180
---
181181
kind: pipeline
182-
name: php72-stable16
182+
name: php74-stable21
183183

184184
steps:
185-
- name: php72-stable16
186-
image: nextcloudci/php7.2:php7.2-12
185+
- name: php74-stable21
186+
image: nextcloudci/php7.4:php7.4-3
187187
commands:
188-
- make test-stable16
188+
- make test-stable21
189189

190190
trigger:
191191
branch:
@@ -197,13 +197,13 @@ trigger:
197197

198198
---
199199
kind: pipeline
200-
name: php73-stable16
200+
name: php80-stable21
201201

202202
steps:
203-
- name: php73-stable16
204-
image: nextcloudci/php7.3:php7.3-2
203+
- name: php80-stable21
204+
image: nextcloudci/php8.0:php8.0-1
205205
commands:
206-
- make test-stable16
206+
- make test-stable21
207207

208208
trigger:
209209
branch:
@@ -247,3 +247,21 @@ trigger:
247247
event:
248248
- pull_request
249249
- push
250+
251+
---
252+
kind: pipeline
253+
name: php80-master
254+
255+
steps:
256+
- name: php80-master
257+
image: nextcloudci/php8.0:php8.0-1
258+
commands:
259+
- make test-master
260+
261+
trigger:
262+
branch:
263+
- master
264+
- stable*
265+
event:
266+
- pull_request
267+
- push

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ test-stable19: updater.phar test/vendor
2929
test-stable20: updater.phar test/vendor
3030
cd tests && vendor/behat/behat/bin/behat features/stable20.feature
3131

32-
test-stable16: updater.phar test/vendor
33-
cd tests && vendor/behat/behat/bin/behat features/stable16.feature
32+
test-stable21: updater.phar test/vendor
33+
cd tests && vendor/behat/behat/bin/behat features/stable21.feature
3434

3535
test-master: updater.phar test/vendor
3636
cd tests && vendor/behat/behat/bin/behat features/master.feature

tests/features/bootstrap/FeatureContext.php

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -196,27 +196,6 @@ public function theCliUpdaterIsRun()
196196
*/
197197
public function getSignatureForVersion($version) {
198198
$signatures = [
199-
'15.0.0RC1' => 'AQK4hJcQ1TZAPOpMfVy4ukOp6ny1DyzBY5ui7P9WhgBMHLeP4ed9Apmc07gcCOJF
200-
Ya/+Bfc/ESNtVVeZQ3r9ubSz0NTTBgXDO7N7ymSCgA5wq4wqgjHW+bKZfDHoxt+1
201-
WbRmf4trGwDdCA/kQ59LInfLR8KFfEiiOH2p2NijgXuWm49tdr7N1062diP4Dzwd
202-
WlWfRoT8G5DDQPGdj5a72+sQLjf3ZhjqgeQbGLwht/NonWLZhmmW/NgmylbCb9Ob
203-
a7NE4Vf792DrmBvq4HCHUexg+upaJ0s4sJLGqg3sWF8iUEnLyGePyL/Bw6MeLvjD
204-
sSD0Xb5oawIjTVHVAuL+3Q==',
205-
'15.0.10' => '1FcyXT8cgPMctfn+S5QLGbPrkeXEWyaIGh1T9mP7BHaF5AHamuAGDzk04FKHYB/e
206-
OylmXzDBE2w1LG5AOABAw3idwIJpfvH2dyi8tsBNdcGKY01DmMYEzn4y5i2r5Duv
207-
lRjhRfuk/MrjUOH1XkGO1xPI8zXp8eI7Y53jHswbUayJGszzgCKcuC6z+QEUkf7v
208-
p15duG8nbbF1c3CAh/dVsJ2AKKpcnLYJPC8UgGDXMtalSoPUv9QTWPrS7AqQRsVD
209-
7xJThvWdx3aSV3aKREBzw5ddHUAIEENQ0aBdabgAXbBZEfLrMMG2XaHtdXGLpQs8
210-
ypwcWVvLfYk9e+YEMdhMNg==',
211-
'16.0.3' => 'TYiUB/+l2uXNpiHGuMhchHzzyMn8eiL2mzBD+fmwqUXU29UYK4FFvTbDEWWXxXF9
212-
XeOXXBTkWltQ6A5K+nwFx4Phf4VPznaGn3U/1hsLSLBy9p9qqBMQdmDvCxl4dJmP
213-
R0Ttz6sGcC1AsYwW2Q5Z1lywpmk1Ax5YcJesbjOFTU9HXIOI2s9YyPX4bP3L1rkH
214-
CaZqjW7yCedKhj64F/SuXnUwaPhqTNNoDdhCN14IKvXCFYKLxm5UoGXrddwIcRrL
215-
rHSv7h5818aTjmj4sB1jsVrxNf32PgrUED8PUqgMYx1FxEzGyct4yj+GbIBi4D+K
216-
b813iKq4+cn3CjTunREm6A==',
217-
218-
219-
220199
'19.0.0beta4' => 'Cum4wIKpCRHNZuOQ/SfDYsIp39/4/Z3EIiMLTV7vFLf1pjsn+q1FRwk7HbT0ileU
221200
9eGbmpJHrmbNFk73g6k2YLOeosznMD89+AtRrRRn7C+sJmXx90+Eejs1aWWBRi8j
222201
wnC4PNYGZCqV10z+bMWNFWuZlkO2o2c+o8I/mIM93trRgnciFzA2YYAILnz4vZ5L

tests/features/stable16.feature

Lines changed: 0 additions & 23 deletions
This file was deleted.

tests/features/stable21.feature

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Feature: CLI updater - stable21 base
2+
3+
Scenario: Update is available - 21.0.0 RC 1 to 21.0.0
4+
Given the current installed version is 21.0.0RC1
5+
And there is an update to version 21.0.0 available
6+
When the CLI updater is run successfully
7+
And the output should contain "Update successful"
8+
Then the installed version should be 21.0
9+
And maintenance mode should be off
10+
And upgrade is not required

0 commit comments

Comments
 (0)