ca2ee69e60
This is an alternative to I98c80f657f38c5e1ed5f28e5d36988a3429ad1f8 which does not modify the upload script, but rather queries the API and manifest for what to download. The script is a hybrid of python and bash to not implement json API parsing badly in bash, but not replicate curl badly in python either. The script sanity checks for dependencies, which are considered pretty standard for any developer who would be interested in downloading logs like this. The role writes out the script with the correct build values coded into it, so a potential user just has to run it without any arguments or modification. Change-Id: Ic33732adbfd3210191bf4976c3ee316cfc50568e
393 B
393 B
Add a script for users to bulk download logs locally
This adds a script for users to bulk download all logs to their local system. It queries the Zuul API for the manifest and then copies all files locally from the log server.
Role Variables
The Zuul API endpoint to use. Example:
https://zuul.example.org/api/tenant/{{ zuul.tenant }}