Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop PHP 7.0 from drone CI #40

Merged
merged 1 commit into from
Nov 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 13 additions & 14 deletions .drone.starlark
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@ config = {
'phpunit': {
'allDatabases' : {
'phpVersions': [
'7.0',
'7.1',
],
'coverage': False
},
'reducedDatabases' : {
'phpVersions': [
'7.1',
'7.2',
'7.3',
],
Expand Down Expand Up @@ -88,7 +87,7 @@ def codestyle():
return pipelines

default = {
'phpVersions': ['7.0'],
'phpVersions': ['7.1'],
}

if 'defaults' in config:
Expand Down Expand Up @@ -277,7 +276,7 @@ def phan():
return pipelines

default = {
'phpVersions': ['7.0', '7.1', '7.2', '7.3'],
'phpVersions': ['7.1', '7.2', '7.3'],
}

if 'defaults' in config:
Expand Down Expand Up @@ -349,7 +348,7 @@ def build():
return pipelines

default = {
'phpVersions': ['7.0'],
'phpVersions': ['7.1'],
'commands': [
'make dist'
],
Expand Down Expand Up @@ -474,13 +473,13 @@ def javascript():
},
'steps':
installCore('daily-master-qa', 'sqlite', False) +
installApp('7.0') +
setupServerAndApp('7.0', params['logLevel']) +
installApp('7.1') +
setupServerAndApp('7.1', params['logLevel']) +
params['extraSetup'] +
[
{
'name': 'js-tests',
'image': 'owncloudci/php:7.0',
'image': 'owncloudci/php:7.1',
'pull': 'always',
'environment': params['extraEnvironment'],
'commands': params['extraCommandsBeforeTestRun'] + [
Expand Down Expand Up @@ -527,7 +526,7 @@ def phptests(testType):
errorFound = False

default = {
'phpVersions': ['7.0', '7.1', '7.2', '7.3'],
'phpVersions': ['7.1', '7.2', '7.3'],
'databases': [
'sqlite', 'mariadb:10.2', 'mysql:5.5', 'mysql:5.7', 'postgres:9.4', 'oracle'
],
Expand Down Expand Up @@ -694,7 +693,7 @@ def acceptance():
default = {
'servers': ['daily-master-qa', 'latest'],
'browsers': ['chrome'],
'phpVersions': ['7.0'],
'phpVersions': ['7.1'],
'databases': ['mariadb:10.2'],
'federatedServerNeeded': False,
'filterTags': '',
Expand Down Expand Up @@ -1271,15 +1270,15 @@ def setupCeph(serviceParams):

createFirstBucket = serviceParams['createFirstBucket'] if 'createFirstBucket' in serviceParams else True
setupCommands = serviceParams['setupCommands'] if 'setupCommands' in serviceParams else [
'wait-for-it -t 60 ceph:80',
'wait-for-it -t 120 ceph:80',
'cd /var/www/owncloud/server/apps/files_primary_s3',
'cp tests/drone/ceph.config.php /var/www/owncloud/server/config',
'cd /var/www/owncloud/server',
]

return [{
'name': 'setup-ceph',
'image': 'owncloudci/php:7.0',
'image': 'owncloudci/php:7.1',
'pull': 'always',
'commands': setupCommands + ([
'./apps/files_primary_s3/tests/drone/create-bucket.sh',
Expand All @@ -1299,15 +1298,15 @@ def setupScality(serviceParams):
createFirstBucket = serviceParams['createFirstBucket'] if 'createFirstBucket' in serviceParams else True
createExtraBuckets = serviceParams['createExtraBuckets'] if 'createExtraBuckets' in serviceParams else False
setupCommands = serviceParams['setupCommands'] if 'setupCommands' in serviceParams else [
'wait-for-it -t 60 scality:8000',
'wait-for-it -t 120 scality:8000',
'cd /var/www/owncloud/server/apps/files_primary_s3',
'cp tests/drone/%s /var/www/owncloud/server/config' % configFile,
'cd /var/www/owncloud/server'
]

return [{
'name': 'setup-scality',
'image': 'owncloudci/php:7.0',
'image': 'owncloudci/php:7.1',
'pull': 'always',
'commands': setupCommands + ([
'php occ s3:create-bucket owncloud --accept-warning'
Expand Down
Loading