aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/package_commands.py
Commit message (Collapse)AuthorAgeFilesLines
* Build on Mac with the dummy media stackMartin Robinson2023-04-231-2/+6
| | | | | | This is a temporary fix for broken GStreamer homebrew packages. Fixes 29653.
* Fix nightly upload to GH release logic.Mukilan Thiyagarajan2023-04-131-5/+9
| | | | | | | | | | | | | The boto3 S3 client automatically closes the given fileobj after the transfer is complete. This prevents us from reusing the package_hash_fileobj between s3 and github upload methods. This PR changes fixes the issue by creating fresh instances of io.BytesIO within the upload_to_* methods. Signed-off-by: Mukilan Thiyagarajan <me@mukilan.in>
* Upload nightly builds to Github ReleasesMukilan Thiyagarajan2023-04-121-14/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | This change extends the `mach upload-nightly` command to publish the nightly builds for all platforms as GH Release assets. The GH releases are made on a separate repository so that we can persist older nightly builds without having to accumulate git tags for them. Some design tradeoffs in this approach are: 1. To allow the 'latest' link from servo.org to remain stable, the release assets are named 'servo-latest.{ext}' instead of containing the release tag/date. 2. The release is created as draft and published atomically when all platforms have been built successfully. This allows us to link to the 'latest' alias from servo.org while gauranteeing that it contains builds for all platforms. The other option here would be to have code in servo.org UI that uses GH API to find the most recent release with a successful build for a given platform. 3. The tags in the nightly repo are all based on the same commit that has no relation to servo code base. Signed-off-by: Mukilan Thiyagarajan <me@mukilan.in>
* Remove more Taskcluster and Treeherder integrationMartin Robinson2023-04-101-33/+5
| | | | | Servo no longer uses Taskcluster and Treeherder, so this change removes script references to those services and support files.
* Replace usage of six.moves.urllib with urllibMartin Robinson2023-04-101-1/+1
| | | | | | Also organize some of the imports. Now that Servo only uses Python 3, this module is unnecessary. This is part of the gradual migration to using only Python 3.
* Package and upload linux w/ layout-2020 engine.Mukilan Thiyagarajan2023-03-101-0/+3
| | | | | | | | | | | | | The layout-2020 variant will be consumed by the internal WPT trend [dashboard][1] only and won't be made available on servo.org. This change will be removed once the layout engine we will use going forward is finalized. [1]: https://servo.github.io/internal-wpt-dashboard/ Signed-off-by: Mukilan Thiyagarajan <me@mukilan.in>
* Invalidate latest nightly files in CloudFront.Mukilan Thiyagarajan2023-01-261-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | After a new nightly build is uploaded to S3, bust the cache in CloudFront Edge servers with the CreateInvalidation AWS API. For each platform we use the `/nightly/<platform>/servo-latest.<ext>*` pattern to invalidate both package and sha256 files. As part of this change, a new policy has been attached to the "download.servo.org-uploads-from-travis" IAM user to allow the "cloudfront:CreateInvalidation" action. Since CloudFront [invalidates every version][1] of the cached file, regardless of the headers used for that version, this change should invalidate the different caches for 'Accept-Encoding' header. [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects Closes #29034 Signed-off-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>
* Load codesigning secret without JSON.Josh Matthews2021-07-021-2/+2
|
* Add UWP builds to github actions.Josh Matthews2021-05-291-0/+5
|
* Convert more taskcluster jobs to Github Actions.Josh Matthews2021-05-231-1/+8
|
* Fix bytes/string py3 confusion.Josh Matthews2021-05-031-1/+1
|
* Fix encoding call.Josh Matthews2021-02-241-1/+1
|
* Fix str/bytes confusion when uploading to s3.Josh Matthews2021-02-191-1/+1
|
* Port some code to Python3Vincent Ricard2021-02-181-1/+6
|
* Use new S3 bucketsSimon Sapin2020-11-111-2/+2
| | | | CC https://github.com/servo/project/issues/25
* Add gstreamer plugins to nightly package.Josh Matthews2020-07-201-1/+2
|
* Load explicit set of gstreamer plugins on macos, and include them in the ↵Josh Matthews2020-07-161-0/+2
| | | | nightly package.
* Fix remaining flake8 warningsKagami Sascha Rosylight2020-06-211-11/+11
|
* Set Content-Type for sha256 uploads.Josh Matthews2020-06-191-1/+3
|
* Fix file extension for Linux nightlycamelid2020-05-141-3/+3
|
* Only upload latest hashcamelid2020-05-131-7/+1
|
* Add integrity hash for nightly buildscamelid2020-05-131-0/+22
|
* Only create UWP archive if the app packages are signed.Josh Matthews2020-04-171-7/+9
|
* Remove version number from generated UWP archive.Josh Matthews2020-04-171-10/+13
|
* Find upload package extension correctly.Josh Matthews2020-04-161-2/+2
|
* python: Use updated mako path in package_commands.py.Emilio Cobos Álvarez2020-04-161-1/+1
|
* Properly sign UWP packagePaul Rouget2020-03-091-12/+69
|
* Always construct TC API URLs from $TASKCLUSTER_PROXY_URL or ↵Simon Sapin2019-11-051-1/+1
| | | | $TASKCLUSTER_ROOT_URL
* Use urllib from six module in order to be compatible with Python3marmeladema2019-10-161-2/+2
|
* Create a zip of all UWP packaging artifacts.Josh Matthews2019-10-101-1/+9
|
* Make APPX build part of package command. Add nightly build for UWP.Josh Matthews2019-09-121-3/+45
|
* Add --magicleap option to mach installAlan Jeffrey2019-08-191-7/+27
|
* Package both Servo2D and Servo3D in one magicleap mpkAlan Jeffrey2019-08-151-4/+3
|
* Added gstreamer support to the magicleap portAlan Jeffrey2019-08-081-0/+6
|
* Add Servo3D immersive demo for magicleapAlan Jeffrey2019-06-131-12/+17
|
* Package DLLs correctly for Windows cross builds.Josh Matthews2019-06-031-1/+1
|
* Fallback to docker-worker’s URL when $TASKCLUSTER_PROXY_URL is missingSimon Sapin2019-05-061-1/+5
|
* Fix missing concatenation operatorPete Moore2019-05-031-1/+1
| | | Co-Authored-By: SimonSapin <simon.sapin@exyr.org>
* Use the Taskcluster proxy URL provided by the workerSimon Sapin2019-05-031-1/+1
|
* Move taskcluster secrets into appropriate mach commands.Josh Matthews2019-05-021-4/+36
|
* Move debuggable flag setting for magicleap package to package fileAlan Jeffrey2019-04-251-3/+0
|
* Set the target when packaging for magicleapAlan Jeffrey2019-03-271-0/+5
|
* Remove GStreamer installer from Servo bundleUK9922018-12-011-10/+2
|
* Package: Update Windows packagingUK9922018-12-011-27/+10
|
* Automatically enable webvr for Android VR buildsManish Goregaokar2018-11-281-0/+9
|
* Restructure package-specific preferences, add support for VR-only prefsManish Goregaokar2018-11-281-7/+12
|
* Move Android and ML build artefacts to their own subdirectoryAnthony Ramine2018-11-281-6/+6
| | | | Works around #20380.
* Add debuggable flag to magicleap taildataAlan Jeffrey2018-11-161-0/+3
|
* Add magicleap-nightly builderAlan Jeffrey2018-11-131-3/+35
|
* Auto merge of #21913 - ferjm:rm.windows.nightly.zip, r=jdmbors-servo2018-10-161-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | Clean some temporary files from Windows packaging process - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21913) <!-- Reviewable:end -->