Skip to content

Create Runtime::Env.mock_github_enabled? method

George Koltsov requested to merge create-mock-github-enabled-method into master

What does this MR do and why?

https://gitlab.com/gitlab-org/gitlab-qa/-/merge_requests/1112 had changed enabled? in lib/gitlab/qa/runtime/env.rb to a private method, which broke the ee:importers job in e2e:package-and-test

This MR adds a new mock_github_enabled? method for import.rb to check if QA_MOCK_GITHUB is enabled

Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/389612

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by George Koltsov

Merge request reports