Skip to content

Draft: Add test configuration to allow running rspec tests

Evan Read requested to merge eread/add-test-config-for-rspec into main

What does this Merge Request do and why?

Running some rspec tests locally fails due to configuration. The error included Refused to load the script and because it violates the following Content Security Policy directive.

This MR allows GDK to configure GitLab with the exact same test configuration given in config/gitlab.yml.example (https://gitlab.com/gitlab-org/gitlab/-/blob/58437b93f2e7b9aab9604f0cf06a3ab4c086ba6a/config/gitlab.yml.example#L1422).

Merge Request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise Issue to follow-up.
  • Documentation added/updated, if needed.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.

Merge request reports