servo/python
Mukilan Thiyagarajan e4764e7661 Invalidate latest nightly files in CloudFront.
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>
2023-01-26 18:15:37 +05:30
..
mach Make mach work on Python 3.11 2023-01-22 05:13:30 +01:00
servo Invalidate latest nightly files in CloudFront. 2023-01-26 18:15:37 +05:30
tidy Update allowed license string. 2022-10-16 09:23:05 -04:00
mach_bootstrap.py Run WPT sync nightly on GitHub Action 2022-08-16 00:14:55 +09:00
README.md Fix styling for Markdown headers. 2016-05-02 22:20:49 -04:00
requirements.txt Bump setuptools from 65.3.0 to 65.5.1 in /python 2022-12-27 17:17:43 +00:00
tox.ini Added tox.ini 2016-05-08 12:10:48 +02:00

This directory contains various Python modules used to support servo development.

servo

servo-specific python code e.g. implementations of mach commands. This is the canonical repository for this code.

tidy

servo-tidy is used to check licenses, line lengths, whitespace, flake8 on Python files, lock file versions, and more.