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 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 20, 2020
1 parent 0093cd7 commit b115312
Show file tree
Hide file tree
Showing 3 changed files with 623 additions and 1,194 deletions.
70 changes: 66 additions & 4 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': 3,
'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': 3,
'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 Down
Loading

0 comments on commit b115312

Please sign in to comment.