Archiver example¶
The archiver example in example/archiver creates sample output files and
builds zip archives from a folder and from individual files.
Run locally¶
cd example/archiver
python -m builddrone archive
python -m builddrone cleanup
The archive stage:
- Runs
main.pywithpython.runto createresult/summary.txtandresult/nested/data.txt - Creates
result.zipfrom theresultfolder witharchiver - Creates
summary.zipfromresult/summary.txtwitharchiver
The cleanup stage removes the result folder and both zip files.
Blueprint¶
See example/archiver/blueprint.json
in the repository.