Skip to content

Commit 82d72ee

Browse files
author
GitLab Bot
committed
Add latest changes from gitlab-org/gitlab@master
1 parent 324185d commit 82d72ee

File tree

57 files changed

+1783
-207
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1783
-207
lines changed

.gitlab/ci/global.gitlab-ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,21 @@
468468
- !reference [.db-services-with-auto-explain, services]
469469
- !reference [.es8-services, services]
470470

471+
.opensearch-latest-services:
472+
services:
473+
- !reference [.zoekt-services, services]
474+
- name: opensearchproject/opensearch:latest
475+
alias: elasticsearch
476+
command: ["bin/opensearch", "-E", "discovery.type=single-node", "-E", "plugins.security.disabled=true", "-E", "cluster.routing.allocation.disk.threshold_enabled=false"]
477+
478+
.use-pg16-opensearch-latest-ee:
479+
extends:
480+
- .use-pg16
481+
- .zoekt-variables
482+
services:
483+
- !reference [.db-services-with-auto-explain, services]
484+
- !reference [.opensearch-latest-services, services]
485+
471486
.os1-services:
472487
services:
473488
- !reference [.zoekt-services, services]

.gitlab/ci/rails.gitlab-ci.yml

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -650,9 +650,15 @@ rspec:merge-auto-explain-logs:
650650
script:
651651
- scripts/merge-auto-explain-logs
652652
- |
653-
if [[ -f "$RSPEC_AUTO_EXPLAIN_LOG_PATH" ]] && [[ "$CI_PROJECT_PATH" == "gitlab-org/gitlab" ]] && [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
654-
source scripts/gitlab_component_helpers.sh
655-
extract_and_upload_fingerprints
653+
if [[ -f "$RSPEC_AUTO_EXPLAIN_LOG_PATH" ]] && [[ "$CI_PROJECT_PATH" == "gitlab-org/gitlab" ]]; then
654+
if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then
655+
# For the default branch (e.g., master), extract and upload fingerprints
656+
source scripts/gitlab_component_helpers.sh
657+
extract_and_upload_fingerprints
658+
else
659+
# For MRs, compare against master fingerprints and generate a report
660+
scripts/merge_request_query_differ.rb "$RSPEC_AUTO_EXPLAIN_LOG_PATH"
661+
fi
656662
fi
657663
artifacts:
658664
name: auto-explain-logs
@@ -1213,6 +1219,35 @@ rspec-ee system pg17:
12131219
# EE: default branch nightly scheduled jobs #
12141220
#####################################
12151221

1222+
##################################################
1223+
# EE: default branch weekly scheduled jobs #
1224+
# Integration tests with latest OpenSearch versions
1225+
# and the actual PG production version (PG16)
1226+
1227+
rspec-ee unit pg16 opensearch-latest:
1228+
extends:
1229+
- .rspec-base-pg16
1230+
- .rspec-ee-base-pg16-opensearch-latest
1231+
- .rspec-ee-unit-parallel
1232+
- .rails:rules:default-branch-schedule-weekly--code-backstage-ee-only
1233+
1234+
rspec-ee integration pg16 opensearch-latest:
1235+
extends:
1236+
- .rspec-base-pg16
1237+
- .rspec-ee-base-pg16-opensearch-latest
1238+
- .rspec-ee-integration-parallel
1239+
- .rails:rules:default-branch-schedule-weekly--code-backstage-ee-only
1240+
1241+
rspec-ee system pg16 opensearch-latest:
1242+
extends:
1243+
- .rspec-base-pg16
1244+
- .rspec-ee-base-pg16-opensearch-latest
1245+
- .rspec-ee-system-parallel
1246+
- .rails:rules:default-branch-schedule-weekly--code-backstage-ee-only
1247+
1248+
# EE: default branch weekly scheduled jobs #
1249+
##################################################
1250+
12161251
##################################################
12171252
# EE: Canonical MR pipelines
12181253
.rspec-fail-fast:

.gitlab/ci/rails/shared.gitlab-ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,11 @@ include:
291291
- .use-pg16-es8-ee
292292
- .rails:rules:run-search-tests
293293

294+
.rspec-ee-base-pg16-opensearch-latest:
295+
extends:
296+
- .rspec-base
297+
- .use-pg16-opensearch-latest-ee
298+
294299
.rspec-ee-base-pg16-opensearch1:
295300
extends:
296301
- .rspec-base

0 commit comments

Comments
 (0)