Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Optimize CI actions to use fewer minutes (/w less parallelization or more caching) #90

@NevilleS

Description

@NevilleS

Right now our CI has been very helpful, but as we continue to add more tests some of the inherent inefficiencies are really adding up!

After #86 lands our checks will look something like this:
image
image

If I'm following correctly, I think that's 8 jobs, totaling 33 minutes of CI actions for one PR 😅

Of course our actual actions (tests, linters, etc.) are quite fast - but the slow part is that each of these runners needs to docker pull all the dependencies and build the images every time. There's no caching between actions either so we pay that tax on every job.

Options here are:

  1. Combine multiple jobs into a single job, so that we can reuse the Docker images across them
  2. Setup Docker caching in our CI (I think this looks right: https://evilmartians.com/chronicles/build-images-on-github-actions-with-docker-layer-caching)

Metadata

Metadata

Assignees

Labels

dev experienceEnhancements to the overall DXmaintenanceRefactoring or ongoing maintenance work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions