Bug 253537
Summary: | [buildbot] Move SFTP upload code from generate-bundle script to a new script for uploads and document it | ||
---|---|---|---|
Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> |
Component: | Tools / Tests | Assignee: | Carlos Alberto Lopez Perez <clopez> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | aakash_jain, jbedard, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=252864 |
Carlos Alberto Lopez Perez
The current way we are uploading the built-products from the workers to the master is really slow and is causing problems (see bug 252864).
On the GTK/WPE Packaging bots, on the step `generate-bundle` we upload the bundle created via SFTP to the production server. See: https://build.webkit.org/#/builders/30
The SSH server accepting the uploads is configured in a restricted way: the clients connecting to it are only allowed to run the `sftp-internal` command and are restricted inside a chroot so they can only modify their own files.
As an extra security measure the server can be configured to move the files that the bots upload out of that directory as soon as the upload is finished.
After talking with Aakash we agreed that it would be a good idea if I can factorize this code out of this script and make it useful also for uploading the built-products to the post-commit and EWS servers
Let's try it.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Carlos Alberto Lopez Perez
Pull request: https://github.com/WebKit/WebKit/pull/11193
EWS
Committed 261448@main (c3827e6cc0dc): <https://commits.webkit.org/261448@main>
Reviewed commits have been landed. Closing PR #11193 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/106508921>