Update perf dashboard upload logic to support uploading binaries from owned commits.
authordewei_zhu@apple.com <dewei_zhu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Oct 2017 00:22:57 +0000 (00:22 +0000)
committerdewei_zhu@apple.com <dewei_zhu@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Oct 2017 00:22:57 +0000 (00:22 +0000)
commit2c3e81c7ba447e7cc6c0c9ea8f1a116040945c9e
treef6343a10c865004ce5bc63ae0ba3e26a33d317df
parentd555e3036d1d52139c305ca09ff7ceaf81ed26aa
Update perf dashboard upload logic to support uploading binaries from owned commits.
https://bugs.webkit.org/show_bug.cgi?id=178610

Reviewed by Ryosuke Niwa.

Update build requests to 'completed' only when all commit set items are satisfied.
Extend 'repositoryList' parameter to be able to specified own commit information.
Items in 'repositoryList' can either be a string for top level repository,
or a dictionary with two keys: 'ownerRepository' and 'ownedRepository'.

* public/api/upload-root.php: Extend upload logic for support uploading binaries from owned commits.
* server-tests/api-upload-root-tests.js: Added unit tests.
* server-tests/tools-sync-buildbot-integration-tests.js: Added unit tests.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@223864 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/api/upload-root.php
Websites/perf.webkit.org/server-tests/api-upload-root-tests.js
Websites/perf.webkit.org/server-tests/tools-sync-buildbot-integration-tests.js