mirror of
https://github.com/servo/servo.git
synced 2025-06-22 08:08:59 +01:00
Now that MinGW and MSYS have been removed from the Windows builders, bash is not available to run the previous upload_nightlies.sh script. Convert the script to Python 2 for cross-platform support. Additionally, switch to the `boto3` library for easy uploading without needing to install `s3cmd`, and move the code into mach for easy `boto3` installation as the new `./mach upload-nightly` command. Also, hard-code the paths to the packages instead of using globs to look for them, as the paths are static. (The paths used to contain timestamps, but we now insert timestamps when uploading to S3 to improve reproducibility.)
30 lines
478 B
Text
30 lines
478 B
Text
# Ensure all versions are pinned for repeatability,
|
|
# since `--system-site-packages` is enabled
|
|
|
|
blessings == 1.6
|
|
mach == 0.6.0
|
|
mozdebug == 0.1
|
|
mozinfo == 0.8
|
|
mozlog == 3.3
|
|
setuptools == 18.5
|
|
toml == 0.9.2
|
|
Mako == 1.0.4
|
|
|
|
# For Python linting
|
|
flake8 == 2.4.1
|
|
pep8 == 1.5.7
|
|
pyflakes == 0.8.1
|
|
|
|
# For buildbot checking
|
|
PyYAML == 3.12
|
|
|
|
# For test-webidl
|
|
ply == 3.8
|
|
|
|
# For Cross-platform colored terminal text
|
|
colorama == 0.3.7
|
|
|
|
# For package uploading
|
|
boto3 == 1.4.4
|
|
|
|
-e python/tidy
|