mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
Move nightly upload script into Mach
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.)
This commit is contained in:
parent
97c14f05df
commit
043f78db53
4 changed files with 129 additions and 119 deletions
|
@ -24,4 +24,7 @@ ply == 3.8
|
|||
# For Cross-platform colored terminal text
|
||||
colorama == 0.3.7
|
||||
|
||||
# For package uploading
|
||||
boto3 == 1.4.4
|
||||
|
||||
-e python/tidy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue