WIP: Download build artifacts from previous stages and restore them in context of the build (Technology Preview)

Merged Kamil Trzcińśki requested to merge download-artifacts into master

This is Technology Preview of artifacts passing between stages.

As for now the artifacts from previous stages are unconditionally extracted in context of current build.

How it works?

The approach is naive:

  1. We archive artifacts and upload them to coordinator.
  2. When asking for a new build we receive from coordinator information about the builds on which current one depends on with information about artifacts.
  3. We download artifacts archive.
  4. We unpack artifacts archive.

It's not the fastest (requires to upload/download), but allows to have artifacts passing between different runners and can later be optimised to use local artifacts.


GitLab 8.4

Test builds: