From faec73b0fe1b2f19646363e4359f302fc1b9414c Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 22 Oct 2021 12:09:12 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .gitlab/ci/global.gitlab-ci.yml | 1 + .gitlab/ci/rails.gitlab-ci.yml | 1 + GITALY_SERVER_VERSION | 2 +- README.md | 2 +- .../components/extensions/actions.vue | 2 +- .../components/extensions/base.vue | 5 +- .../filtered_search_bar_root.vue | 10 ++- app/controllers/admin/runners_controller.rb | 1 + app/models/ci/runner.rb | 1 + app/models/project.rb | 2 + app/services/spam/spam_verdict_service.rb | 12 +-- lib/api/helpers.rb | 6 +- lib/api/namespaces.rb | 2 +- lib/gitlab/database/migration_helpers.rb | 31 ++++++- lib/gitlab/setup_helper.rb | 7 +- lib/tasks/gitlab/gitaly.rake | 2 +- scripts/security-harness | 3 +- spec/finders/branches_finder_spec.rb | 8 +- .../vue_mr_widget/mr_widget_options_spec.js | 6 +- .../filtered_search_bar_root_spec.js | 27 ++++-- .../filtered_search_bar/mock_data.js | 5 ++ .../gitlab/database/migration_helpers_spec.rb | 90 +++++++++++++++++-- spec/requests/api/namespaces_spec.rb | 54 ++++++++--- .../spam/spam_verdict_service_spec.rb | 4 +- .../support/database/cross-join-allowlist.yml | 7 -- spec/support/helpers/gitaly_setup.rb | 2 +- spec/tasks/gitlab/gitaly_rake_spec.rb | 6 +- 27 files changed, 225 insertions(+), 74 deletions(-) diff --git a/.gitlab/ci/global.gitlab-ci.yml b/.gitlab/ci/global.gitlab-ci.yml index d0c26d60066..d2a460bf8b7 100644 --- a/.gitlab/ci/global.gitlab-ci.yml +++ b/.gitlab/ci/global.gitlab-ci.yml @@ -44,6 +44,7 @@ prefix: "gitaly-binaries" paths: - tmp/tests/gitaly/_build/bin/ + - tmp/tests/gitaly/_build/deps/git/install/ - tmp/tests/gitaly/config.toml - tmp/tests/gitaly/gitaly2.config.toml - tmp/tests/gitaly/internal/ diff --git a/.gitlab/ci/rails.gitlab-ci.yml b/.gitlab/ci/rails.gitlab-ci.yml index 00f65ab7ca8..e82068092e0 100644 --- a/.gitlab/ci/rails.gitlab-ci.yml +++ b/.gitlab/ci/rails.gitlab-ci.yml @@ -181,6 +181,7 @@ setup-test-env: paths: - config/secrets.yml - tmp/tests/gitaly/_build/bin/ + - tmp/tests/gitaly/_build/deps/git/install - tmp/tests/gitaly/config.toml - tmp/tests/gitaly/gitaly2.config.toml - tmp/tests/gitaly/internal/ diff --git a/GITALY_SERVER_VERSION b/GITALY_SERVER_VERSION index c98aa0f5258..05f9d7573ba 100644 --- a/GITALY_SERVER_VERSION +++ b/GITALY_SERVER_VERSION @@ -1 +1 @@ -4f0a07ba39f14adacf7d482128a5de2bb84f0eac +ee4b20cc318876c4b237e277fefd9d75186a085c diff --git a/README.md b/README.md index f5ec329cd9e..64f19939ec2 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ To work on GitLab itself, we recommend setting up your development environment w If you do not use the GitLab Development Kit you need to install and configure all the dependencies yourself, this is a lot of work and error prone. One small thing you also have to do when installing it yourself is to copy the example development Puma configuration file: - cp config/puma.rb.example.development config/puma.rb + cp config/puma.example.development.rb config/puma.rb Instructions on how to start GitLab and how to run the tests can be found in the [getting started section of the GitLab Development Kit](https://gitlab.com/gitlab-org/gitlab-development-kit#getting-started). diff --git a/app/assets/javascripts/vue_merge_request_widget/components/extensions/actions.vue b/app/assets/javascripts/vue_merge_request_widget/components/extensions/actions.vue index 023367a794e..6483875a3d0 100644 --- a/app/assets/javascripts/vue_merge_request_widget/components/extensions/actions.vue +++ b/app/assets/javascripts/vue_merge_request_widget/components/extensions/actions.vue @@ -30,7 +30,7 @@ export default {