Push almost all pipeline definition to a new include
All threads resolved!
All threads resolved!
This lets us make changes and have almost all projects follow along without their intervention.
With this PR an implementing project just puts the following stanza in their .gitlab-ci.yml
include:
# This include centralizes our CI "golden path" https://docs.gitlab.com/ee/ci/yaml/#includefile
- project: 'project/gitlab_templates'
ref: $_GITLAB_TEMPLATES_REF
file:
- '/includes/include.drupalci.main.yml'
- '/includes/include.drupalci.variables.yml'
- '/includes/include.drupalci.workflows.yml'
This MR also:
- Facilitates matrix testing by making it easy to reuse the phpunit job definition.
- Makes it possible to disable a job via env variable
- Adds --no-interaction to
phpunit
command - Copies in the default phpcs config
- Simplify by not using composer scripts.
- Use disclosure triangle to hide printing of env vars in the Console. This tidies our Console log.
- Adds Nightwatch testing
- Eslint/Stylelint only run when there is work to do
Edited by Moshe Weitzman
Merge request reports
Activity
- Resolved by Tim Hestenes Lehnen
- Resolved by Tim Hestenes Lehnen
- Resolved by Moshe Weitzman
added 1 commit
- 6781e4b2 - Simplify a bit by not using composer scripts.
added 1 commit
- b22ef7c0 - Use disclosure to hide env variable printing until needed ... Allow for...
added 1 commit
- c5148b4f - Our scripts should not be included in phpcs for the project.
- Resolved by Tim Hestenes Lehnen
- Resolved by Tim Hestenes Lehnen
added 2 commits
added 1 commit
- 6dd92bf9 - Factor composer job into a hidden so it can be easily reused.
added 1 commit
- 5c3beb42 - Fix artifact path and factor nightwatch a smidge
added 1 commit
- 8e8a2196 - Small clean ups to inline documentation and variable descriptions.
added 2 commits
Please register or sign in to reply