diff --git a/config/config.php b/config/config.php index 338a7647..e0256788 100755 --- a/config/config.php +++ b/config/config.php @@ -125,7 +125,21 @@ ], ], '20' => [ - '100' => [ + '30' => [ + 'latest' => '21.0.1', + 'internalVersion' => '21.0.1.1', + 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip', + 'web' => 'https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html', + 'eol' => false, + 'minPHPVersion' => '7.3', + 'signature' => 'YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9 +rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY +tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm +lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr +RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S +qRc0DHdtzXMmzq4t4PfZhg==', + ], + '70' => [ 'latest' => '20.0.9', 'internalVersion' => '20.0.9.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-20.0.9.zip', diff --git a/tests/integration/features/stable.feature b/tests/integration/features/stable.feature index 42817cf7..c3f558ee 100644 --- a/tests/integration/features/stable.feature +++ b/tests/integration/features/stable.feature @@ -684,6 +684,27 @@ Feature: Testing the update scenario of stable releases And the installation mtime is "11" When The request is sent Then The response is non-empty + And Update to version "21.0.1.1" is available + And URL to download is "https://download.nextcloud.com/server/releases/nextcloud-21.0.1.zip" + And URL to documentation is "https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html" + And EOL is set to "0" + And The signature is + """ + YJQMb8iq13NhbvfEddaSjNeqlMe/dB0nJ27EwmiAuqSMMRpvVg4BjijfNjoG8lY9 + rs0k+YN4EkGSr1lhZvdWZ9LpmP1wug/l1wj8lWzjxp/588yp5jHs24XBsi14GrDY + tgcx/V6E2ELFfgXJY6R4y2bIaaDPPjDfi+a2nq5ut0RTalGaUh6jr1dzaKQ0rJXm + lqcZSGdY+smeb7ciFf0hykivKZATXHLczvYO3FUu/HVqlgRUxi+Q+wNjFmfFL3Vr + RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S + qRc0DHdtzXMmzq4t4PfZhg== + """ + + Scenario: Updating the Nextcloud 20.0.0 on the stable channel + Given There is a release with channel "stable" + And The received version is "20.0.0.3" + And The received PHP version is "7.3.0" + And the installation mtime is "31" + When The request is sent + Then The response is non-empty And Update to version "20.0.9.1" is available And URL to download is "https://download.nextcloud.com/server/releases/nextcloud-20.0.9.zip" And URL to documentation is "https://docs.nextcloud.com/server/20/admin_manual/maintenance/upgrade.html" @@ -718,3 +739,5 @@ Feature: Testing the update scenario of stable releases RGlZGz7bpa48/2sprNJ2CYGVLMjxtktUrUIH6NB0diVMK8kAd7+OIqtjCmUG307S qRc0DHdtzXMmzq4t4PfZhg== """ + +