Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-14 18:15:22 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-14 18:15:22 +0300
commitcdb41961fd2bc233d36c5b30f89d087c2efa9818 (patch)
tree9903f8054fc1f8681c670984a680b768d139a251 /.gitlab
parent8a5138ed7d38ccff8b5ca2fe0f7bbb77f8fdaad3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/CODEOWNERS22
-rw-r--r--.gitlab/ci/frontend.gitlab-ci.yml5
-rw-r--r--.gitlab/ci/package-and-test/main.gitlab-ci.yml54
-rw-r--r--.gitlab/ci/qa.gitlab-ci.yml15
4 files changed, 69 insertions, 27 deletions
diff --git a/.gitlab/CODEOWNERS b/.gitlab/CODEOWNERS
index c826bd0a6c0..c3aef06d737 100644
--- a/.gitlab/CODEOWNERS
+++ b/.gitlab/CODEOWNERS
@@ -433,11 +433,19 @@ lib/gitlab/checks/** @proglottis @toon
/doc/administration/logs/index.md @msedlakjakubowski
/doc/administration/maintenance_mode/ @axil
/doc/administration/merge_request_diffs.md @aqualls
-/doc/administration/monitoring/ @msedlakjakubowski
+/doc/administration/monitoring/github_imports.md @eread
+/doc/administration/monitoring/gitlab_self_monitoring_project/ @msedlakjakubowski
+/doc/administration/monitoring/index.md @msedlakjakubowski
/doc/administration/monitoring/ip_allowlist.md @jglassman1
+/doc/administration/monitoring/performance/gitlab_configuration.md @msedlakjakubowski
+/doc/administration/monitoring/performance/grafana_configuration.md @msedlakjakubowski
+/doc/administration/monitoring/performance/index.md @jglassman1
/doc/administration/monitoring/performance/performance_bar.md @jglassman1
/doc/administration/monitoring/prometheus/gitlab_exporter.md @jglassman1
/doc/administration/monitoring/prometheus/index.md @axil
+/doc/administration/monitoring/prometheus/pgbouncer_exporter.md @aqualls
+/doc/administration/monitoring/prometheus/postgres_exporter.md @aqualls
+/doc/administration/monitoring/prometheus/registry_exporter.md @marcel.amirault
/doc/administration/monitoring/prometheus/web_exporter.md @jglassman1
/doc/administration/nfs.md @axil
/doc/administration/object_storage.md @axil
@@ -465,6 +473,7 @@ lib/gitlab/checks/** @proglottis @toon
/doc/administration/server_hooks.md @eread
/doc/administration/sidekiq/ @axil
/doc/administration/sidekiq/sidekiq_memory_killer.md @jglassman1
+/doc/administration/silent_mode/ @axil
/doc/administration/smime_signing_email.md @axil
/doc/administration/snippets/ @aqualls
/doc/administration/static_objects_external_storage.md @ashrafkhamis
@@ -655,7 +664,6 @@ lib/gitlab/checks/** @proglottis @toon
/doc/ci/pipeline_editor/ @marcel.amirault
/doc/ci/pipelines/downstream_pipelines.md @marcel.amirault
/doc/ci/pipelines/index.md @marcel.amirault
-/doc/ci/pipelines/job_artifacts.md @marcel.amirault
/doc/ci/pipelines/pipeline_architectures.md @marcel.amirault
/doc/ci/pipelines/pipeline_artifacts.md @marcel.amirault
/doc/ci/quick_start/ @marcel.amirault
@@ -795,6 +803,7 @@ lib/gitlab/checks/** @proglottis @toon
/doc/raketasks/spdx.md @rdickenson
/doc/raketasks/x509_signatures.md @aqualls
/doc/security/ @jglassman1
+/doc/security/email_verification.md @phillipwells
/doc/subscriptions/ @fneill
/doc/subscriptions/gitlab_dedicated/ @drcatherinepope
/doc/topics/authentication/ @jglassman1
@@ -806,6 +815,9 @@ lib/gitlab/checks/** @proglottis @toon
/doc/topics/plan_and_track.md @msedlakjakubowski
/doc/topics/your_work.md @sselhorn
/doc/tutorials/ @kpaizee
+/doc/tutorials/create_compliance_pipeline.md @eread
+/doc/tutorials/fuzz_testing_tutorial.md @rdickenson
+/doc/tutorials/scan_result_policy.md @dianalogan
/doc/update/ @axil
/doc/update/background_migrations.md @aqualls
/doc/user/admin_area/analytics/ @lciutacu
@@ -844,6 +856,7 @@ lib/gitlab/checks/** @proglottis @toon
/doc/user/admin_area/settings/rate_limit_on_projects_api.md @lciutacu
/doc/user/admin_area/settings/rate_limit_on_users_api.md @jglassman1
/doc/user/admin_area/settings/scim_setup.md @jglassman1
+/doc/user/admin_area/settings/security_and_compliance.md @rdickenson
/doc/user/admin_area/settings/terraform_limits.md @phillipwells
/doc/user/admin_area/settings/third_party_offers.md @lciutacu
/doc/user/admin_area/settings/usage_statistics.md @lciutacu
@@ -879,6 +892,7 @@ lib/gitlab/checks/** @proglottis @toon
/doc/user/group/issues_analytics/ @msedlakjakubowski
/doc/user/group/iterations/ @msedlakjakubowski
/doc/user/group/manage.md @lciutacu
+/doc/user/group/moderate_users.md @phillipwells
/doc/user/group/planning_hierarchy/ @msedlakjakubowski
/doc/user/group/reporting/ @phillipwells
/doc/user/group/repositories_analytics/ @drcatherinepope
@@ -910,7 +924,7 @@ lib/gitlab/checks/** @proglottis @toon
/doc/user/project/changelogs.md @aqualls
/doc/user/project/clusters/ @phillipwells
/doc/user/project/code_intelligence.md @aqualls
-/doc/user/project/code_owners.md @aqualls
+/doc/user/project/codeowners/ @aqualls
/doc/user/project/deploy_boards.md @phillipwells
/doc/user/project/deploy_keys/ @phillipwells
/doc/user/project/deploy_tokens/ @phillipwells
@@ -953,6 +967,7 @@ lib/gitlab/checks/** @proglottis @toon
/doc/user/project/settings/import_export_troubleshooting.md @eread
/doc/user/project/settings/index.md @lciutacu
/doc/user/project/settings/project_access_tokens.md @jglassman1
+/doc/user/project/system_notes.md @aqualls
/doc/user/project/time_tracking.md @msedlakjakubowski
/doc/user/project/web_ide/ @ashrafkhamis
/doc/user/project/web_ide_beta/ @ashrafkhamis
@@ -967,6 +982,7 @@ lib/gitlab/checks/** @proglottis @toon
/doc/user/tasks.md @msedlakjakubowski
/doc/user/todos.md @msedlakjakubowski
/doc/user/usage_quotas.md @fneill
+/doc/user/workspace/quick_start/ @ashrafkhamis
# End rake-managed-docs-block
[Authentication and Authorization]
diff --git a/.gitlab/ci/frontend.gitlab-ci.yml b/.gitlab/ci/frontend.gitlab-ci.yml
index 97bd121e1aa..51fad741a1c 100644
--- a/.gitlab/ci/frontend.gitlab-ci.yml
+++ b/.gitlab/ci/frontend.gitlab-ci.yml
@@ -133,7 +133,9 @@ retrieve-frontend-fixtures:
stage: fixtures
needs: ["setup-test-env", "retrieve-tests-metadata", "retrieve-frontend-fixtures"]
variables:
- CRYSTALBALL: "false"
+ # Don't add `CRYSTALBALL: "false"` here as we're enabling Crystalball for scheduled pipelines (in `.gitlab-ci.yml`), so that we get coverage data
+ # for the `frontend fixture RSpec files` that will be added to the Crystalball mapping in `update-tests-metadata`.
+ # More information in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/74003.
WEBPACK_VENDOR_DLL: "true"
script:
- source scripts/utils.sh
@@ -181,6 +183,7 @@ rspec-all frontend_fixture as-if-foss:
- .frontend:rules:frontend_fixture-as-if-foss
- .as-if-foss
variables:
+ # We explicitely disable Crystalball here so as even in scheduled pipelines we don't need it since it's already enabled for `rspec-all frontend_fixture` there.
CRYSTALBALL: "false"
WEBPACK_VENDOR_DLL: "true"
KNAPSACK_GENERATE_REPORT: ""
diff --git a/.gitlab/ci/package-and-test/main.gitlab-ci.yml b/.gitlab/ci/package-and-test/main.gitlab-ci.yml
index 1b2f6b49558..3c9742f59e6 100644
--- a/.gitlab/ci/package-and-test/main.gitlab-ci.yml
+++ b/.gitlab/ci/package-and-test/main.gitlab-ci.yml
@@ -63,7 +63,6 @@ stages:
QA_INTERCEPT_REQUESTS: "true"
GITLAB_LICENSE_MODE: test
GITLAB_QA_ADMIN_ACCESS_TOKEN: $QA_ADMIN_ACCESS_TOKEN
- GITLAB_QA_OPTS: $EXTRA_GITLAB_QA_OPTS
# todo: remove in 16.1 milestone when not needed for backwards compatibility anymore
EE_LICENSE: $QA_EE_LICENSE
GITHUB_ACCESS_TOKEN: $QA_GITHUB_ACCESS_TOKEN
@@ -234,6 +233,28 @@ _quarantine:
variables:
QA_RSPEC_TAGS: --tag quarantine
+# Temporary test job to support the effort of migrating to Super Sidebar
+# https://gitlab.com/groups/gitlab-org/-/epics/9044
+_super-sidebar-nav:
+ extends:
+ - .qa
+ - .parallel
+ variables:
+ QA_SCENARIO: Test::Instance::Image
+ QA_KNAPSACK_REPORT_NAME: ee-instance
+ QA_TESTS: ""
+ QA_SUPER_SIDEBAR_ENABLED: "true"
+ QA_ALLURE_RESULTS_DIRECTORY: tmp/allure-results-super-sidebar
+ QA_EXPORT_TEST_METRICS: "false"
+ QA_DISABLE_RSPEC_RETRY: "true"
+ GITLAB_QA_OPTS: --set-feature-flags super_sidebar_nav=enabled
+ RSPEC_REPORT_OPTS: "--format documentation"
+ SKIP_REPORT_IN_ISSUES: "true"
+ allow_failure: true
+ rules:
+ - if: $CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_PATH == "gitlab-org/gitlab" && $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
+ - !reference [.rules:test:manual, rules]
+
# ------------------------------------------
# FF changes
# ------------------------------------------
@@ -304,7 +325,7 @@ decomposition-single-db-selective:
extends: .qa
variables:
QA_SCENARIO: Test::Instance::Image
- GITLAB_QA_OPTS: --omnibus-config decomposition_single_db $EXTRA_GITLAB_QA_OPTS
+ GITLAB_QA_OPTS: --omnibus-config decomposition_single_db
rules:
- !reference [.rules:test:qa-selective, rules]
- if: $QA_SUITES =~ /Test::Instance::All/
@@ -321,7 +342,7 @@ decomposition-multiple-db-selective:
variables:
QA_SCENARIO: Test::Instance::Image
GITLAB_ALLOW_SEPARATE_CI_DATABASE: "true"
- GITLAB_QA_OPTS: --omnibus-config decomposition_multiple_db $EXTRA_GITLAB_QA_OPTS
+ GITLAB_QA_OPTS: --omnibus-config decomposition_multiple_db
rules:
- !reference [.rules:test:qa-selective, rules]
- if: $QA_SUITES =~ /Test::Instance::All/
@@ -338,7 +359,7 @@ object-storage-selective:
variables:
QA_SCENARIO: Test::Instance::Image
QA_RSPEC_TAGS: --tag object_storage
- GITLAB_QA_OPTS: --omnibus-config object_storage $EXTRA_GITLAB_QA_OPTS
+ GITLAB_QA_OPTS: --omnibus-config object_storage
rules:
- !reference [.rules:test:qa-selective, rules]
- if: $QA_SUITES =~ /Test::Instance::ObjectStorage/
@@ -356,7 +377,7 @@ object-storage-aws-selective:
AWS_S3_BUCKET_NAME: $QA_AWS_S3_BUCKET_NAME
AWS_S3_KEY_ID: $QA_AWS_S3_KEY_ID
AWS_S3_REGION: $QA_AWS_S3_REGION
- GITLAB_QA_OPTS: --omnibus-config object_storage_aws $EXTRA_GITLAB_QA_OPTS
+ GITLAB_QA_OPTS: --omnibus-config object_storage_aws
object-storage-aws:
extends: object-storage-aws-selective
parallel: 2
@@ -370,7 +391,7 @@ object-storage-gcs-selective:
GOOGLE_PROJECT: $QA_GOOGLE_PROJECT
GOOGLE_JSON_KEY: $QA_GOOGLE_JSON_KEY
GOOGLE_CLIENT_EMAIL: $QA_GOOGLE_CLIENT_EMAIL
- GITLAB_QA_OPTS: --omnibus-config object_storage_gcs $EXTRA_GITLAB_QA_OPTS
+ GITLAB_QA_OPTS: --omnibus-config object_storage_gcs
object-storage-gcs:
extends: object-storage-gcs-selective
parallel: 2
@@ -382,7 +403,7 @@ packages-selective:
variables:
QA_SCENARIO: Test::Instance::Image
QA_RSPEC_TAGS: --tag packages
- GITLAB_QA_OPTS: --omnibus-config packages $EXTRA_GITLAB_QA_OPTS
+ GITLAB_QA_OPTS: --omnibus-config packages
rules:
- !reference [.rules:test:qa-selective, rules]
- if: $QA_SUITES =~ /Test::Instance::Packages/
@@ -629,7 +650,7 @@ registry-object-storage-tls:
QA_SCENARIO: Test::Integration::RegistryTLS
QA_RSPEC_TAGS: ""
GITLAB_TLS_CERTIFICATE: $QA_GITLAB_TLS_CERTIFICATE
- GITLAB_QA_OPTS: --omnibus-config registry_object_storage $EXTRA_GITLAB_QA_OPTS
+ GITLAB_QA_OPTS: --omnibus-config registry_object_storage
importers:
extends: .qa
@@ -650,10 +671,27 @@ e2e-test-report:
- .rules:report:allure-report
stage: report
variables:
+ ALLURE_JOB_NAME: e2e-package-and-test
GITLAB_AUTH_TOKEN: $PROJECT_TOKEN_FOR_CI_SCRIPTS_API_USAGE
ALLURE_PROJECT_PATH: $CI_PROJECT_PATH
ALLURE_MERGE_REQUEST_IID: $CI_MERGE_REQUEST_IID
+# Temporary separate test report for super-sidebar test job
+# TODO: remove once super-sidebar is on by default and enabled in tests
+# https://gitlab.com/groups/gitlab-org/-/epics/9044
+e2e-test-report-super-sidebar:
+ extends:
+ - .generate-allure-report-base
+ stage: report
+ needs:
+ - _super-sidebar-nav
+ variables:
+ ALLURE_JOB_NAME: e2e-super-sidebar
+ ALLURE_RESULTS_GLOB: gitlab-qa-run-*/**/allure-results-super-sidebar
+ rules:
+ - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
+ - !reference [.rules:test:manual, rules]
+
upload-knapsack-report:
extends:
- .generate-knapsack-report-base
diff --git a/.gitlab/ci/qa.gitlab-ci.yml b/.gitlab/ci/qa.gitlab-ci.yml
index cf45c53b226..2956eef6a9e 100644
--- a/.gitlab/ci/qa.gitlab-ci.yml
+++ b/.gitlab/ci/qa.gitlab-ci.yml
@@ -68,7 +68,6 @@ e2e:package-and-test-ee:
RELEASE: "${REGISTRY_HOST}/${REGISTRY_GROUP}/build/omnibus-gitlab-mirror/gitlab-ee:${CI_COMMIT_SHA}"
GITLAB_QA_IMAGE: "${CI_REGISTRY_IMAGE}/gitlab-ee-qa:${CI_COMMIT_SHA}"
RUN_WITH_BUNDLE: "true" # instructs pipeline to install and run gitlab-qa gem via bundler
- ALLURE_JOB_NAME: e2e-package-and-test
QA_PATH: qa # sets the optional path for bundler to run from
QA_RUN_TYPE: e2e-package-and-test
PIPELINE_NAME: E2E Omnibus GitLab EE
@@ -107,20 +106,6 @@ e2e:package-and-test-ce:
GITLAB_QA_IMAGE: ${CI_REGISTRY_IMAGE}/gitlab-ce-qa:${CI_COMMIT_SHA}
PIPELINE_NAME: E2E Omnibus GitLab CE
-e2e:package-and-test-super-sidebar:
- extends: e2e:package-and-test-ee
- variables:
- QA_SUPER_SIDEBAR_ENABLED: "true"
- QA_RUN_TYPE: e2e-package-and-test-super-sidebar
- EXTRA_GITLAB_QA_OPTS: --set-feature-flags super_sidebar_nav=enabled
- ALLURE_JOB_NAME: e2e-package-and-test-super-sidebar
- PIPELINE_NAME: E2E Omnibus Super Sidebar
- rules:
- - if: $CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_PATH == "gitlab-org/gitlab" && $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
- allow_failure: true
- - when: manual
- allow_failure: true
-
e2e:test-on-gdk:
extends:
- .qa:rules:e2e:test-on-gdk