From 026ef03e77628461c98a1bb5270cc8d6281f8fdf Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 20 Jul 2022 06:10:04 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- app/assets/javascripts/deprecated_notes.js | 6 +- .../admin_runners/admin_runners_app.vue | 4 +- .../runner/components/stat/runner_count.vue | 4 +- ...uery.graphql => all_runners.query.graphql} | 2 +- ...raphql => all_runners_count.query.graphql} | 2 +- app/helpers/groups_helper.rb | 2 +- app/services/work_items/create_service.rb | 9 ++- app/views/groups/show.html.haml | 4 +- app/views/projects/triggers/_form.html.haml | 2 +- .../deploy_keys/_project_group_form.html.haml | 2 +- .../geo/replication/troubleshooting.md | 5 +- doc/user/application_security/index.md | 2 + lib/api/terraform/modules/v1/packages.rb | 9 +++ .../templates/Jobs/Code-Quality.gitlab-ci.yml | 2 +- locale/gitlab.pot | 21 +----- qa/qa/page/project/web_ide/edit.rb | 8 ++- .../server_hooks_custom_error_message_spec.rb | 34 +++++++++ spec/features/groups_spec.rb | 2 +- spec/frontend/fixtures/runner.rb | 14 ++-- .../admin_runners/admin_runners_app_spec.js | 58 +++++++-------- .../cells/runner_actions_cell_spec.js | 4 +- .../components/runner_delete_button_spec.js | 4 +- .../runner/components/runner_list_spec.js | 4 +- .../components/runner_pause_button_spec.js | 4 +- .../components/stat/runner_count_spec.js | 40 +++++------ .../group_runners/group_runners_app_spec.js | 48 ++++++------- spec/frontend/runner/mock_data.js | 10 +-- spec/helpers/groups_helper_spec.rb | 4 +- spec/helpers/storage_helper_spec.rb | 2 +- .../pipeline/chain/validate/external_spec.rb | 2 +- .../api/terraform/modules/v1/packages_spec.rb | 70 ++++++++++++++++++- .../work_items/create_service_spec.rb | 14 +++- 32 files changed, 258 insertions(+), 140 deletions(-) rename app/assets/javascripts/runner/graphql/list/{admin_runners.query.graphql => all_runners.query.graphql} (96%) rename app/assets/javascripts/runner/graphql/list/{admin_runners_count.query.graphql => all_runners_count.query.graphql} (89%) create mode 100644 qa/qa/specs/features/browser_ui/3_create/web_ide/server_hooks_custom_error_message_spec.rb diff --git a/app/assets/javascripts/deprecated_notes.js b/app/assets/javascripts/deprecated_notes.js index 2d90e8df894..2ac62b9b927 100644 --- a/app/assets/javascripts/deprecated_notes.js +++ b/app/assets/javascripts/deprecated_notes.js @@ -10,7 +10,7 @@ class-methods-use-this */ deprecated_notes_spec.js is the spec for the legacy, jQuery notes application. It has nothing to do with the new, fancy Vue notes app. */ -import { GlDeprecatedSkeletonLoading as GlSkeletonLoading } from '@gitlab/ui'; +import { GlSkeletonLoader } from '@gitlab/ui'; import Autosize from 'autosize'; import $ from 'jquery'; import { escape, uniqueId } from 'lodash'; @@ -1233,10 +1233,10 @@ export default class Notes { new Vue({ el, components: { - GlSkeletonLoading, + GlSkeletonLoader, }, render(createElement) { - return createElement('gl-skeleton-loading'); + return createElement('gl-skeleton-loader'); }, }); } diff --git a/app/assets/javascripts/runner/admin_runners/admin_runners_app.vue b/app/assets/javascripts/runner/admin_runners/admin_runners_app.vue index 477ce96c4b1..f6b7a8b46d7 100644 --- a/app/assets/javascripts/runner/admin_runners/admin_runners_app.vue +++ b/app/assets/javascripts/runner/admin_runners/admin_runners_app.vue @@ -11,7 +11,7 @@ import { fromSearchToVariables, isSearchFiltered, } from 'ee_else_ce/runner/runner_search_utils'; -import runnersAdminQuery from 'ee_else_ce/runner/graphql/list/admin_runners.query.graphql'; +import allRunnersQuery from 'ee_else_ce/runner/graphql/list/all_runners.query.graphql'; import RegistrationDropdown from '../components/registration/registration_dropdown.vue'; import RunnerFilteredSearchBar from '../components/runner_filtered_search_bar.vue'; @@ -64,7 +64,7 @@ export default { }, apollo: { runners: { - query: runnersAdminQuery, + query: allRunnersQuery, fetchPolicy: fetchPolicies.NETWORK_ONLY, variables() { return this.variables; diff --git a/app/assets/javascripts/runner/components/stat/runner_count.vue b/app/assets/javascripts/runner/components/stat/runner_count.vue index c56d6e1d478..af18b203f90 100644 --- a/app/assets/javascripts/runner/components/stat/runner_count.vue +++ b/app/assets/javascripts/runner/components/stat/runner_count.vue @@ -1,7 +1,7 @@