Uploading artifacts is slow

Overview

When uploading several hundred files as Artifacts you may find that you are seeing long durations for the store_artifacts step(s)

Solutions

  1. Compressing all of the files.
  2. Uploading as a single compressed file.

An example code snippet that can be used can be found below:

- run:
    name: Compress Artifacts
    command: tar -cvzf myartifact.tar path/to/artifacts

- store_artifacts:
  path: myartifact.tar
    destination: artifact_name

Once this has been done you should see an improvement in the speed of the upload.

Was this article helpful?
44 out of 69 found this helpful

Comments

0 comments

Article is closed for comments.