Skip to content

Commit

Permalink
[Tests-Only] Run acceptance tests with php7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dpakach committed Apr 28, 2020
1 parent a29683a commit 9ebbcd7
Showing 1 changed file with 82 additions and 2 deletions.
84 changes: 82 additions & 2 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ config = {
]
}
],
'extraApps': {
'notifications': ''
},
'phpVersions': [
'7.4',
],
},
'webUI-masterkey': {
'suites': {
Expand All @@ -96,6 +102,12 @@ config = {
]
}
],
'extraApps': {
'notifications': ''
},
'phpVersions': [
'7.4',
],
},
'webUI-userkeys': {
'suites': {
Expand All @@ -122,6 +134,12 @@ config = {
]
}
],
'extraApps': {
'notifications': ''
},
'phpVersions': [
'7.4',
],
},
'api-core-masterkey': {
'suites': [
Expand Down Expand Up @@ -154,6 +172,12 @@ config = {
]
}
],
'extraApps': {
'notifications': ''
},
'phpVersions': [
'7.4',
],
},
'api-core-latest-masterkey': {
'suites': [
Expand Down Expand Up @@ -187,6 +211,12 @@ config = {
]
}
],
'extraApps': {
'notifications': ''
},
'phpVersions': [
'7.4',
],
},
'api-core-userkeys': {
'suites': [
Expand Down Expand Up @@ -219,6 +249,12 @@ config = {
]
}
],
'extraApps': {
'notifications': ''
},
'phpVersions': [
'7.4',
],
},
'api-core-latest-userkeys': {
'suites': [
Expand Down Expand Up @@ -252,6 +288,12 @@ config = {
]
}
],
'extraApps': {
'notifications': ''
},
'phpVersions': [
'7.4',
],
},
'cli-core-masterkey': {
'suites': [
Expand Down Expand Up @@ -283,6 +325,12 @@ config = {
]
}
],
'extraApps': {
'notifications': ''
},
'phpVersions': [
'7.4',
],
},
'cli-core-userkeys': {
'suites': [
Expand Down Expand Up @@ -314,6 +362,12 @@ config = {
]
}
],
'extraApps': {
'notifications': ''
},
'phpVersions': [
'7.4',
],
},
'webUI-core-masterkey': {
'suites': [
Expand Down Expand Up @@ -346,6 +400,12 @@ config = {
]
}
],
'extraApps': {
'notifications': ''
},
'phpVersions': [
'7.4',
],
},
'webUI-core-latest-masterkey': {
'suites': [
Expand Down Expand Up @@ -379,6 +439,12 @@ config = {
]
}
],
'extraApps': {
'notifications': ''
},
'phpVersions': [
'7.4',
],
},
'webUI-core-userkeys': {
'suites': [
Expand Down Expand Up @@ -411,6 +477,12 @@ config = {
]
}
],
'extraApps': {
'notifications': ''
},
'phpVersions': [
'7.4',
],
},
'webUI-core-latest-userkeys': {
'suites': [
Expand Down Expand Up @@ -444,6 +516,12 @@ config = {
]
}
],
'extraApps': {
'notifications': ''
},
'phpVersions': [
'7.4',
],
},
}
}
Expand Down Expand Up @@ -1568,7 +1646,7 @@ def installCore(version, db, useBundledApp):
'image': 'owncloudci/core',
'pull': 'always',
'settings': {
'version': version,
'git_reference': 'php7.4-20200310',
'core_path': '/var/www/owncloud/server',
'db_type': dbType,
'db_name': database,
Expand Down Expand Up @@ -1755,7 +1833,7 @@ def installFederated(federatedServerVersion, phpVersion, logLevel, db, dbSuffix
'image': 'owncloudci/core',
'pull': 'always',
'settings': {
'version': federatedServerVersion,
'git_reference': 'php7.4-20200310',
'core_path': '/var/www/owncloud/federated',
'db_type': 'mysql',
'db_name': database,
Expand All @@ -1772,6 +1850,8 @@ def installFederated(federatedServerVersion, phpVersion, logLevel, db, dbSuffix
'echo "export TEST_SERVER_FED_URL=http://federated" > /var/www/owncloud/saved-settings.sh',
'cd /var/www/owncloud/federated',
'php occ a:l',
'git clone https://github.com/owncloud/user_ldap.git /var/www/owncloud/federated/apps/user_ldap',
'php occ a:e user_ldap',
'php occ a:e testing',
'php occ a:l',
'php occ config:system:set trusted_domains 1 --value=federated',
Expand Down

0 comments on commit 9ebbcd7

Please sign in to comment.