gecko-dev/taskcluster/scripts
Andrew Halberstadt dbbfae76db Bug 1461980 - [taskgraph] Add ability to download artifacts from dependencies in run-task script, r=dustin
This adds a 'use-artifacts' key to the run_task schema. Tasks can specify artifacts to download like this:

run:
    using: run-task
    use_artifacts:
        build:
            - target.tar.bz2
            - target.common.tests.zip
            - target.mochitest.tests.zip

This will cause the run-task script to download those three artifacts from the task's 'build' dependency.
If the task doesn't have a 'build' dependency, taskgraph generation will error. The artifacts will be
downloaded into $USE_ARTIFACT_PATH. It is up to the task to do whatever extracting/setup may be required.
E.g this setup could go in the task's command.

At this time, only 'run-task' tasks using docker-worker are supported.

MozReview-Commit-ID: 3f02oCys62i

--HG--
extra : rebase_source : e8a85040e45042b537d4119334c4a8b7280b295c
2018-05-17 10:04:23 -04:00
..
builder Bug 1237182: remove mock(chroot) support r=Callek 2018-05-16 12:31:33 -04:00
misc Bug 1460668 Bump MinGW to capture the CD3D11_BLEND_DESC fix r=froydnj 2018-05-16 13:43:29 -05:00
tester Bug 1409260 - Remove comments about tc-vcs. r=dustin,gps 2017-10-17 15:12:41 +09:00
copy.sh
run-task Bug 1461980 - [taskgraph] Add ability to download artifacts from dependencies in run-task script, r=dustin 2018-05-17 10:04:23 -04:00