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

Slow builds #343

Open
localheinz opened this issue Jun 30, 2022 · 1 comment
Open

Slow builds #343

localheinz opened this issue Jun 30, 2022 · 1 comment

Comments

@localheinz
Copy link
Contributor

localheinz commented Jun 30, 2022

Which release, branch or hash of Docker SDK are you using?

2958d59

Which operating system (platform/version/architecture) are you using?

ubuntu-18.04 on GitHub Actions

What is the issue that you're experiencing?

We are experiencing very slow builds on GitHub Actions.

When running acceptance and functional tests, the jobs run ~11 and ~7 minutes respectively. Most of the time they are busy building Docker images.

We would like to speed up the builds by caching Docker layers. Unfortunately, it is unclear how to do that.

Long build times

  • eat up build minutes
  • force developers to push rarely
  • force developers to push larger commits

What are the steps to reproduce the issue?

See https://github.com/spryker-shop/b2b-demo-shop/blob/bcc57623dcf9c483bf5fb4444745ce13efac6fa6/.github/workflows/ci.yml.

See https://github.com/spryker-shop/b2b-demo-shop/actions/runs/2538229226:

CleanShot 2022-06-30 at 09 59 25@2x

What is the expected result of these steps in the absence of the issue?

Fast builds!

What is the actual result?

Slow builds. 🐌

What possible solutions and/or workarounds for the issue do you see?

Using Docker layer caching.

Is there any other information that might be helpful?

@alexanderM91
Copy link
Collaborator

Hey @localheinz,
sorry for long response time.

Sure, we will add it to our backlog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants