Implement caching of the Composer packages

Created on 18 March 2025, 18 days ago

Problem/Motivation

Now in the "composer" job we download all packages from the main Composer repo on every pipeline run, which spends resources and bandwidth on downloading the same things too many times. Also, it produces additional load to the external Composer repo.

Proposed resolution

GitLab provides caching for pipeline jobs https://docs.gitlab.com/ci/caching/ - using it, we can just cache all the dependencies once, and reuse them in jobs.

This should speed up the composer job execution and decrease the Drupal.org infrastructure resource usage.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Component

gitlab-ci

Created by

🇦🇲Armenia murz Yerevan, Armenia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024