Skip to content

Commit

Permalink
Change stable16 tests to stable21
Browse files Browse the repository at this point in the history
Signed-off-by: Morris Jobke <[email protected]>
  • Loading branch information
MorrisJobke committed Mar 23, 2021
1 parent 6404433 commit 9eb3098
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 58 deletions.
42 changes: 30 additions & 12 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,13 @@ trigger:

---
kind: pipeline
name: php71-stable16
name: php73-stable21

steps:
- name: php71-stable16
image: nextcloudci/php7.1:php7.1-16
- name: php73-stable21
image: nextcloudci/php7.3:php7.3-5
commands:
- make test-stable16
- make test-stable21

trigger:
branch:
Expand All @@ -179,13 +179,13 @@ trigger:

---
kind: pipeline
name: php72-stable16
name: php74-stable21

steps:
- name: php72-stable16
image: nextcloudci/php7.2:php7.2-12
- name: php74-stable21
image: nextcloudci/php7.4:php7.4-3
commands:
- make test-stable16
- make test-stable21

trigger:
branch:
Expand All @@ -197,13 +197,13 @@ trigger:

---
kind: pipeline
name: php73-stable16
name: php80-stable21

steps:
- name: php73-stable16
image: nextcloudci/php7.3:php7.3-2
- name: php80-stable21
image: nextcloudci/php8.0:php8.0-1
commands:
- make test-stable16
- make test-stable21

trigger:
branch:
Expand Down Expand Up @@ -247,3 +247,21 @@ trigger:
event:
- pull_request
- push

---
kind: pipeline
name: php80-master

steps:
- name: php80-master
image: nextcloudci/php8.0:php8.0-1
commands:
- make test-master

trigger:
branch:
- master
- stable*
event:
- pull_request
- push
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ test-stable19: updater.phar test/vendor
test-stable20: updater.phar test/vendor
cd tests && vendor/behat/behat/bin/behat features/stable20.feature

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

test-master: updater.phar test/vendor
cd tests && vendor/behat/behat/bin/behat features/master.feature
Expand Down
21 changes: 0 additions & 21 deletions tests/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,27 +196,6 @@ public function theCliUpdaterIsRun()
*/
public function getSignatureForVersion($version) {
$signatures = [
'15.0.0RC1' => 'AQK4hJcQ1TZAPOpMfVy4ukOp6ny1DyzBY5ui7P9WhgBMHLeP4ed9Apmc07gcCOJF
Ya/+Bfc/ESNtVVeZQ3r9ubSz0NTTBgXDO7N7ymSCgA5wq4wqgjHW+bKZfDHoxt+1
WbRmf4trGwDdCA/kQ59LInfLR8KFfEiiOH2p2NijgXuWm49tdr7N1062diP4Dzwd
WlWfRoT8G5DDQPGdj5a72+sQLjf3ZhjqgeQbGLwht/NonWLZhmmW/NgmylbCb9Ob
a7NE4Vf792DrmBvq4HCHUexg+upaJ0s4sJLGqg3sWF8iUEnLyGePyL/Bw6MeLvjD
sSD0Xb5oawIjTVHVAuL+3Q==',
'15.0.10' => '1FcyXT8cgPMctfn+S5QLGbPrkeXEWyaIGh1T9mP7BHaF5AHamuAGDzk04FKHYB/e
OylmXzDBE2w1LG5AOABAw3idwIJpfvH2dyi8tsBNdcGKY01DmMYEzn4y5i2r5Duv
lRjhRfuk/MrjUOH1XkGO1xPI8zXp8eI7Y53jHswbUayJGszzgCKcuC6z+QEUkf7v
p15duG8nbbF1c3CAh/dVsJ2AKKpcnLYJPC8UgGDXMtalSoPUv9QTWPrS7AqQRsVD
7xJThvWdx3aSV3aKREBzw5ddHUAIEENQ0aBdabgAXbBZEfLrMMG2XaHtdXGLpQs8
ypwcWVvLfYk9e+YEMdhMNg==',
'16.0.3' => 'TYiUB/+l2uXNpiHGuMhchHzzyMn8eiL2mzBD+fmwqUXU29UYK4FFvTbDEWWXxXF9
XeOXXBTkWltQ6A5K+nwFx4Phf4VPznaGn3U/1hsLSLBy9p9qqBMQdmDvCxl4dJmP
R0Ttz6sGcC1AsYwW2Q5Z1lywpmk1Ax5YcJesbjOFTU9HXIOI2s9YyPX4bP3L1rkH
CaZqjW7yCedKhj64F/SuXnUwaPhqTNNoDdhCN14IKvXCFYKLxm5UoGXrddwIcRrL
rHSv7h5818aTjmj4sB1jsVrxNf32PgrUED8PUqgMYx1FxEzGyct4yj+GbIBi4D+K
b813iKq4+cn3CjTunREm6A==',



'19.0.0beta4' => 'Cum4wIKpCRHNZuOQ/SfDYsIp39/4/Z3EIiMLTV7vFLf1pjsn+q1FRwk7HbT0ileU
9eGbmpJHrmbNFk73g6k2YLOeosznMD89+AtRrRRn7C+sJmXx90+Eejs1aWWBRi8j
wnC4PNYGZCqV10z+bMWNFWuZlkO2o2c+o8I/mIM93trRgnciFzA2YYAILnz4vZ5L
Expand Down
23 changes: 0 additions & 23 deletions tests/features/stable16.feature

This file was deleted.

10 changes: 10 additions & 0 deletions tests/features/stable21.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Feature: CLI updater - stable21 base

Scenario: Update is available - 21.0.0 RC 1 to 21.0.0
Given the current installed version is 21.0.0RC1
And there is an update to version 21.0.0 available
When the CLI updater is run successfully
And the output should contain "Update successful"
Then the installed version should be 21.0
And maintenance mode should be off
And upgrade is not required

0 comments on commit 9eb3098

Please sign in to comment.