Skip to content

Conversation

@matweew
Copy link

@matweew matweew commented Oct 23, 2025

Description

In CI jobs with builds using baked filesystem we cannot reuse cached folders for composer, which is ~900MB. And the build process downloads all packages every time.

Related resources

image

CI log with baked docker/sdk up https://github.com/spryker/suite-nonsplit/actions/runs/18718201883/job/53383776766#logs

Change log

  • Added script that is executed only in "baked" mode, which pre-populates Docker cache with id=composer by building a temporary image.

Checklist

  • I agree with the Code Contribution License Agreement in CONTRIBUTING.md

@matweew matweew requested a review from alexanderM91 October 23, 2025 08:09
@alexanderM91 alexanderM91 added the QA Needs QA before release label Oct 23, 2025
@matweew
Copy link
Author

matweew commented Oct 23, 2025

With additional composer install on CI step and building temporary cache image, the total win is very small 35-37sec, but it adds additional steps and additional complexity. I won't use it in CI.

But it still can be used in the local env or in pipelines where composer files exist already.

@matweew matweew changed the title CC-36444: Use composer cache from host filesystem (speeds up CI execution) CC-36444: Use composer cache from host filesystem (speeds baked builds) Oct 23, 2025
@alexanderM91 alexanderM91 added QA Needs QA before release and removed QA Needs QA before release labels Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

QA Needs QA before release

Development

Successfully merging this pull request may close these issues.

3 participants