From b87af16bf2b9b09309deb902889edc1bff05256a Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 3 Jan 2024 18:12:53 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .../ci/gitlab-com/danger-review.gitlab-ci.yml | 2 +- .gitlab/ci/qa-common/main.gitlab-ci.yml | 4 +- .gitlab/ci/rules.gitlab-ci.yml | 4 +- Gemfile.lock | 1 + .../components/stop_environment_modal.vue | 8 +- .../javascripts/persistent_user_callouts.js | 2 +- app/helpers/vite_helper.rb | 6 +- app/models/users/callout.rb | 3 +- app/views/layouts/group.html.haml | 1 + app/views/layouts/project.html.haml | 1 + ...rit_higher_access_levels_no_cross_join.yml | 8 - config/feature_flags/development/vite.yml | 8 - .../geo/secondary_proxy/index.md | 7 +- .../geo/secondary_proxy/runners.md | 40 ++ doc/administration/license.md | 16 + doc/administration/pages/index.md | 2 + .../postgresql/replication_and_failover.md | 476 +----------------- ...eplication_and_failover_troubleshooting.md | 472 +++++++++++++++++ .../reference_architectures/10k_users.md | 2 +- .../reference_architectures/25k_users.md | 2 +- .../reference_architectures/3k_users.md | 2 +- .../reference_architectures/50k_users.md | 2 +- .../reference_architectures/5k_users.md | 2 +- .../troubleshooting/postgresql.md | 2 +- doc/api/graphql/reference/index.md | 1 + doc/ci/testing/code_quality.md | 29 +- .../site_architecture/global_nav.md | 64 +-- .../documentation/styleguide/index.md | 43 +- doc/update/versions/gitlab_16_changes.md | 12 +- doc/user/clusters/agent/install/index.md | 2 +- doc/user/group/saml_sso/troubleshooting.md | 5 + .../code_suggestions/repository_xray.md | 2 +- doc/user/project/repository/push_rules.md | 6 +- .../project/repository/signed_commits/ssh.md | 2 +- gems/gitlab-secret_detection/Gemfile.lock | 4 +- .../gitlab-secret_detection.gemspec | 2 + .../lib/gitlab/secret_detection/scan.rb | 121 ++++- .../lib/gitlab/secret_detection/scan_spec.rb | 75 ++- .../spec/spec_helper.rb | 10 + locale/gitlab.pot | 12 + qa/qa/page/merge_request/show.rb | 4 +- ...> merge_request_set_to_auto_merge_spec.rb} | 39 +- scripts/verify-tff-mapping | 9 + .../projects/members/manage_members_spec.rb | 5 +- spec/helpers/webpack_helper_spec.rb | 5 +- spec/spec_helper.rb | 3 - .../base_action_controller_shared_examples.rb | 4 +- tests.yml | 6 + 48 files changed, 894 insertions(+), 644 deletions(-) delete mode 100644 config/feature_flags/development/inherit_higher_access_levels_no_cross_join.yml delete mode 100644 config/feature_flags/development/vite.yml create mode 100644 doc/administration/geo/secondary_proxy/runners.md create mode 100644 doc/administration/postgresql/replication_and_failover_troubleshooting.md rename qa/qa/specs/features/browser_ui/3_create/merge_request/{merge_when_pipeline_succeeds_spec.rb => merge_request_set_to_auto_merge_spec.rb} (70%) diff --git a/.gitlab/ci/gitlab-com/danger-review.gitlab-ci.yml b/.gitlab/ci/gitlab-com/danger-review.gitlab-ci.yml index 3d2a9466312..1939c1feaf6 100644 --- a/.gitlab/ci/gitlab-com/danger-review.gitlab-ci.yml +++ b/.gitlab/ci/gitlab-com/danger-review.gitlab-ci.yml @@ -1,6 +1,6 @@ include: - project: gitlab-org/quality/pipeline-common - ref: 8.3.0 + ref: 8.3.1 file: - /ci/danger-review.yml diff --git a/.gitlab/ci/qa-common/main.gitlab-ci.yml b/.gitlab/ci/qa-common/main.gitlab-ci.yml index ee27f9a2fbd..22df689a9cf 100644 --- a/.gitlab/ci/qa-common/main.gitlab-ci.yml +++ b/.gitlab/ci/qa-common/main.gitlab-ci.yml @@ -5,7 +5,7 @@ workflow: name: $PIPELINE_NAME include: - - component: "gitlab.com/gitlab-org/quality/pipeline-common/allure-report@8.2.0" + - component: "gitlab.com/gitlab-org/quality/pipeline-common/allure-report@8.3.0" inputs: job_name: "e2e-test-report" job_stage: "report" @@ -15,7 +15,7 @@ include: gitlab_auth_token_variable_name: "PROJECT_TOKEN_FOR_CI_SCRIPTS_API_USAGE" allure_job_name: "${QA_RUN_TYPE}" - project: gitlab-org/quality/pipeline-common - ref: 8.2.0 + ref: 8.3.0 file: - /ci/base.gitlab-ci.yml - /ci/knapsack-report.yml diff --git a/.gitlab/ci/rules.gitlab-ci.yml b/.gitlab/ci/rules.gitlab-ci.yml index a38608e6dba..bca285d3f14 100644 --- a/.gitlab/ci/rules.gitlab-ci.yml +++ b/.gitlab/ci/rules.gitlab-ci.yml @@ -123,7 +123,7 @@ if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_TYPE == "nightly"' .if-ruby-branch-schedule-nightly: &if-ruby-branch-schedule-nightly - if: '$CI_COMMIT_BRANCH =~ "^ruby\d+(_\d)*$" && $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_TYPE == "nightly"' + if: '$CI_COMMIT_BRANCH =~ /^ruby\d+(_\d)*$/ && $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_TYPE == "nightly"' .if-security-schedule: &if-security-schedule if: '$CI_PROJECT_NAMESPACE == "gitlab-org/security" && $CI_PIPELINE_SOURCE == "schedule"' @@ -159,7 +159,7 @@ if: '$CI_SERVER_HOST == "gitlab.com" && $CI_PROJECT_NAMESPACE =~ /^gitlab-org($|\/security$)/ && $CI_COMMIT_TAG' .if-ruby-branch: &if-ruby-branch - if: '$CI_COMMIT_BRANCH =~ "^ruby\d+(_\d)*$" || $CI_MERGE_REQUEST_LABELS =~ /pipeline:run-in-ruby\d+(_\d)*/' + if: '$CI_COMMIT_BRANCH =~ /^ruby\d+(_\d)*$/ || $CI_MERGE_REQUEST_LABELS =~ /pipeline:run-in-ruby\d+(_\d)*/' #################### # Changes patterns # diff --git a/Gemfile.lock b/Gemfile.lock index ce3408a1cf4..6af6a448f1f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -80,6 +80,7 @@ PATH remote: gems/gitlab-secret_detection specs: gitlab-secret_detection (0.1.0) + parallel (~> 1.22) re2 (~> 2.4) toml-rb (~> 2.2) diff --git a/app/assets/javascripts/environments/components/stop_environment_modal.vue b/app/assets/javascripts/environments/components/stop_environment_modal.vue index b583694e154..76fa0c9bcb2 100644 --- a/app/assets/javascripts/environments/components/stop_environment_modal.vue +++ b/app/assets/javascripts/environments/components/stop_environment_modal.vue @@ -1,13 +1,15 @@