Archive traces to ObjectStorage without saving in FileStoarage

Summary

In the current implementation, Trace archiving feature works like

  1. Create a empty file
  2. Copy a raw trace from source (LiveTrace/FS/trace column) to the empty file
  3. Create Ci::JobArtifact record and Carrerwave moves the file to a permanent path in FileStorage.
  4. ObjectStorage::BackgroundMoveWorker moves the file from FileStorage to ObjectStorage.

But, since we were moving away from FS, we need to change this logic not to save in FileStorage

/cc @ayufan @andrewn

Edited Apr 03, 2018 by Shinya Maeda
Assignee Loading
Time tracking Loading