Skip to content

feat(gitlab-models): make GITLAB_BASE_URL configurable

Igor Drozdov requested to merge id-make-base-url-configurable into main

What does this merge request do and why?

This MR makes GITLAB_BASE_URL configurable. This will allow us to easily switch between environments to run evaluations for the same configuration.

Currently, we're working on enabling AI features powered by self-hosted models on the Staging Ref environment: Functional Testing: Configure self-hosted model... (gitlab-org/gitlab#497784 - closed). The final goal is to run evaluations against https://staging-ref.gitlab.com and get a nice dashboard like: https://lookerstudio.google.com/u/0/reporting/151b233a-d6ad-413a-9ebf-ea6efbf5387b/page/p_dt1c6y4xed.

Proposal

We could follow the how-to guide and create new configuration files, but if (should be checked) base_url is the only parameter that will be changed, WDYT about the following iteration:

  • Make GITLAB_BASE_URL configurable
  • Configure GITLAB_BASE_URL for the scheduled-run pipelines
  • Remove the base-url parameter one-by-one
  • Add new scheduled-run pipelines for staging-ref one-by-one

Merge request reports

Loading