New RSpec jobs in decomposed database mode
Run new RSpec jobs in decomposed database mode
The problem
We don't have a strong idea which bits will break when we move CI tables to a separate ci:
database.
We have a PoC MR but this is very, very large and rebasing is slow and tedious
The solution
Hence we need new jobs where the config/database.yml
is set up with both main:
and ci:
databases. This new jobs, like the jobs for pg13 and pg11, does not have to run for every MR.
However, developer should be be able to run these new jobs in their MR if they wish - via the new ~"pipeline:run-decomposed" label. If the label is not present, then these jobs do not get created.
- Pipeline without label: https://gitlab.com/gitlab-org/gitlab/-/pipelines/354811496, no decomposed jobs
✅ - Pipeline with label: https://gitlab.com/gitlab-org/gitlab/-/pipelines/354829659/builds, has decomposed jobs
✅
Wether these jobs are allowed to fail
I think this will depend on how many jobs fail with decomposed database mode. As of https://gitlab.com/gitlab-org/gitlab/-/pipelines/354428261, we have 1518 RSpec failures, so these new jobs will be allowed to fail
Related issue: #334233 (closed)