Skip to content

Reduce GitHub Actions resource usage: size of artifacts, cpu time #754

@leighmcculloch

Description

@leighmcculloch

Reduce GitHub Actions resource usage: size of artifacts, cpu time.

Quickstart builds a lot of components and the efficiency of those builds is degrading. There are things we can do to reduce the amount of work the build pipeline is doing without losing anything we have today.

A large impact to the current slowness of the build pipeline is that the pipeline generates large artifacts that get copied between jobs.

The build pipeline already does a heap of caching, which is working really well, and doesn't need to change.

Here's some stats to illustrate how this has changed over time. In recent times there have been more builds on the repo running from increased contributions. There were also three large images added to the pipeline for rpc, lab, and the stellar-xdr cli.

Sizes of individual images in build pipeline:

Image

Note: large variance in cores build size over the last year has resulted in it showing up in this graph larger than it really is in recent months. The other images are pretty spot on and have not varied much.

Size of all images across a year:

Image

Sizes of images in the different architectures:

Image

Size of artifacts being written over time:

Image

TODO:

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions