Skip to content

Commit

Permalink
14.0.2 on stable & production
Browse files Browse the repository at this point in the history
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
  • Loading branch information
MorrisJobke committed Oct 11, 2018
1 parent eee1736 commit b408273
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 69 deletions.
54 changes: 27 additions & 27 deletions config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,18 +107,18 @@
'production' => [
'14' => [
'100' => [
'latest' => '14.0.1',
'internalVersion' => '14.0.1.1',
'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-14.0.1.zip',
'latest' => '14.0.2',
'internalVersion' => '14.0.2.2',
'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-14.0.2.zip',
'web' => 'https://docs.nextcloud.com/server/14/admin_manual/maintenance/upgrade.html',
'eol' => false,
'minPHPVersion' => '7.0',
'signature' => 'GMLD/dgAkP8AtldfrBib1Jz9WAehw3wqnCRfReCckOt5XfGY8DjtGzDuyt285862
8wOPvmEIZsrGSooGiAgNv4H3kXO21EzzBwOyov26dyh+OtTxfxpN6yLEKpcRSWPj
GweHorjisB2gqf6P/nD9yo69QCEIZKm8O2wx09K+QC8jwJ+UxdSm6p7b/d14lPwW
n6hwHIcpwKicNJiLGWhHpslC64nIqp+DAbOeFtl+mVGpigyNec5+JekMVCayAGAs
RS5Otchsk2GtWqPWtQEWSbkPFxuIJY9ij1RY+ocABIfQ8b55pbwkRNpjAawq5+3G
UhPQ296yv/FbIxF+rWpL+g==',
'signature' => 'xXPJhUxUKN/KRFMkq/QcB3OxDMR7O8ds8BBgn8VSuEjbKwNHnpNn3cD0DeOD/pTx
n2XT+l8Ujl236A2PtslyHsSDvkNCz9qdRE3YcArTII2d/izy41uJi0IQf9LUTGFs
VA3DsaV47DqXzGYQISZZbL8X4RZcaX6Eunynbb2oCQ4zNcLO7qeK7QFtPZo6qkQV
X0qEmLomWBwp00h2wc9JSHaKmEuZR1WzZzjnI3TuuU2Tx+a0+GiOqOnm3iMBARPm
esnlHWgNCt97BBh3i1i5gkdf523j0WdFb8p16OEOa9xQDoqqcVaTYehJE5AIDuX7
WqfKK2UQ2bU/2BSDde436g==',
],
],
'13' => [
Expand Down Expand Up @@ -226,34 +226,34 @@
'stable' => [
'14' => [
'100' => [
'latest' => '14.0.1',
'internalVersion' => '14.0.1.1',
'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-14.0.1.zip',
'latest' => '14.0.2',
'internalVersion' => '14.0.2.2',
'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-14.0.2.zip',
'web' => 'https://docs.nextcloud.com/server/14/admin_manual/maintenance/upgrade.html',
'eol' => false,
'minPHPVersion' => '7.0',
'signature' => 'GMLD/dgAkP8AtldfrBib1Jz9WAehw3wqnCRfReCckOt5XfGY8DjtGzDuyt285862
8wOPvmEIZsrGSooGiAgNv4H3kXO21EzzBwOyov26dyh+OtTxfxpN6yLEKpcRSWPj
GweHorjisB2gqf6P/nD9yo69QCEIZKm8O2wx09K+QC8jwJ+UxdSm6p7b/d14lPwW
n6hwHIcpwKicNJiLGWhHpslC64nIqp+DAbOeFtl+mVGpigyNec5+JekMVCayAGAs
RS5Otchsk2GtWqPWtQEWSbkPFxuIJY9ij1RY+ocABIfQ8b55pbwkRNpjAawq5+3G
UhPQ296yv/FbIxF+rWpL+g==',
'signature' => 'xXPJhUxUKN/KRFMkq/QcB3OxDMR7O8ds8BBgn8VSuEjbKwNHnpNn3cD0DeOD/pTx
n2XT+l8Ujl236A2PtslyHsSDvkNCz9qdRE3YcArTII2d/izy41uJi0IQf9LUTGFs
VA3DsaV47DqXzGYQISZZbL8X4RZcaX6Eunynbb2oCQ4zNcLO7qeK7QFtPZo6qkQV
X0qEmLomWBwp00h2wc9JSHaKmEuZR1WzZzjnI3TuuU2Tx+a0+GiOqOnm3iMBARPm
esnlHWgNCt97BBh3i1i5gkdf523j0WdFb8p16OEOa9xQDoqqcVaTYehJE5AIDuX7
WqfKK2UQ2bU/2BSDde436g==',
],
],
'13' => [
'49' => [
'latest' => '14.0.1',
'internalVersion' => '14.0.1.1',
'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-14.0.1.zip',
'latest' => '14.0.2',
'internalVersion' => '14.0.2.2',
'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-14.0.2.zip',
'web' => 'https://docs.nextcloud.com/server/14/admin_manual/maintenance/upgrade.html',
'eol' => false,
'minPHPVersion' => '7.0',
'signature' => 'GMLD/dgAkP8AtldfrBib1Jz9WAehw3wqnCRfReCckOt5XfGY8DjtGzDuyt285862
8wOPvmEIZsrGSooGiAgNv4H3kXO21EzzBwOyov26dyh+OtTxfxpN6yLEKpcRSWPj
GweHorjisB2gqf6P/nD9yo69QCEIZKm8O2wx09K+QC8jwJ+UxdSm6p7b/d14lPwW
n6hwHIcpwKicNJiLGWhHpslC64nIqp+DAbOeFtl+mVGpigyNec5+JekMVCayAGAs
RS5Otchsk2GtWqPWtQEWSbkPFxuIJY9ij1RY+ocABIfQ8b55pbwkRNpjAawq5+3G
UhPQ296yv/FbIxF+rWpL+g==',
'signature' => 'xXPJhUxUKN/KRFMkq/QcB3OxDMR7O8ds8BBgn8VSuEjbKwNHnpNn3cD0DeOD/pTx
n2XT+l8Ujl236A2PtslyHsSDvkNCz9qdRE3YcArTII2d/izy41uJi0IQf9LUTGFs
VA3DsaV47DqXzGYQISZZbL8X4RZcaX6Eunynbb2oCQ4zNcLO7qeK7QFtPZo6qkQV
X0qEmLomWBwp00h2wc9JSHaKmEuZR1WzZzjnI3TuuU2Tx+a0+GiOqOnm3iMBARPm
esnlHWgNCt97BBh3i1i5gkdf523j0WdFb8p16OEOa9xQDoqqcVaTYehJE5AIDuX7
WqfKK2UQ2bU/2BSDde436g==',
],
'51' => [
'latest' => '13.0.7',
Expand Down
21 changes: 21 additions & 0 deletions tests/integration/features/production.feature
Original file line number Diff line number Diff line change
Expand Up @@ -308,3 +308,24 @@ Feature: Testing the update scenario of production releases
JxykFt4cHsk20guVaUrq700DCDt3/610DJY9ICthCfD9Bp7jmWK9uJnlJFRC3aL9
bIUO2hctEIlrVcUqBOeY6g==
"""

Scenario: Updating an outdated Nextcloud 14.0.0 on the production channel
Given There is a release with channel "production"
And The received version is "14.0.0.0"
And The received PHP version is "7.0.0"
And the installation mtime is "10"
When The request is sent
Then The response is non-empty
And Update to version "14.0.2.2" is available
And URL to download is "https://download.nextcloud.com/server/releases/nextcloud-14.0.2.zip"
And URL to documentation is "https://docs.nextcloud.com/server/14/admin_manual/maintenance/upgrade.html"
And EOL is set to "0"
And The signature is
"""
xXPJhUxUKN/KRFMkq/QcB3OxDMR7O8ds8BBgn8VSuEjbKwNHnpNn3cD0DeOD/pTx
n2XT+l8Ujl236A2PtslyHsSDvkNCz9qdRE3YcArTII2d/izy41uJi0IQf9LUTGFs
VA3DsaV47DqXzGYQISZZbL8X4RZcaX6Eunynbb2oCQ4zNcLO7qeK7QFtPZo6qkQV
X0qEmLomWBwp00h2wc9JSHaKmEuZR1WzZzjnI3TuuU2Tx+a0+GiOqOnm3iMBARPm
esnlHWgNCt97BBh3i1i5gkdf523j0WdFb8p16OEOa9xQDoqqcVaTYehJE5AIDuX7
WqfKK2UQ2bU/2BSDde436g==
"""
71 changes: 29 additions & 42 deletions tests/integration/features/stable.feature
Original file line number Diff line number Diff line change
Expand Up @@ -294,18 +294,18 @@ Feature: Testing the update scenario of stable releases
And the installation mtime is "10"
When The request is sent
Then The response is non-empty
And Update to version "14.0.1.1" is available
And URL to download is "https://download.nextcloud.com/server/releases/nextcloud-14.0.1.zip"
And Update to version "14.0.2.2" is available
And URL to download is "https://download.nextcloud.com/server/releases/nextcloud-14.0.2.zip"
And URL to documentation is "https://docs.nextcloud.com/server/14/admin_manual/maintenance/upgrade.html"
And EOL is set to "0"
And The signature is
"""
GMLD/dgAkP8AtldfrBib1Jz9WAehw3wqnCRfReCckOt5XfGY8DjtGzDuyt285862
8wOPvmEIZsrGSooGiAgNv4H3kXO21EzzBwOyov26dyh+OtTxfxpN6yLEKpcRSWPj
GweHorjisB2gqf6P/nD9yo69QCEIZKm8O2wx09K+QC8jwJ+UxdSm6p7b/d14lPwW
n6hwHIcpwKicNJiLGWhHpslC64nIqp+DAbOeFtl+mVGpigyNec5+JekMVCayAGAs
RS5Otchsk2GtWqPWtQEWSbkPFxuIJY9ij1RY+ocABIfQ8b55pbwkRNpjAawq5+3G
UhPQ296yv/FbIxF+rWpL+g==
xXPJhUxUKN/KRFMkq/QcB3OxDMR7O8ds8BBgn8VSuEjbKwNHnpNn3cD0DeOD/pTx
n2XT+l8Ujl236A2PtslyHsSDvkNCz9qdRE3YcArTII2d/izy41uJi0IQf9LUTGFs
VA3DsaV47DqXzGYQISZZbL8X4RZcaX6Eunynbb2oCQ4zNcLO7qeK7QFtPZo6qkQV
X0qEmLomWBwp00h2wc9JSHaKmEuZR1WzZzjnI3TuuU2Tx+a0+GiOqOnm3iMBARPm
esnlHWgNCt97BBh3i1i5gkdf523j0WdFb8p16OEOa9xQDoqqcVaTYehJE5AIDuX7
WqfKK2UQ2bU/2BSDde436g==
"""

Scenario: Updating an outdated Nextcloud 13.0.0 beta on the stable channel (php 5.6)
Expand All @@ -329,25 +329,25 @@ Feature: Testing the update scenario of stable releases
bIUO2hctEIlrVcUqBOeY6g==
"""

Scenario: Updating an up-to-date Nextcloud 13.0.6 on the stable channel
Scenario: Updating an up-to-date Nextcloud 13.0.7 on the stable channel
Given There is a release with channel "stable"
And The received version is "13.0.6.1"
And The received version is "13.0.7.2"
And The received PHP version is "7.0.0"
And the installation mtime is "10"
When The request is sent
Then The response is non-empty
And Update to version "14.0.1.1" is available
And URL to download is "https://download.nextcloud.com/server/releases/nextcloud-14.0.1.zip"
And Update to version "14.0.2.2" is available
And URL to download is "https://download.nextcloud.com/server/releases/nextcloud-14.0.2.zip"
And URL to documentation is "https://docs.nextcloud.com/server/14/admin_manual/maintenance/upgrade.html"
And EOL is set to "0"
And The signature is
"""
GMLD/dgAkP8AtldfrBib1Jz9WAehw3wqnCRfReCckOt5XfGY8DjtGzDuyt285862
8wOPvmEIZsrGSooGiAgNv4H3kXO21EzzBwOyov26dyh+OtTxfxpN6yLEKpcRSWPj
GweHorjisB2gqf6P/nD9yo69QCEIZKm8O2wx09K+QC8jwJ+UxdSm6p7b/d14lPwW
n6hwHIcpwKicNJiLGWhHpslC64nIqp+DAbOeFtl+mVGpigyNec5+JekMVCayAGAs
RS5Otchsk2GtWqPWtQEWSbkPFxuIJY9ij1RY+ocABIfQ8b55pbwkRNpjAawq5+3G
UhPQ296yv/FbIxF+rWpL+g==
xXPJhUxUKN/KRFMkq/QcB3OxDMR7O8ds8BBgn8VSuEjbKwNHnpNn3cD0DeOD/pTx
n2XT+l8Ujl236A2PtslyHsSDvkNCz9qdRE3YcArTII2d/izy41uJi0IQf9LUTGFs
VA3DsaV47DqXzGYQISZZbL8X4RZcaX6Eunynbb2oCQ4zNcLO7qeK7QFtPZo6qkQV
X0qEmLomWBwp00h2wc9JSHaKmEuZR1WzZzjnI3TuuU2Tx+a0+GiOqOnm3iMBARPm
esnlHWgNCt97BBh3i1i5gkdf523j0WdFb8p16OEOa9xQDoqqcVaTYehJE5AIDuX7
WqfKK2UQ2bU/2BSDde436g==
"""

Scenario: Updating an up-to-date Nextcloud 13.0.7 on the stable channel (late update)
Expand All @@ -374,37 +374,24 @@ Feature: Testing the update scenario of stable releases
And the installation mtime is "10"
When The request is sent
Then The response is non-empty
And Update to version "14.0.1.1" is available
And URL to download is "https://download.nextcloud.com/server/releases/nextcloud-14.0.1.zip"
And Update to version "14.0.2.2" is available
And URL to download is "https://download.nextcloud.com/server/releases/nextcloud-14.0.2.zip"
And URL to documentation is "https://docs.nextcloud.com/server/14/admin_manual/maintenance/upgrade.html"
And EOL is set to "0"
And The signature is
"""
GMLD/dgAkP8AtldfrBib1Jz9WAehw3wqnCRfReCckOt5XfGY8DjtGzDuyt285862
8wOPvmEIZsrGSooGiAgNv4H3kXO21EzzBwOyov26dyh+OtTxfxpN6yLEKpcRSWPj
GweHorjisB2gqf6P/nD9yo69QCEIZKm8O2wx09K+QC8jwJ+UxdSm6p7b/d14lPwW
n6hwHIcpwKicNJiLGWhHpslC64nIqp+DAbOeFtl+mVGpigyNec5+JekMVCayAGAs
RS5Otchsk2GtWqPWtQEWSbkPFxuIJY9ij1RY+ocABIfQ8b55pbwkRNpjAawq5+3G
UhPQ296yv/FbIxF+rWpL+g==
xXPJhUxUKN/KRFMkq/QcB3OxDMR7O8ds8BBgn8VSuEjbKwNHnpNn3cD0DeOD/pTx
n2XT+l8Ujl236A2PtslyHsSDvkNCz9qdRE3YcArTII2d/izy41uJi0IQf9LUTGFs
VA3DsaV47DqXzGYQISZZbL8X4RZcaX6Eunynbb2oCQ4zNcLO7qeK7QFtPZo6qkQV
X0qEmLomWBwp00h2wc9JSHaKmEuZR1WzZzjnI3TuuU2Tx+a0+GiOqOnm3iMBARPm
esnlHWgNCt97BBh3i1i5gkdf523j0WdFb8p16OEOa9xQDoqqcVaTYehJE5AIDuX7
WqfKK2UQ2bU/2BSDde436g==
"""

Scenario: Updating an up-to-date Nextcloud 14.0.0 on the stable channel
Scenario: Updating an up-to-date Nextcloud 14.0.2 on the stable channel
Given There is a release with channel "stable"
And The received version is "14.0.0.19"
And The received version is "14.0.2.2"
And The received PHP version is "7.0.0"
And the installation mtime is "10"
When The request is sent
Then The response is non-empty
And Update to version "14.0.1.1" is available
And URL to download is "https://download.nextcloud.com/server/releases/nextcloud-14.0.1.zip"
And URL to documentation is "https://docs.nextcloud.com/server/14/admin_manual/maintenance/upgrade.html"
And EOL is set to "0"
And The signature is
"""
GMLD/dgAkP8AtldfrBib1Jz9WAehw3wqnCRfReCckOt5XfGY8DjtGzDuyt285862
8wOPvmEIZsrGSooGiAgNv4H3kXO21EzzBwOyov26dyh+OtTxfxpN6yLEKpcRSWPj
GweHorjisB2gqf6P/nD9yo69QCEIZKm8O2wx09K+QC8jwJ+UxdSm6p7b/d14lPwW
n6hwHIcpwKicNJiLGWhHpslC64nIqp+DAbOeFtl+mVGpigyNec5+JekMVCayAGAs
RS5Otchsk2GtWqPWtQEWSbkPFxuIJY9ij1RY+ocABIfQ8b55pbwkRNpjAawq5+3G
UhPQ296yv/FbIxF+rWpL+g==
"""
Then The response is empty

0 comments on commit b408273

Please sign in to comment.