Skip to content

Change CODE_SUGGESTIONS_BASE_URL to AI_GATEWAY_URL

What does this MR do and why?

See Slack announcement: https://gitlab.slack.com/archives/CJWA4E9UG/p1706792046214809

The CODE_SUGGESTIONS_BASE_URL environment variable was recently updated to AI_GATEWAY_URL. This MR updates Test::Integration::AiGateway to account for this new change.

This should also resolve the test failures reported in gitlab#440208 (closed)

How to set up and validate locally

  1. Check out this branch locally
  2. Export the following env vars:
export GITLAB_LICENSE_MODE=test
export QA_EE_ACTIVATION_CODE=<value from 1Password>
export GITLAB_QA_ADMIN_ACCESS_TOKEN=<value from https://gitlab.com/gitlab-org/gitlab-qa/-/blob/master/support/data/admin_access_token_seed.rb#L7>
export QA_SKIP_PULL=true
  1. Pull this Docker image from omnibus-gitlab-mirror from this master job
docker pull registry.gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/gitlab-ee:7fb58b46ac8cd0d7b4786006fe15f7dda3cdb2c7
  1. Run the following:
exe/gitlab-qa Test::Integration::AiGateway registry.gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/gitlab-ee:7fb58b46ac8cd0d7b4786006fe15f7dda3cdb2c7

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 Valerie Burton

Merge request reports