From b941629bbf312ed71c6065e2c3a6ef5a35dfa19c Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 14 Jul 2020 00:09:46 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- GITALY_SERVER_VERSION | 2 +- .../components/ancestor_notice.vue | 34 +++++++++++++ .../clusters_list/components/clusters.vue | 4 ++ .../javascripts/clusters_list/store/state.js | 1 + app/graphql/types/jira_user_type.rb | 6 ++- app/helpers/clusters_helper.rb | 1 + app/services/ci/register_job_service.rb | 19 +++++-- app/services/jira_import/users_mapper.rb | 7 ++- app/views/clusters/clusters/index.html.haml | 11 ++-- app/workers/concerns/reenqueuer.rb | 2 - .../225212-add-fields-to-jira-mutation.yml | 5 ++ .../rc-remove_metric_identifier_index.yml | 5 ++ .../sh-requeue-failed-job-register.yml | 5 ++ ...nge_prometheus_metrics_identifier_index.rb | 22 ++++++++ db/structure.sql | 3 +- doc/administration/gitaly/praefect.md | 7 +-- doc/administration/server_hooks.md | 43 ++++++++++++++++ doc/api/README.md | 2 +- .../graphql/reference/gitlab_schema.graphql | 12 ++++- doc/api/graphql/reference/gitlab_schema.json | 30 ++++++++++- doc/api/graphql/reference/index.md | 4 +- doc/api/settings.md | 5 +- doc/development/elasticsearch.md | 3 +- doc/development/fe_guide/vue.md | 14 ++--- lib/api/ci/runner.rb | 19 ++++++- locale/gitlab.pot | 3 ++ .../components/ancestor_notice_spec.js | 51 +++++++++++++++++++ spec/graphql/types/jira_user_type_spec.rb | 13 +++++ spec/helpers/clusters_helper_spec.rb | 24 +++++---- spec/requests/api/ci/runner_spec.rb | 21 +++++++- spec/services/ci/register_job_service_spec.rb | 4 +- .../services/jira_import/users_mapper_spec.rb | 6 +-- 32 files changed, 336 insertions(+), 52 deletions(-) create mode 100644 app/assets/javascripts/clusters_list/components/ancestor_notice.vue create mode 100644 changelogs/unreleased/225212-add-fields-to-jira-mutation.yml create mode 100644 changelogs/unreleased/rc-remove_metric_identifier_index.yml create mode 100644 changelogs/unreleased/sh-requeue-failed-job-register.yml create mode 100644 db/migrate/20200702201039_change_prometheus_metrics_identifier_index.rb create mode 100644 spec/frontend/clusters_list/components/ancestor_notice_spec.js create mode 100644 spec/graphql/types/jira_user_type_spec.rb diff --git a/GITALY_SERVER_VERSION b/GITALY_SERVER_VERSION index debfaddcc6d..a9899263941 100644 --- a/GITALY_SERVER_VERSION +++ b/GITALY_SERVER_VERSION @@ -1 +1 @@ -a75309cec88ed34f594a4f6514bb0bb2aef7fcd5 +fdd1fe70085c1a20b10553680d88a967a4cfbfae diff --git a/app/assets/javascripts/clusters_list/components/ancestor_notice.vue b/app/assets/javascripts/clusters_list/components/ancestor_notice.vue new file mode 100644 index 00000000000..7954fc61785 --- /dev/null +++ b/app/assets/javascripts/clusters_list/components/ancestor_notice.vue @@ -0,0 +1,34 @@ + + + diff --git a/app/assets/javascripts/clusters_list/components/clusters.vue b/app/assets/javascripts/clusters_list/components/clusters.vue index a51760599ea..7e9b720d269 100644 --- a/app/assets/javascripts/clusters_list/components/clusters.vue +++ b/app/assets/javascripts/clusters_list/components/clusters.vue @@ -9,6 +9,7 @@ import { GlSprintf, GlTable, } from '@gitlab/ui'; +import AncestorNotice from './ancestor_notice.vue'; import tooltip from '~/vue_shared/directives/tooltip'; import { CLUSTER_TYPES, STATUSES } from '../constants'; import { __, sprintf } from '~/locale'; @@ -17,6 +18,7 @@ export default { nodeMemoryText: __('%{totalMemory} (%{freeSpacePercentage}%{percentSymbol} free)'), nodeCpuText: __('%{totalCpu} (%{freeSpacePercentage}%{percentSymbol} free)'), components: { + AncestorNotice, GlBadge, GlLink, GlLoadingIcon, @@ -195,6 +197,8 @@ export default {
+ +