Change stable16 tests to stable21

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2021-03-23 10:43:41 +01:00
parent d257175911
commit 25fbc74606
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
5 changed files with 42 additions and 58 deletions

View File

@ -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:
@ -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:
@ -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:
@ -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

View File

@ -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

View File

@ -196,27 +196,6 @@ class FeatureContext implements SnippetAcceptingContext
*/
public function getSignatureForVersion($version) {
$signatures = [
'15.0.0RC1' => 'AQK4hJcQ1TZAPOpMfVy4ukOp6ny1DyzB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HNZuOQ/SfDYsIp39/4/Z3EIiMLTV7vFLf1pjsn+q1FRwk7HbT0ileU
9eGbmpJHrmbNFk73g6k2YLOeosznMD89+AtRrRRn7C+sJmXx90+Eejs1aWWBRi8j
wnC4PNYGZCqV10z+bMWNFWuZlkO2o2c+o8I/mIM93trRgnciFzA2YYAILnz4vZ5L

View File

@ -1,23 +0,0 @@
Feature: CLI updater - stable16 base
Scenario: Update is available - 16.0.1 to 16.0.3
Given the current installed version is 16.0.0
And there is an update to version 16.0.3 available
When the CLI updater is run successfully
And the output should contain "Update successful"
Then the installed version should be 16.0
And maintenance mode should be off
And upgrade is not required
Scenario: Update is available - 16.0.0 to master daily
Given the current installed version is 16.0.0
And the current channel is "daily"
And there is an update to daily version of master available
# TODO broken due to files_texteditor removal
# When the CLI updater is run successfully
# And the output should contain "Update successful"
# Then the installed version should be 17.0
# And maintenance mode should be off
# And upgrade is not required

View File

@ -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