Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: enable caching of container image builds #1567

Open
petermetz opened this issue Nov 23, 2021 · 0 comments
Open

ci: enable caching of container image builds #1567

petermetz opened this issue Nov 23, 2021 · 0 comments
Assignees
Labels
dependencies Pull requests that update a dependency file Developer_Experience enhancement New feature or request Flaky-Test-Automation Issues related to test stability (which is a long running issue that can never fully be solved) good-first-issue Good for newcomers good-first-issue-400-expert Hacktoberfest Hacktoberfest participants are welcome to take a stab at issues marked with this label. help wanted Extra attention is needed P2 Priority 2: High Tests Anything related to tests be that automatic or manual, integration or unit, etc.

Comments

@petermetz
Copy link
Member

Description

As a maintainer I want to make the CI faster and less wasteful so that it's easier to work with it and uses less energy in an attempt to save the planet.

Therefore the CI should check before building images if they were built already, e.g. some kind of shared cache among different executions would be nice because the way it is now, likely 95% of our image builds are producing the same SHAs from scratch every single time which is wasteful and slower than it should be and especially annoying when we get a flaky build fail even though it was passing several times before.

Acceptance Criteria

  1. Given an image SHA, it only ever gets built once on the CI
  2. Applies to all of the image builds that we are doing as part of the build-containers CI job (10+ images IIRC)
@petermetz petermetz added dependencies Pull requests that update a dependency file Developer_Experience enhancement New feature or request Flaky-Test-Automation Issues related to test stability (which is a long running issue that can never fully be solved) good-first-issue Good for newcomers good-first-issue-400-expert Hacktoberfest Hacktoberfest participants are welcome to take a stab at issues marked with this label. help wanted Extra attention is needed P3 Priority 3: Medium Tests Anything related to tests be that automatic or manual, integration or unit, etc. labels Nov 23, 2021
@petermetz petermetz assigned petermetz and unassigned petermetz Apr 3, 2023
@petermetz petermetz added P2 Priority 2: High and removed P3 Priority 3: Medium labels Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Developer_Experience enhancement New feature or request Flaky-Test-Automation Issues related to test stability (which is a long running issue that can never fully be solved) good-first-issue Good for newcomers good-first-issue-400-expert Hacktoberfest Hacktoberfest participants are welcome to take a stab at issues marked with this label. help wanted Extra attention is needed P2 Priority 2: High Tests Anything related to tests be that automatic or manual, integration or unit, etc.
Projects
None yet
Development

No branches or pull requests

1 participant