From 276941b2c436678b956025ae2958e11ccbeac55d Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 9 Mar 2022 03:09:18 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .../components/environment_actions.vue | 10 +- app/models/packages/pypi/metadatum.rb | 2 +- .../packages/pypi/create_package_service.rb | 2 +- .../_prometheus.html.haml | 2 +- ...ge_request_merge_method_settings.html.haml | 4 +- ...quired_python_on_packages_pypi_metadata.rb | 11 ++ ...i_builds_on_name_and_id_parser_features.rb | 26 +++ db/schema_migrations/20220304152729 | 1 + db/schema_migrations/20220308000205 | 1 + db/structure.sql | 4 +- doc/administration/audit_event_streaming.md | 181 ++++++++++++++++++ doc/administration/gitaly/troubleshooting.md | 42 ++++ doc/api/packages/pypi.md | 1 + doc/operations/feature_flags.md | 36 +--- doc/user/clusters/agent/install/index.md | 2 +- doc/user/group/index.md | 2 +- doc/user/profile/personal_access_tokens.md | 4 +- lib/api/internal/base.rb | 6 + lib/api/pypi_packages.rb | 2 +- lib/banzai/filter/front_matter_filter.rb | 5 +- lib/gitlab/front_matter.rb | 6 +- lib/gitlab/wiki_pages/front_matter_parser.rb | 2 +- locale/gitlab.pot | 8 +- qa/qa/resource/group_base.rb | 2 +- qa/qa/resource/reusable_collection.rb | 3 +- .../environments/environments_spec.rb | 6 +- .../environments/environment_actions_spec.js | 17 +- .../banzai/filter/front_matter_filter_spec.rb | 53 ++++- spec/models/packages/pypi/metadatum_spec.rb | 3 + spec/requests/api/pypi_packages_spec.rb | 8 + .../pypi/create_package_service_spec.rb | 16 +- ...t_audit_streaming_event_shared_examples.rb | 61 ++++++ 32 files changed, 458 insertions(+), 71 deletions(-) create mode 100644 db/migrate/20220304152729_add_default_to_required_python_on_packages_pypi_metadata.rb create mode 100644 db/post_migrate/20220308000205_drop_old_index_security_ci_builds_on_name_and_id_parser_features.rb create mode 100644 db/schema_migrations/20220304152729 create mode 100644 db/schema_migrations/20220308000205 create mode 100644 spec/support/shared_examples/sends_git_audit_streaming_event_shared_examples.rb diff --git a/app/assets/javascripts/environments/components/environment_actions.vue b/app/assets/javascripts/environments/components/environment_actions.vue index 98c95507168..c7e024aadec 100644 --- a/app/assets/javascripts/environments/components/environment_actions.vue +++ b/app/assets/javascripts/environments/components/environment_actions.vue @@ -1,5 +1,6 @@