Merge pull request #209 from owncloud/use-latest-phoenix
[Tests-Only] use latest version of phoenix for UI tests in CI
This commit is contained in:
+28
-4
@@ -433,20 +433,46 @@ def uiTests(ctx):
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'name': 'clone-build-phoenix',
|
||||||
|
'image': 'owncloudci/nodejs:10',
|
||||||
|
'pull': 'always',
|
||||||
|
'commands': [
|
||||||
|
'git clone -b master --depth=1 https://github.com/owncloud/phoenix.git /srv/app/uitestrunner',
|
||||||
|
'cd /srv/app/uitestrunner',
|
||||||
|
'yarn install --all',
|
||||||
|
'yarn dist',
|
||||||
|
],
|
||||||
|
'volumes': [
|
||||||
|
{
|
||||||
|
'name': 'config',
|
||||||
|
'path': '/srv/config',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'name': 'gopath',
|
||||||
|
'path': '/srv/app',
|
||||||
|
},
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'name': 'phoenix',
|
'name': 'phoenix',
|
||||||
'image': 'owncloud/ocis-phoenix',
|
'image': 'owncloud/ocis-phoenix',
|
||||||
'pull': 'always',
|
'pull': 'always',
|
||||||
'detach': True,
|
'detach': True,
|
||||||
'environment': {
|
'environment': {
|
||||||
'PHOENIX_WEB_CONFIG': '/srv/config/drone/config.json',
|
'PHOENIX_WEB_CONFIG': '/srv/config/drone/config.json',
|
||||||
'PHOENIX_OIDC_CLIENT_ID': 'phoenix'
|
'PHOENIX_OIDC_CLIENT_ID': 'phoenix',
|
||||||
|
'PHOENIX_ASSET_PATH': '/srv/app/uitestrunner/dist'
|
||||||
},
|
},
|
||||||
'volumes': [
|
'volumes': [
|
||||||
{
|
{
|
||||||
'name': 'config',
|
'name': 'config',
|
||||||
'path': '/srv/config',
|
'path': '/srv/config',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'name': 'gopath',
|
||||||
|
'path': '/srv/app',
|
||||||
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -509,9 +535,7 @@ def uiTests(ctx):
|
|||||||
'commands': [
|
'commands': [
|
||||||
'ls -la /srv/config/drone',
|
'ls -la /srv/config/drone',
|
||||||
'git clone https://github.com/owncloud/testing.git /srv/app/testingapp',
|
'git clone https://github.com/owncloud/testing.git /srv/app/testingapp',
|
||||||
'git clone -b master --depth=1 https://github.com/owncloud/phoenix.git /srv/app/uitestrunner',
|
|
||||||
'cd /srv/app/uitestrunner',
|
'cd /srv/app/uitestrunner',
|
||||||
'yarn install --all',
|
|
||||||
'yarn run acceptance-tests-drone'
|
'yarn run acceptance-tests-drone'
|
||||||
],
|
],
|
||||||
'volumes': [
|
'volumes': [
|
||||||
|
|||||||
Reference in New Issue
Block a user