diff --git a/.drone.star b/.drone.star index 890540559c6..e0232a50747 100644 --- a/.drone.star +++ b/.drone.star @@ -22,7 +22,7 @@ config = { }, 'uiTests': { 'webBranch': 'master', - 'webCommit': 'a96ce8dfa86dc668b620b609830b75dfa4c07a3d', + 'webCommit': '5dae1886973ddbab0243e364800fa207fb716a20', 'suites': { 'webUIBasic': [ 'webUILogin', @@ -624,11 +624,11 @@ def uiTestPipeline(ctx, suiteName, webBranch = 'master', webCommit = '', storage 'commands': [ 'git clone -b master --depth=1 https://github.com/owncloud/testing.git /srv/app/testing', 'git clone -b %s --single-branch --no-tags https://github.com/owncloud/web.git /srv/app/web' % (webBranch), - 'cp -r /srv/app/web/tests/acceptance/filesForUpload/* /uploads', 'cd /srv/app/web', ] + ([ 'git checkout %s' % (webCommit) ] if webCommit != '' else []) + [ + 'cp -r tests/acceptance/filesForUpload/* /uploads', 'yarn install-all', 'yarn run acceptance-tests-drone' ], @@ -691,11 +691,11 @@ def accountsUITests(ctx, webBranch, webCommit, storage = 'owncloud', accounts_ha 'commands': [ 'git clone -b master --depth=1 https://github.com/owncloud/testing.git /srv/app/testing', 'git clone -b %s --single-branch --no-tags https://github.com/owncloud/web.git /srv/app/web' % (webBranch), - 'cp -r /srv/app/web/tests/acceptance/filesForUpload/* /uploads', 'cd /srv/app/web', ] + ([ 'git checkout %s' % (webCommit) ] if webCommit != '' else []) + [ + 'cp -r tests/acceptance/filesForUpload/* /uploads', 'yarn install-all', 'cd /drone/src/accounts', 'yarn install --all',