Skip to content

Commit

Permalink
Merge pull request #889 from nextcloud-releases/master
Browse files Browse the repository at this point in the history
[prod] fix: daily configuration for 27 and master
  • Loading branch information
blizzz authored Jul 7, 2023
2 parents b410d14 + 4fcef8e commit b6975f2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
10 changes: 8 additions & 2 deletions config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -1203,15 +1203,21 @@
],
],
'daily' => [
'27' => [
'28' => [
'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-master.zip',
'web' => 'https://docs.nextcloud.com/server/latest/admin_manual/maintenance/upgrade.html',
'eol' => false,
'minPHPVersion' => '8.0',
],
'27' => [
'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-stable27.zip',
'web' => 'https://docs.nextcloud.com/server/27/admin_manual/maintenance/upgrade.html',
'eol' => false,
'minPHPVersion' => '8.0',
],
'26' => [
'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-stable26.zip',
'web' => 'https://docs.nextcloud.com/server/latest/admin_manual/maintenance/upgrade.html',
'web' => 'https://docs.nextcloud.com/server/26/admin_manual/maintenance/upgrade.html',
'eol' => false,
'minPHPVersion' => '8.0',
],
Expand Down
18 changes: 15 additions & 3 deletions tests/integration/features/daily.feature
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Feature: Testing the update scenario of daily releases

Scenario: Updating an outdated Nextcloud 27 daily
Scenario: Updating an outdated Nextcloud 28 daily
Given There is a release with channel "daily"
And The received version is "27.1.0"
And The received version is "28.1.0"
And the received build is "2012-10-19T18:44:30+00:00"
When The request is sent
Then The response is non-empty
Expand All @@ -12,6 +12,18 @@ Feature: Testing the update scenario of daily releases
And EOL is set to "0"
And No signature is set

Scenario: Updating an outdated Nextcloud 27 daily
Given There is a release with channel "daily"
And The received version is "27.1.0"
And the received build is "2012-10-19T18:44:30+00:00"
When The request is sent
Then The response is non-empty
And Update to version "100.0.0.0" is available
And URL to download is "https://download.nextcloud.com/server/daily/latest-stable27.zip"
And URL to documentation is "https://docs.nextcloud.com/server/27/admin_manual/maintenance/upgrade.html"
And EOL is set to "0"
And No signature is set

Scenario: Updating an outdated Nextcloud 26 daily
Given There is a release with channel "daily"
And The received version is "26.1.0"
Expand All @@ -20,7 +32,7 @@ Feature: Testing the update scenario of daily releases
Then The response is non-empty
And Update to version "100.0.0.0" is available
And URL to download is "https://download.nextcloud.com/server/daily/latest-stable26.zip"
And URL to documentation is "https://docs.nextcloud.com/server/latest/admin_manual/maintenance/upgrade.html"
And URL to documentation is "https://docs.nextcloud.com/server/26/admin_manual/maintenance/upgrade.html"
And EOL is set to "0"
And No signature is set

Expand Down

0 comments on commit b6975f2

Please sign in to comment.