Problem/Motivation
#2969363: Add a drupalci.yml to core landed, adding a core/drupalci.yml file that says this:
# Re-run composer install to ensure the dependencies resolve for the
# containerized PHP version.
container_composer:
options: ' install --prefer-dist --no-suggest --no-progress --no-interaction'
halt-on-fail: true
Just as this happened, we also made this change to the testbot: #2971239: Invert build to create environment first
This change ensures that the assemble_codebase step happens within the containerized PHP. See the default build file: https://cgit.drupalcode.org/drupalci_testbot/tree/build_definitions/deve...
This means we don't need to re-run composer install in our drupalci.yml file.
This isn't a bug, it just means that we run composer install more than we need to.
Proposed resolution
Remove the call to assessment:validate_codebase:container_composer from core/drupalci.yml.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2974033-3.patch | 528 bytes | jibran |
Comments
Comment #3
jibranHere you go.
Comment #4
jibranThe example file at https://www.drupal.org/drupalorg/docs/drupal-ci/customizing-drupalci-tes... also needs an update once this issue is fixed.
Comment #5
longwaveCompared the output of this run to a run of another patch and this part is now missing, but the build is still fine:
Shaving off 0.009 seconds won't change the world but still we might as well remove this.
Comment #6
alexpottCommitted ee719dc and pushed to 8.7.x. Thanks!