diff --git a/config/config.php b/config/config.php index af7c03ca..b79fa67a 100755 --- a/config/config.php +++ b/config/config.php @@ -108,6 +108,39 @@ return [ 'stable' => [ + '28' => [ + '100' => [ + 'latest' => '28.0.0', + 'internalVersion' => '28.0.0.11', + 'downloadUrl' => 'https://download.nextcloud.com/server/prereleases/nextcloud-28.0.0.zip', + 'web' => 'https://docs.nextcloud.com/server/28/admin_manual/maintenance/upgrade.html', + 'eol' => false, + 'minPHPVersion' => '8.0', + 'signature' => 'Fkf2AdafbBFkxlu1txHSa5MeSFpM0gjVKA6qjjqhkRnx3rlutwVu/78XhZ+Z7SxV +ZiC6nCZL11IKfvCmi5prc8i/OTrYgyP7u209sX/mfFOjk+6ohqOMX0DpsWnw5a8L +AQpACTz2uZc0cykzuoujbzbx9j7MP8/sYLhN1U70axKtaPgelbK1yN9+OMoDLPXP +n6HKvxqShNHQ2sy3d+hlWZPkHPN8qMpphaqkRdCz7Dc0aqS9grY7LTr7EKFsjeCK +VoMLaz6JgZmQx/BUU5jNlDEXoopUIsNqcyfW7GLNqUb/dHeIo68B1qqy2iABmiej +jY/l89wrm1xy8lzcf+AGLg==', + + ], + ], + '27.1.4' => [ + '30' => [ + 'latest' => '28.0.0', + 'internalVersion' => '28.0.0.11', + 'downloadUrl' => 'https://download.nextcloud.com/server/prereleases/nextcloud-28.0.0.zip', + 'web' => 'https://docs.nextcloud.com/server/28/admin_manual/maintenance/upgrade.html', + 'eol' => false, + 'minPHPVersion' => '8.0', + 'signature' => 'Fkf2AdafbBFkxlu1txHSa5MeSFpM0gjVKA6qjjqhkRnx3rlutwVu/78XhZ+Z7SxV +ZiC6nCZL11IKfvCmi5prc8i/OTrYgyP7u209sX/mfFOjk+6ohqOMX0DpsWnw5a8L +AQpACTz2uZc0cykzuoujbzbx9j7MP8/sYLhN1U70axKtaPgelbK1yN9+OMoDLPXP +n6HKvxqShNHQ2sy3d+hlWZPkHPN8qMpphaqkRdCz7Dc0aqS9grY7LTr7EKFsjeCK +VoMLaz6JgZmQx/BUU5jNlDEXoopUIsNqcyfW7GLNqUb/dHeIo68B1qqy2iABmiej +jY/l89wrm1xy8lzcf+AGLg==', + ], + ], '27' => [ '100' => [ 'latest' => '27.1.4', @@ -667,34 +700,35 @@ 'beta' => [ '28' => [ '100' => [ - 'latest' => '28.0.0 RC4', - 'internalVersion' => '28.0.0.10', - 'downloadUrl' => 'https://download.nextcloud.com/server/prereleases/nextcloud-28.0.0rc4.zip', + 'latest' => '28.0.0', + 'internalVersion' => '28.0.0.11', + 'downloadUrl' => 'https://download.nextcloud.com/server/prereleases/nextcloud-28.0.0.zip', 'web' => 'https://docs.nextcloud.com/server/28/admin_manual/maintenance/upgrade.html', 'eol' => false, 'minPHPVersion' => '8.0', - 'signature' => 'S0MmBX7aaTafTrwRgr7zS+FKDd4mt0KBBoxenC89gxPsRWpmaWalzWEowJbKK4I+ -oWz6NMFtlur9JdZ/un7Ie5sxa34HrF4iIwKukqc19q5179zB63eI/e86Z7Wsy0xw -xam0z+6vkTBmBPpUKAEIihBYNvw+CeqR7bzXtfih/bjRHWST+qxcqYZgq9a/Z4Fv -uHua/U/dcAAnd1c0u7OT8KxfSTjOkKAV4hsay3k37XyaeiR+WWMy2D2XB4ZMMKGQ -OX4PG8N0v1LydbZSPuq7OAxNjWkV6EeXxJVdZ080+yxrA7Jb3qPuszEqS0A7dBkb -VdSDfycqDwkJxQkwegZYLg==', + 'signature' => 'Fkf2AdafbBFkxlu1txHSa5MeSFpM0gjVKA6qjjqhkRnx3rlutwVu/78XhZ+Z7SxV +ZiC6nCZL11IKfvCmi5prc8i/OTrYgyP7u209sX/mfFOjk+6ohqOMX0DpsWnw5a8L +AQpACTz2uZc0cykzuoujbzbx9j7MP8/sYLhN1U70axKtaPgelbK1yN9+OMoDLPXP +n6HKvxqShNHQ2sy3d+hlWZPkHPN8qMpphaqkRdCz7Dc0aqS9grY7LTr7EKFsjeCK +VoMLaz6JgZmQx/BUU5jNlDEXoopUIsNqcyfW7GLNqUb/dHeIo68B1qqy2iABmiej +jY/l89wrm1xy8lzcf+AGLg==', + ], ], '27.1.5' => [ '100' => [ - 'latest' => '28.0.0 RC4', - 'internalVersion' => '28.0.0.10', - 'downloadUrl' => 'https://download.nextcloud.com/server/prereleases/nextcloud-28.0.0rc4.zip', + 'latest' => '28.0.0', + 'internalVersion' => '28.0.0.11', + 'downloadUrl' => 'https://download.nextcloud.com/server/prereleases/nextcloud-28.0.0.zip', 'web' => 'https://docs.nextcloud.com/server/28/admin_manual/maintenance/upgrade.html', 'eol' => false, 'minPHPVersion' => '8.0', - 'signature' => 'S0MmBX7aaTafTrwRgr7zS+FKDd4mt0KBBoxenC89gxPsRWpmaWalzWEowJbKK4I+ -oWz6NMFtlur9JdZ/un7Ie5sxa34HrF4iIwKukqc19q5179zB63eI/e86Z7Wsy0xw -xam0z+6vkTBmBPpUKAEIihBYNvw+CeqR7bzXtfih/bjRHWST+qxcqYZgq9a/Z4Fv -uHua/U/dcAAnd1c0u7OT8KxfSTjOkKAV4hsay3k37XyaeiR+WWMy2D2XB4ZMMKGQ -OX4PG8N0v1LydbZSPuq7OAxNjWkV6EeXxJVdZ080+yxrA7Jb3qPuszEqS0A7dBkb -VdSDfycqDwkJxQkwegZYLg==', + 'signature' => 'Fkf2AdafbBFkxlu1txHSa5MeSFpM0gjVKA6qjjqhkRnx3rlutwVu/78XhZ+Z7SxV +ZiC6nCZL11IKfvCmi5prc8i/OTrYgyP7u209sX/mfFOjk+6ohqOMX0DpsWnw5a8L +AQpACTz2uZc0cykzuoujbzbx9j7MP8/sYLhN1U70axKtaPgelbK1yN9+OMoDLPXP +n6HKvxqShNHQ2sy3d+hlWZPkHPN8qMpphaqkRdCz7Dc0aqS9grY7LTr7EKFsjeCK +VoMLaz6JgZmQx/BUU5jNlDEXoopUIsNqcyfW7GLNqUb/dHeIo68B1qqy2iABmiej +jY/l89wrm1xy8lzcf+AGLg==', ], ], '27' => [ diff --git a/tests/integration/features/beta.feature b/tests/integration/features/beta.feature index 10d30e3f..c969bf40 100644 --- a/tests/integration/features/beta.feature +++ b/tests/integration/features/beta.feature @@ -777,18 +777,18 @@ Feature: Testing the update scenario of beta releases And the installation mtime is "11" When The request is sent Then The response is non-empty - And Update to version "28.0.0.10" is available - And URL to download is "https://download.nextcloud.com/server/prereleases/nextcloud-28.0.0rc4.zip" + And Update to version "28.0.0.11" is available + And URL to download is "https://download.nextcloud.com/server/prereleases/nextcloud-28.0.0.zip" And URL to documentation is "https://docs.nextcloud.com/server/28/admin_manual/maintenance/upgrade.html" And EOL is set to "0" And The signature is """ - S0MmBX7aaTafTrwRgr7zS+FKDd4mt0KBBoxenC89gxPsRWpmaWalzWEowJbKK4I+ - oWz6NMFtlur9JdZ/un7Ie5sxa34HrF4iIwKukqc19q5179zB63eI/e86Z7Wsy0xw - xam0z+6vkTBmBPpUKAEIihBYNvw+CeqR7bzXtfih/bjRHWST+qxcqYZgq9a/Z4Fv - uHua/U/dcAAnd1c0u7OT8KxfSTjOkKAV4hsay3k37XyaeiR+WWMy2D2XB4ZMMKGQ - OX4PG8N0v1LydbZSPuq7OAxNjWkV6EeXxJVdZ080+yxrA7Jb3qPuszEqS0A7dBkb - VdSDfycqDwkJxQkwegZYLg== + Fkf2AdafbBFkxlu1txHSa5MeSFpM0gjVKA6qjjqhkRnx3rlutwVu/78XhZ+Z7SxV + ZiC6nCZL11IKfvCmi5prc8i/OTrYgyP7u209sX/mfFOjk+6ohqOMX0DpsWnw5a8L + AQpACTz2uZc0cykzuoujbzbx9j7MP8/sYLhN1U70axKtaPgelbK1yN9+OMoDLPXP + n6HKvxqShNHQ2sy3d+hlWZPkHPN8qMpphaqkRdCz7Dc0aqS9grY7LTr7EKFsjeCK + VoMLaz6JgZmQx/BUU5jNlDEXoopUIsNqcyfW7GLNqUb/dHeIo68B1qqy2iABmiej + jY/l89wrm1xy8lzcf+AGLg== """ Scenario: Updating Nextcloud 28 on the beta channel @@ -798,16 +798,16 @@ Feature: Testing the update scenario of beta releases And the installation mtime is "11" When The request is sent Then The response is non-empty - And Update to version "28.0.0.10" is available - And URL to download is "https://download.nextcloud.com/server/prereleases/nextcloud-28.0.0rc4.zip" + And Update to version "28.0.0.11" is available + And URL to download is "https://download.nextcloud.com/server/prereleases/nextcloud-28.0.0.zip" And URL to documentation is "https://docs.nextcloud.com/server/28/admin_manual/maintenance/upgrade.html" And EOL is set to "0" And The signature is """ - S0MmBX7aaTafTrwRgr7zS+FKDd4mt0KBBoxenC89gxPsRWpmaWalzWEowJbKK4I+ - oWz6NMFtlur9JdZ/un7Ie5sxa34HrF4iIwKukqc19q5179zB63eI/e86Z7Wsy0xw - xam0z+6vkTBmBPpUKAEIihBYNvw+CeqR7bzXtfih/bjRHWST+qxcqYZgq9a/Z4Fv - uHua/U/dcAAnd1c0u7OT8KxfSTjOkKAV4hsay3k37XyaeiR+WWMy2D2XB4ZMMKGQ - OX4PG8N0v1LydbZSPuq7OAxNjWkV6EeXxJVdZ080+yxrA7Jb3qPuszEqS0A7dBkb - VdSDfycqDwkJxQkwegZYLg== + Fkf2AdafbBFkxlu1txHSa5MeSFpM0gjVKA6qjjqhkRnx3rlutwVu/78XhZ+Z7SxV + ZiC6nCZL11IKfvCmi5prc8i/OTrYgyP7u209sX/mfFOjk+6ohqOMX0DpsWnw5a8L + AQpACTz2uZc0cykzuoujbzbx9j7MP8/sYLhN1U70axKtaPgelbK1yN9+OMoDLPXP + n6HKvxqShNHQ2sy3d+hlWZPkHPN8qMpphaqkRdCz7Dc0aqS9grY7LTr7EKFsjeCK + VoMLaz6JgZmQx/BUU5jNlDEXoopUIsNqcyfW7GLNqUb/dHeIo68B1qqy2iABmiej + jY/l89wrm1xy8lzcf+AGLg== """ diff --git a/tests/integration/features/stable.feature b/tests/integration/features/stable.feature index 170cfba4..b5053d93 100644 --- a/tests/integration/features/stable.feature +++ b/tests/integration/features/stable.feature @@ -992,3 +992,53 @@ Feature: Testing the update scenario of stable releases y1IVVg/5VlFIXCKzUXvNC7YSEQPsU6jX2obYua+AaLcoF1WJat/h09OUhqfw7j6l fO+PvyYh2Ngdq1u2LIvoFQ== """ + + Scenario: Not updating latest Nextcloud 27.1 on the stable channel (staged rollout) + Given There is a release with channel "stable" + And The received version is "27.1.4.1" + And The received PHP version is "8.1.0" + And the installation mtime is "41" + When The request is sent + Then The response is empty + + Scenario: Updating latest Nextcloud 27.1 on the stable channel + Given There is a release with channel "stable" + And The received version is "27.1.4.1" + And The received PHP version is "8.1.0" + And the installation mtime is "11" + When The request is sent + Then The response is non-empty + And Update to version "28.0.0.11" is available + And URL to download is "https://download.nextcloud.com/server/prereleases/nextcloud-28.0.0.zip" + And URL to documentation is "https://docs.nextcloud.com/server/28/admin_manual/maintenance/upgrade.html" + And EOL is set to "0" + And The signature is + """ + Fkf2AdafbBFkxlu1txHSa5MeSFpM0gjVKA6qjjqhkRnx3rlutwVu/78XhZ+Z7SxV + ZiC6nCZL11IKfvCmi5prc8i/OTrYgyP7u209sX/mfFOjk+6ohqOMX0DpsWnw5a8L + AQpACTz2uZc0cykzuoujbzbx9j7MP8/sYLhN1U70axKtaPgelbK1yN9+OMoDLPXP + n6HKvxqShNHQ2sy3d+hlWZPkHPN8qMpphaqkRdCz7Dc0aqS9grY7LTr7EKFsjeCK + VoMLaz6JgZmQx/BUU5jNlDEXoopUIsNqcyfW7GLNqUb/dHeIo68B1qqy2iABmiej + jY/l89wrm1xy8lzcf+AGLg== + """ + + Scenario: Updating Nextcloud 28 on the stable channel + Given There is a release with channel "stable" + And The received version is "28.0.0.0" + And The received PHP version is "8.1.0" + And the installation mtime is "11" + When The request is sent + Then The response is non-empty + And Update to version "28.0.0.11" is available + And URL to download is "https://download.nextcloud.com/server/prereleases/nextcloud-28.0.0.zip" + And URL to documentation is "https://docs.nextcloud.com/server/28/admin_manual/maintenance/upgrade.html" + And EOL is set to "0" + And The signature is + """ + Fkf2AdafbBFkxlu1txHSa5MeSFpM0gjVKA6qjjqhkRnx3rlutwVu/78XhZ+Z7SxV + ZiC6nCZL11IKfvCmi5prc8i/OTrYgyP7u209sX/mfFOjk+6ohqOMX0DpsWnw5a8L + AQpACTz2uZc0cykzuoujbzbx9j7MP8/sYLhN1U70axKtaPgelbK1yN9+OMoDLPXP + n6HKvxqShNHQ2sy3d+hlWZPkHPN8qMpphaqkRdCz7Dc0aqS9grY7LTr7EKFsjeCK + VoMLaz6JgZmQx/BUU5jNlDEXoopUIsNqcyfW7GLNqUb/dHeIo68B1qqy2iABmiej + jY/l89wrm1xy8lzcf+AGLg== + """