Skip to content

Add weekly pipeline for PG/OS latest version

What does this MR do and why?

This MR introduces a weekly pipeline to run PG16 (current db version in production) and latest OpenSearch version. This is being done to give us an early warning if something breaks in the latest version of OpenSearch.

I did not include Elasticsearch in this MR because the concept of a latest tag is intentionally not provided, see https://github.com/elastic/elasticsearch-docker/issues/75#issuecomment-379228477

Ai summary

This change adds support for testing GitLab with OpenSearch, an open-source alternative to Elasticsearch. It creates a new weekly scheduled pipeline that runs tests using PostgreSQL 16 with the latest OpenSearch version. The implementation includes:

  1. A new service configuration for OpenSearch that aliases it as "elasticsearch" so existing code can interact with it
  2. New job definitions for running unit, integration, and system tests with this configuration
  3. Rules for when these weekly tests should run

This allows GitLab to regularly verify compatibility with the latest OpenSearch releases while maintaining their existing Elasticsearch test coverage, ensuring the product works well with both search backends.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Terri Chu

Merge request reports

Loading