Skip to content

New RSpec jobs in decomposed database mode

Thong Kuah requested to merge decomposed_db_scripts_for_ci_tests into master

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.

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

Screen_Shot_2021-08-18_at_8.25.49_PM

Related issue: #334233 (closed)

Edited by Thong Kuah

Merge request reports