Problem/Motivation

with-composer jobs have 'needs' for phpcs and phpstan, but as well as /vendor this also downloads the phpstan and phpcs caches, which we don't want.

See https://docs.gitlab.com/ci/yaml/#needsartifacts

Steps to reproduce

Proposed resolution

To avoid downloading massive caches to 15+ different test jobs, always run the composer job and get artifacts only from there.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3620911

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

catch created an issue. See original summary.

catch’s picture

Issue summary: View changes
catch’s picture

Issue tags: +Test suite performance
catch’s picture

Title: Do less downloading of artificats » Do less downloading of artifacts
catch’s picture

Status: Active » Needs review

OK well this passes tests, it's not slower, cannot tell if it's faster really. The artifact downloading happens within the container build step which is a bit of a black box.

catch’s picture

Title: Do less downloading of artifacts » Only download artifacts we actually need during CI pipelines