diff --git a/.drone.star b/.drone.star index 2ebfa13..0788337 100644 --- a/.drone.star +++ b/.drone.star @@ -185,7 +185,7 @@ def jscodestyle(): 'steps': [ { 'name': 'coding-standard-js', - 'image': 'owncloudci/php:7.2', + 'image': 'owncloudci/php:8.0', 'pull': 'always', 'commands': [ 'make test-js-style' @@ -490,13 +490,13 @@ def javascript(ctx): }, 'steps': installCore('daily-master-qa', 'sqlite', False) + - installApp('7.2') + - setupServerAndApp('7.2', params['logLevel']) + + installApp('7.4') + + setupServerAndApp('7.4', params['logLevel']) + params['extraSetup'] + [ { 'name': 'js-tests', - 'image': 'owncloudci/php:7.2', + 'image': 'owncloudci/php:8.0', 'pull': 'always', 'environment': params['extraEnvironment'], 'commands': params['extraCommandsBeforeTestRun'] + [ @@ -1580,7 +1580,7 @@ def databaseServiceForFederation(db, suffix): print('Not implemented federated database for ', dbName) return [] - return [{ + service = { 'name': dbName + suffix, 'image': db, 'pull': 'always', @@ -1590,7 +1590,10 @@ def databaseServiceForFederation(db, suffix): 'MYSQL_DATABASE': getDbDatabase(db) + suffix, 'MYSQL_ROOT_PASSWORD': getDbRootPassword() } - }] + } + if (db == 'mysql:8.0'): + service['command'] = ['--default-authentication-plugin=mysql_native_password'] + return [service] def buildTestConfig(params): configs = []