Skip to content

Commit

Permalink
[tests-only] Bump webCommit for UI tests (#1115)
Browse files Browse the repository at this point in the history
* Bump webCommit for UI tests

* copy filesForUpload after checking out the web commit
  • Loading branch information
phil-davis authored Dec 16, 2020
1 parent e481ecc commit 5c54876
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ config = {
},
'uiTests': {
'webBranch': 'master',
'webCommit': 'a96ce8dfa86dc668b620b609830b75dfa4c07a3d',
'webCommit': '5dae1886973ddbab0243e364800fa207fb716a20',
'suites': {
'webUIBasic': [
'webUILogin',
Expand Down Expand Up @@ -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'
],
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 5c54876

Please sign in to comment.