From f64d1064c54d8cc55285e2ee983ee2ca49f9747f Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 30 Jul 2024 00:10:11 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- GITLAB_KAS_VERSION | 2 +- Gemfile | 4 +- Gemfile.checksum | 4 +- Gemfile.lock | 12 ++--- .../oauth_domain_mismatch_error.vue | 4 +- app/helpers/search_helper.rb | 6 ++- db/docs/approvals.yml | 1 + .../backfill_approvals_project_id.yml | 9 ++++ ...40719090628_add_project_id_to_approvals.rb | 9 ++++ ...9_prepare_index_approvals_on_project_id.rb | 16 +++++++ ...090630_add_approvals_project_id_trigger.rb | 25 ++++++++++ ...631_queue_backfill_approvals_project_id.rb | 40 ++++++++++++++++ db/schema_migrations/20240719090628 | 1 + db/schema_migrations/20240719090629 | 1 + db/schema_migrations/20240719090630 | 1 + db/schema_migrations/20240719090631 | 1 + db/structure.sql | 21 +++++++- .../dedicated/configure_instance.md | 28 +++++++++-- doc/administration/gitaly/kubernetes.md | 6 +-- doc/api/graphql/reference/index.md | 1 + doc/api/project_import_export.md | 1 + doc/development/bulk_import.md | 4 +- doc/development/data_seeder.md | 12 +++-- doc/development/database/foreign_keys.md | 3 +- doc/development/fe_guide/frontend_faq.md | 2 +- doc/development/fe_guide/graphql.md | 4 +- doc/development/fe_guide/index.md | 8 ++-- doc/development/internal_api/index.md | 8 +++- doc/development/testing_guide/index.md | 48 +++++++++---------- doc/operations/logs.md | 6 ++- doc/operations/metrics.md | 6 ++- doc/operations/tracing.md | 10 ++-- doc/tutorials/export_sbom.md | 7 +-- .../observability_django_tutorial.md | 9 ++-- .../observability_nodejs_tutorial.md | 5 +- .../observability_rails_tutorial.md | 5 +- .../compliance_projects_report.md | 8 ++-- doc/user/gitlab_duo/index.md | 17 ++----- doc/user/gitlab_duo/turn_on_off.md | 15 +++++- doc/user/group/compliance_frameworks.md | 8 +++- doc/user/project/wiki/index.md | 2 +- doc/user/search/index.md | 2 +- .../backfill_approvals_project_id.rb | 10 ++++ spec/db/schema_spec.rb | 2 +- spec/helpers/search_helper_spec.rb | 24 ++++++++++ .../backfill_approvals_project_id_spec.rb | 15 ++++++ ...ueue_backfill_approvals_project_id_spec.rb | 33 +++++++++++++ 47 files changed, 355 insertions(+), 111 deletions(-) create mode 100644 db/docs/batched_background_migrations/backfill_approvals_project_id.yml create mode 100644 db/migrate/20240719090628_add_project_id_to_approvals.rb create mode 100644 db/post_migrate/20240719090629_prepare_index_approvals_on_project_id.rb create mode 100644 db/post_migrate/20240719090630_add_approvals_project_id_trigger.rb create mode 100644 db/post_migrate/20240719090631_queue_backfill_approvals_project_id.rb create mode 100644 db/schema_migrations/20240719090628 create mode 100644 db/schema_migrations/20240719090629 create mode 100644 db/schema_migrations/20240719090630 create mode 100644 db/schema_migrations/20240719090631 create mode 100644 lib/gitlab/background_migration/backfill_approvals_project_id.rb create mode 100644 spec/lib/gitlab/background_migration/backfill_approvals_project_id_spec.rb create mode 100644 spec/migrations/20240719090631_queue_backfill_approvals_project_id_spec.rb diff --git a/GITLAB_KAS_VERSION b/GITLAB_KAS_VERSION index 2b32af9916d..7b5e9a1ca13 100644 --- a/GITLAB_KAS_VERSION +++ b/GITLAB_KAS_VERSION @@ -1 +1 @@ -v17.3.0-rc3 \ No newline at end of file +5506cb6f0a19ce9e5569c12361139a288b08ebc4 diff --git a/Gemfile b/Gemfile index 8f1b16391f2..d676fb6b461 100644 --- a/Gemfile +++ b/Gemfile @@ -217,9 +217,9 @@ gem 'seed-fu', '~> 2.3.7' # rubocop:todo Gemfile/MissingFeatureCategory gem 'elasticsearch-model', '~> 7.2', feature_category: :global_search gem 'elasticsearch-rails', '~> 7.2', require: 'elasticsearch/rails/instrumentation', feature_category: :global_search gem 'elasticsearch-api', '7.17.11', feature_category: :global_search -gem 'aws-sdk-core', '~> 3.200.0' # rubocop:todo Gemfile/MissingFeatureCategory +gem 'aws-sdk-core', '~> 3.201.0' # rubocop:todo Gemfile/MissingFeatureCategory gem 'aws-sdk-cloudformation', '~> 1' # rubocop:todo Gemfile/MissingFeatureCategory -gem 'aws-sdk-s3', '~> 1.155.0' # rubocop:todo Gemfile/MissingFeatureCategory +gem 'aws-sdk-s3', '~> 1.156.0' # rubocop:todo Gemfile/MissingFeatureCategory gem 'faraday-typhoeus', '~> 1.1', feature_category: :global_search gem 'faraday_middleware-aws-sigv4', '~> 1.0.1', feature_category: :global_search # Used with Elasticsearch to support http keep-alive connections diff --git a/Gemfile.checksum b/Gemfile.checksum index 6328b384d82..3e694bff125 100644 --- a/Gemfile.checksum +++ b/Gemfile.checksum @@ -37,9 +37,9 @@ {"name":"aws-eventstream","version":"1.3.0","platform":"ruby","checksum":"f1434cc03ab2248756eb02cfa45e900e59a061d7fbdc4a9fd82a5dd23d796d3f"}, {"name":"aws-partitions","version":"1.877.0","platform":"ruby","checksum":"9552ed7bbd3700ed1eeb0121c160ceaf64fa5dbaff5a1ff5fe6fd8481ecd9cfd"}, {"name":"aws-sdk-cloudformation","version":"1.41.0","platform":"ruby","checksum":"31e47539719734413671edf9b1a31f8673fbf9688549f50c41affabbcb1c6b26"}, -{"name":"aws-sdk-core","version":"3.200.0","platform":"ruby","checksum":"1d9ac535f82b5ea7b3d6e0cee7be3c48981a948123a48ff755504b7343d16951"}, +{"name":"aws-sdk-core","version":"3.201.3","platform":"ruby","checksum":"c045a7ff37b4a6f1de5742e64def0841bdf70d215cb17d3875b2c5bdd9e99d52"}, {"name":"aws-sdk-kms","version":"1.76.0","platform":"ruby","checksum":"e7f75013cba9ba357144f66bbc600631c192e2cda9dd572794be239654e2cf49"}, -{"name":"aws-sdk-s3","version":"1.155.0","platform":"ruby","checksum":"4674e07846cc6d77d5bd122cef7fea5055e8b53bf238ab05beebc25ecb01c2e2"}, +{"name":"aws-sdk-s3","version":"1.156.0","platform":"ruby","checksum":"9302da1d1a70363308854d5065035f6c72cf8b8af895d8789487cd5c6b076a46"}, {"name":"aws-sigv4","version":"1.8.0","platform":"ruby","checksum":"84dd99768b91b93b63d1d8e53ee837cfd06ab402812772a7899a78f9f9117cbc"}, {"name":"axe-core-api","version":"4.9.1","platform":"ruby","checksum":"9ea7ac16bfee1cb3545345d210878aa8cccfb41b493e00fe1faab79af4d9fed8"}, {"name":"axe-core-rspec","version":"4.9.1","platform":"ruby","checksum":"31ef067bee36d6efb3f156a83aa2fb6ac721270a53fb9473f0268e325a3e6efd"}, diff --git a/Gemfile.lock b/Gemfile.lock index 446bb0638a3..4ed667aa9a4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -320,7 +320,7 @@ GEM aws-sdk-cloudformation (1.41.0) aws-sdk-core (~> 3, >= 3.99.0) aws-sigv4 (~> 1.1) - aws-sdk-core (3.200.0) + aws-sdk-core (3.201.3) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) @@ -328,10 +328,10 @@ GEM aws-sdk-kms (1.76.0) aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.155.0) - aws-sdk-core (~> 3, >= 3.199.0) + aws-sdk-s3 (1.156.0) + aws-sdk-core (~> 3, >= 3.201.0) aws-sdk-kms (~> 1) - aws-sigv4 (~> 1.8) + aws-sigv4 (~> 1.5) aws-sigv4 (1.8.0) aws-eventstream (~> 1, >= 1.0.2) axe-core-api (4.9.1) @@ -1947,8 +1947,8 @@ DEPENDENCIES attr_encrypted (~> 3.2.4)! awesome_print aws-sdk-cloudformation (~> 1) - aws-sdk-core (~> 3.200.0) - aws-sdk-s3 (~> 1.155.0) + aws-sdk-core (~> 3.201.0) + aws-sdk-s3 (~> 1.156.0) axe-core-rspec (~> 4.9.0) babosa (~> 2.0) base32 (~> 0.3.0) diff --git a/app/assets/javascripts/ide/components/oauth_domain_mismatch_error.vue b/app/assets/javascripts/ide/components/oauth_domain_mismatch_error.vue index fe8db7317b8..9899e941fbf 100644 --- a/app/assets/javascripts/ide/components/oauth_domain_mismatch_error.vue +++ b/app/assets/javascripts/ide/components/oauth_domain_mismatch_error.vue @@ -57,8 +57,8 @@ export default { };