Skip to content

Commit

Permalink
Run core CLI acceptance tests in drone
Browse files Browse the repository at this point in the history
And reduce the number of parts that the core API and webUI tests are split into.
Because there is currently a limit of 1,000,000 bytes on the size of .drone.yml
  • Loading branch information
phil-davis committed Feb 18, 2020
1 parent 0093cd7 commit a62002b
Show file tree
Hide file tree
Showing 3 changed files with 1,313 additions and 2,602 deletions.
78 changes: 70 additions & 8 deletions .drone.starlark
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ config = {
],
'runCoreTests': True,
'runAllSuites': True,
'numberOfParts': 32,
'numberOfParts': 30,
'emailNeeded': True,
'federatedServerNeeded': True,
'extraEnvironment': {
Expand Down Expand Up @@ -169,7 +169,7 @@ config = {
],
'runCoreTests': True,
'runAllSuites': True,
'numberOfParts': 32,
'numberOfParts': 30,
'emailNeeded': True,
'federatedServerNeeded': True,
'cron': 'nightly',
Expand Down Expand Up @@ -202,7 +202,7 @@ config = {
],
'runCoreTests': True,
'runAllSuites': True,
'numberOfParts': 32,
'numberOfParts': 30,
'emailNeeded': True,
'federatedServerNeeded': True,
'extraEnvironment': {
Expand Down Expand Up @@ -234,7 +234,7 @@ config = {
],
'runCoreTests': True,
'runAllSuites': True,
'numberOfParts': 32,
'numberOfParts': 30,
'emailNeeded': True,
'federatedServerNeeded': True,
'cron': 'nightly',
Expand All @@ -255,6 +255,68 @@ config = {
}
],
},
'cli-core-masterkey': {
'suites': [
'cliCoreMKey',
],
'databases': [
'mysql:5.7',
],
'servers': [
'daily-master-qa',
],
'runCoreTests': True,
'runAllSuites': True,
'numberOfParts': 6,
'emailNeeded': True,
'extraEnvironment': {
'ENCRYPTION_TYPE': 'masterkey',
},
'extraSetup': [
{
'name': 'configure-app',
'image': 'owncloudci/php:7.1',
'pull': 'always',
'commands': [
'cd /var/www/owncloud/server',
'php occ encryption:enable',
'php occ encryption:select-encryption-type masterkey --yes',
'php occ config:list',
]
}
],
},
'cli-core-userkeys': {
'suites': [
'cliCoreUKey',
],
'databases': [
'mysql:5.7',
],
'servers': [
'daily-master-qa',
],
'runCoreTests': True,
'runAllSuites': True,
'numberOfParts': 6,
'emailNeeded': True,
'extraEnvironment': {
'ENCRYPTION_TYPE': 'user-keys',
},
'extraSetup': [
{
'name': 'configure-app',
'image': 'owncloudci/php:7.1',
'pull': 'always',
'commands': [
'cd /var/www/owncloud/server',
'php occ encryption:enable',
'php occ encryption:select-encryption-type user-keys --yes',
'php occ config:list',
]
}
],
},
'webUI-core-masterkey': {
'suites': [
'webUIcoreMKey',
Expand All @@ -267,7 +329,7 @@ config = {
],
'runCoreTests': True,
'runAllSuites': True,
'numberOfParts': 27,
'numberOfParts': 25,
'emailNeeded': True,
'federatedServerNeeded': True,
'extraEnvironment': {
Expand Down Expand Up @@ -299,7 +361,7 @@ config = {
],
'runCoreTests': True,
'runAllSuites': True,
'numberOfParts': 27,
'numberOfParts': 25,
'emailNeeded': True,
'federatedServerNeeded': True,
'cron': 'nightly',
Expand Down Expand Up @@ -332,7 +394,7 @@ config = {
],
'runCoreTests': True,
'runAllSuites': True,
'numberOfParts': 27,
'numberOfParts': 25,
'emailNeeded': True,
'federatedServerNeeded': True,
'extraEnvironment': {
Expand Down Expand Up @@ -364,7 +426,7 @@ config = {
],
'runCoreTests': True,
'runAllSuites': True,
'numberOfParts': 27,
'numberOfParts': 25,
'emailNeeded': True,
'federatedServerNeeded': True,
'cron': 'nightly',
Expand Down
Loading

0 comments on commit a62002b

Please sign in to comment.