-
Notifications
You must be signed in to change notification settings - Fork 30
Available tasks
TheTechRobo edited this page Jul 12, 2022
·
3 revisions
- Task (task.py)
- SimpleTask (task.py)
- SetItemKey (task.py)
- PrintItem (task.py)
- PrepareStatsForTracker (tracker.py)
- LimitConcurrent (task.py)
- ConditionalTask (task.py)
- ExternalProcess (externalprocess.py)
- WgetDownload (externalprocess.py)
- RsyncUpload (externalprocess.py)
- CurlUpload (externalprocess.py)
- TrackerRequest (tracker.py)
- GetItemFromTracker (tracker.py)
Example:where TRACKER_HOST is the hostname of the tracker (e.g.GetItemFromTracker(f'http://{TRACKER_HOST}/{TRACKER_ID}', downloader, VERSION),
tracker.archiveteam.org
), TRACKER_ID is the tracker project (e.g.glencoe
), and VERSION is the pipeline version (update it whenever you make a non-cosmetic change to make administration easier!). Don't definedownloader
yourself; it'll automatically get populated by Seesaw. - SendDoneToTracker (tracker.py)
- UploadWithTracker (tracker.py)
- GetItemFromTracker (tracker.py)
- SimpleTask (task.py)
TODO: Description how to use the different tasks.