Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot 2024-02-21 06:07:05 +00:00
parent 7ec9285576
commit 3ba5ff85f7
99 changed files with 223 additions and 110 deletions

View File

@ -36,9 +36,9 @@ export const TIME_RANGE_OPTIONS = [
];
Object.freeze(TIME_RANGE_OPTIONS);
const OPERERATOR_LIKE = '=~';
export const OPERERATOR_LIKE = '=~';
const OPERERATOR_LIKE_TEXT = s__('ObservabilityMetrics|is like');
const OPERERATOR_NOT_LIKE = '!~';
export const OPERERATOR_NOT_LIKE = '!~';
const OPERERATOR_NOT_LIKE_TEXT = s__('ObservabilityMetrics|is not like');
const OPERATORS_LIKE = [{ value: OPERERATOR_LIKE, description: OPERERATOR_LIKE_TEXT }];

View File

@ -1,4 +1,4 @@
import { WORKSPACE_GROUP } from '~/issues/constants';
import { initWorkItemsRoot } from '~/work_items';
initWorkItemsRoot(WORKSPACE_GROUP);
initWorkItemsRoot({ workspaceType: WORKSPACE_GROUP });

View File

@ -4,12 +4,11 @@ import { WORKSPACE_GROUP } from '~/issues/constants';
import { parseBoolean } from '~/lib/utils/common_utils';
import { apolloProvider } from '~/graphql_shared/issuable_client';
import App from './components/app.vue';
import WorkItemRoot from './pages/work_item_root.vue';
import { createRouter } from './router';
Vue.use(VueApollo);
export const initWorkItemsRoot = (workspace) => {
export const initWorkItemsRoot = ({ workItemType, workspaceType } = {}) => {
const el = document.querySelector('#js-work-items');
if (!el) {
@ -30,16 +29,16 @@ export const initWorkItemsRoot = (workspace) => {
reportAbusePath,
} = el.dataset;
const Component = workspace === WORKSPACE_GROUP ? WorkItemRoot : App;
const isGroup = workspaceType === WORKSPACE_GROUP;
return new Vue({
el,
name: 'WorkItemsRoot',
router: createRouter(el.dataset.fullPath),
router: createRouter({ fullPath, workItemType, workspaceType }),
apolloProvider,
provide: {
fullPath,
isGroup: workspace === WORKSPACE_GROUP,
isGroup,
hasIssueWeightsFeature: parseBoolean(hasIssueWeightsFeature),
hasOkrsFeature: parseBoolean(hasOkrsFeature),
issuesListPath,
@ -51,9 +50,9 @@ export const initWorkItemsRoot = (workspace) => {
reportAbusePath,
},
render(createElement) {
return createElement(Component, {
return createElement(App, {
props: {
iid: workspace === WORKSPACE_GROUP ? iid : undefined,
iid: isGroup ? iid : undefined,
},
});
},

View File

@ -9,6 +9,7 @@ import {
sprintfWorkItem,
} from '../constants';
import createWorkItemMutation from '../graphql/create_work_item.mutation.graphql';
import groupWorkItemTypesQuery from '../graphql/group_work_item_types.query.graphql';
import projectWorkItemTypesQuery from '../graphql/project_work_item_types.query.graphql';
import groupWorkItemByIidQuery from '../graphql/group_work_item_by_iid.query.graphql';
import workItemByIidQuery from '../graphql/work_item_by_iid.query.graphql';
@ -42,7 +43,9 @@ export default {
},
apollo: {
workItemTypes: {
query: projectWorkItemTypesQuery,
query() {
return this.isGroup ? groupWorkItemTypesQuery : projectWorkItemTypesQuery;
},
variables() {
return {
fullPath: this.fullPath,

View File

@ -1,16 +1,23 @@
import { GlToast } from '@gitlab/ui';
import Vue from 'vue';
import VueRouter from 'vue-router';
import { WORKSPACE_GROUP, WORKSPACE_PROJECT } from '~/issues/constants';
import { joinPaths } from '~/lib/utils/url_utility';
import { routes } from './routes';
Vue.use(GlToast);
Vue.use(VueRouter);
export function createRouter(fullPath) {
export function createRouter({
fullPath,
workItemType = 'work_items',
workspaceType = WORKSPACE_PROJECT,
}) {
const workspacePath = workspaceType === WORKSPACE_GROUP ? '/groups' : '';
return new VueRouter({
routes: routes(),
mode: 'history',
base: joinPaths(gon?.relative_url_root, fullPath, '-', 'work_items'),
base: joinPaths(gon?.relative_url_root, workspacePath, fullPath, '-', workItemType),
});
}

View File

@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/432670
milestone: '16.7'
type: development
group: group::code review
default_enabled: false
default_enabled: true

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage_monthly.configure.clusters_applications_cert_m
description: Count user ids from GitLab Managed clusters with Cert Manager enabled
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage_monthly.configure.clusters_applications_helm
description: Count user ids from GitLab Managed clusters with Helm enabled
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage_monthly.configure.clusters_applications_ingres
description: Count user ids from GitLab Managed clusters with Ingress enabled
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage_monthly.configure.clusters_applications_knativ
description: Count user ids from GitLab Managed clusters with Knative enabled
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -5,7 +5,7 @@ description: Number of Kubernetes clusters with clusters management project bein
set
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage_monthly.configure.clusters_disabled
description: Number of user ids from GitLab Managed disabled clusters
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage_monthly.configure.clusters_enabled
description: Number of distict user ids from GitLab Managed clusters currently enabled
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage_monthly.configure.clusters_platforms_gke
description: Number of user ids from GitLab Managed clusters provisioned with GitLab on GCE GKE
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage_monthly.configure.clusters_platforms_eks
description: Number of user ids from GitLab Managed clusters provisioned with GitLab on AWS EKS
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage_monthly.configure.clusters_platforms_user
description: Number of user ids from GitLab Managed clusters that are user provisioned
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage_monthly.configure.instance_clusters_disabled
description: Number of users from GitLab Managed disabled clusters attached to the instance
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage_monthly.configure.instance_clusters_enabled
description: Number of user ids from GitLab Managed enabled clusters attached to the instance
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage_monthly.configure.group_clusters_disabled
description: Number of user ids GitLab Managed disabled clusters attached to groups
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage_monthly.configure.group_clusters_enabled
description: Count disctinct user ids from GitLab Managed enabled clusters attached to groups
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage_monthly.configure.project_clusters_disabled
description: Number of user ids from GitLab Managed disabled clusters attached to projects
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage_monthly.configure.project_clusters_enabled
description: Number of user ids from GitLab Managed enabled clusters attached to projects
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: redis_hll_counters.ci_templates.p_ci_templates_auto_devops_monthly
description: Count of pipelines using the Auto DevOps template
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: active
time_frame: 28d

View File

@ -4,7 +4,7 @@ key_path: redis_hll_counters.terraform.p_terraform_state_api_unique_users_weekly
description: Monthly active users of GitLab Managed Terraform states
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: active
time_frame: 7d

View File

@ -4,7 +4,7 @@ key_path: redis_hll_counters.ci_templates.p_ci_templates_implicit_auto_devops_we
description: Count of pipelines with implicit Auto Build runs
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: active
time_frame: 7d

View File

@ -4,7 +4,7 @@ key_path: redis_hll_counters.ci_templates.p_ci_templates_implicit_auto_devops_bu
description: Count of pipelines with implicit Auto Build runs
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: removed
milestone_removed: '14.6'

View File

@ -4,7 +4,7 @@ key_path: redis_hll_counters.ci_templates.p_ci_templates_implicit_auto_devops_de
description: Count of pipelines with implicit Auto Deploy runs
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: removed
milestone_removed: '14.6'

View File

@ -4,7 +4,7 @@ key_path: redis_hll_counters.ci_templates.p_ci_templates_auto_devops_weekly
description: Count of pipelines using the latest Auto Deploy template
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: active
time_frame: 7d

View File

@ -4,7 +4,7 @@ key_path: redis_hll_counters.ci_templates.p_ci_templates_auto_devops_deploy_week
description: Count of pipelines using the stable Auto Deploy template
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: removed
milestone: '14.3'

View File

@ -4,7 +4,7 @@ key_path: redis_hll_counters.ci_templates.p_ci_templates_auto_devops_deploy_late
description: Count of pipelines using the latest Auto Deploy template
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: removed
milestone_removed: '14.6'

View File

@ -4,7 +4,7 @@ key_path: redis_hll_counters.ci_templates.p_ci_templates_terraform_base_latest_w
description: Count of pipelines that include the terraform base template from GitLab
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: active
time_frame: 7d

View File

@ -4,7 +4,7 @@ key_path: redis_hll_counters.ci_templates.ci_templates_total_unique_counts_weekl
description: Total count of pipelines runs
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: removed
milestone_removed: '14.3'

View File

@ -4,7 +4,7 @@ key_path: redis_hll_counters.deploy_token_packages.i_package_terraform_module_de
description: Number of distinct users authorized via deploy token creating Terraform Module packages in recent 7 days
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: active
milestone: '13.11'

View File

@ -4,7 +4,7 @@ key_path: redis_hll_counters.user_packages.i_package_terraform_module_user_weekl
description: Number of distinct users creating Terraform Module packages in recent 7 days
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: active
milestone: '13.11'

View File

@ -3,7 +3,7 @@ key_path: redis_hll_counters.ci_templates.p_ci_templates_implicit_auto_devops_de
description: Count of pipelines using the latest Auto Deploy template
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: removed
milestone: '14.3'

View File

@ -3,7 +3,7 @@ key_path: redis_hll_counters.kubernetes_agent.agent_users_using_ci_tunnel_weekly
description: WAU of the Agent for Kubernetes CI/CD Tunnel
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: active
milestone: "15.3"

View File

@ -3,7 +3,7 @@ key_path: redis_hll_counters.ci_templates.p_ci_templates_terraform_module_weekly
description: Count of pipelines using the Terraform Module template
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: active
milestone: "15.9"

View File

@ -3,7 +3,7 @@ key_path: redis_hll_counters.ci_templates.p_ci_templates_terraform_module_base_w
description: Count of pipelines using the Terraform Module Base template
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: number
status: active
milestone: "15.9"

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_enabled
description: Number of Kubernetes clusters attached to GitLab currently enabled
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: counts.project_clusters_enabled
description: Total GitLab Managed clusters attached to projects
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: counts.group_clusters_enabled
description: Total GitLab Managed clusters attached to groups
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: counts.instance_clusters_enabled
description: Total GitLab Managed clusters attached to the instance
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_disabled
description: Number of Kubernetes clusters attached to GitLab currently disabled
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: counts.project_clusters_disabled
description: Total GitLab Managed disabled clusters previously attached to projects
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: counts.group_clusters_disabled
description: Total GitLab Managed disabled clusters previously attached to groups
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: counts.instance_clusters_disabled
description: Total GitLab Managed disabled clusters previously attached to the instance
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_platforms_eks
description: Total GitLab Managed clusters provisioned with GitLab on AWS EKS
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_platforms_gke
description: Total GitLab Managed clusters provisioned with GitLab on GCE GKE
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_platforms_user
description: Total GitLab Managed clusters that are user provisioned
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_applications_helm
description: Total GitLab Managed clusters with GitLab Managed App:Helm enabled
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_applications_ingress
description: Total GitLab Managed clusters with GitLab Managed App:Ingress installed
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_applications_cert_managers
description: Total GitLab Managed clusters with GitLab Managed App:Cert Manager installed
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_applications_crossplane
description: Total GitLab Managed clusters with GitLab Managed App:Crossplane installed
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_applications_prometheus
description: Total GitLab Managed clusters with GitLab Managed App:Prometheus installed
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_applications_runner
description: Total GitLab Managed clusters with GitLab Managed App:Runner installed
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_applications_knative
description: Total GitLab Managed clusters with GitLab Managed App:Knative installed
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_applications_elastic_stack
description: Total GitLab Managed clusters with GitLab Managed App:Elastic Stack installed
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_applications_jupyter
description: Total GitLab Managed clusters with GitLab Managed App:Jupyter installed
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_applications_cilium
description: Total GitLab Managed clusters with GitLab Managed App:Cilium installed
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_management_project
description: Total GitLab Managed clusters with defined cluster management project
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.clusters_applications_cert_managers
description: Total GitLab Managed clusters with GitLab Managed App:Cert Manager installed
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.clusters_applications_helm
description: Total GitLab Managed clusters with GitLab Managed App:Helm enabled
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.clusters_applications_ingress
description: Total GitLab Managed clusters with GitLab Managed App:Ingress installed
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.clusters_applications_knative
description: Total GitLab Managed clusters with GitLab Managed App:Knative installed
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.clusters_management_project
description: Total GitLab Managed clusters with defined cluster management project
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.clusters_disabled
description: Total GitLab Managed disabled clusters
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.clusters_enabled
description: Total GitLab Managed clusters currently enabled
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.clusters_platforms_gke
description: Total GitLab Managed clusters provisioned with GitLab on GCE GKE
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.clusters_platforms_eks
description: Total GitLab Managed clusters provisioned with GitLab on AWS EKS
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.clusters_platforms_user
description: Total GitLab Managed clusters that are user provisioned
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.instance_clusters_disabled
description: Total GitLab Managed disabled clusters attached to the instance
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.instance_clusters_enabled
description: Total GitLab Managed enabled clusters attached to the instance
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.group_clusters_disabled
description: Total GitLab Managed disabled clusters attached to groups
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.group_clusters_enabled
description: Total GitLab Managed enabled clusters attached to groups
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.project_clusters_disabled
description: Total GitLab Managed disabled clusters attached to projects
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.project_clusters_enabled
description: Total GitLab Managed enabled clusters attached to projects
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.configure.projects_with_prometheus_alerts
description: Projects with Prometheus alerting enabled
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: usage_activity_by_stage.verify.clusters_applications_runner
description: Count of users creating managed clusters with Runner enabled
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_integrations_prometheus
description: Total clusters with Clusters::Integrations::Prometheus enabled
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: active

View File

@ -4,7 +4,7 @@ key_path: counts.clusters_integrations_elastic_stack
description: Total clusters with Clusters::Integrations::ElasticStack enabled
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
product_category: deployment_management
value_type: number
status: removed

View File

@ -4,7 +4,7 @@ key_path: instance_auto_devops_enabled
description: Whether auto DevOps is enabled
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: boolean
status: active
time_frame: none

View File

@ -4,7 +4,7 @@ name: "certificate_based_clusters_ff"
description: "Certificate-based clusters feature flag"
product_section: ops
product_stage: configure
product_group: configure
product_group: environments
value_type: boolean
status: active
milestone: "14.9"

View File

@ -7,10 +7,18 @@
issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/439164
body: | # (required) Don't change this line.
Support for the Grype scanner in the GitLab Container Scanning analyzer is deprecated in
GitLab 16.9 and will be removed in GitLab 17.0.
GitLab 16.9.
You should use the default setting for `CS_ANALYZER_IMAGE`, which uses the Trivy
From GitLab 17.0, the Grype analyzer will no longer be maintained, except for limited fixes as
explained in our [statement of support](https://about.gitlab.com/support/statement-of-support/#version-support).
Users are advised to use the default setting for `CS_ANALYZER_IMAGE`, which uses the Trivy
scanner.
To continue to use Grype, see the [Security scanner integration documentation](https://docs.gitlab.com/ee/development/integrations/secure.html) to learn how to
The existing current major version for the Grype analyzer image will continue to be updated
with the latest advisory database, and operating system packages until GitLab 19.0, at which
point the analyzer will stop working.
To continue to use Grype past 19.0, see the [Security scanner integration
documentation](https://docs.gitlab.com/ee/development/integrations/secure.html) to learn how to
create your own integration with GitLab.

View File

@ -6,4 +6,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/138355
milestone: '16.7'
queued_migration_version: 20231130140901
finalize_after: '2024-01-31'
finalized_by: # version of the migration that finalized this BBM
finalized_by: 20240222000002

View File

@ -8,3 +8,5 @@ description: TODO
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17117
milestone: '12.5'
gitlab_schema: gitlab_main_cell
sharding_key:
shared_group_id: namespaces

View File

@ -8,3 +8,5 @@ description: TODO
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/12669
milestone: '12.0'
gitlab_schema: gitlab_main_cell
sharding_key:
group_id: namespaces

View File

@ -8,4 +8,12 @@ feature_categories:
description: Contains notes about groups that are visible to server administrators.
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/47825
milestone: '13.11'
gitlab_schema: gitlab_main
gitlab_schema: gitlab_main_cell
allow_cross_joins:
- gitlab_main_clusterwide
allow_cross_transactions:
- gitlab_main_clusterwide
allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
namespace_id: namespaces

View File

@ -1,10 +1,18 @@
---
table_name: namespace_ldap_settings
classes:
- Namespaces::LdapSetting
- Namespaces::LdapSetting
feature_categories:
- system_access
- system_access
description: Used to store LDAP settings for namespaces
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/108908
milestone: '15.10'
gitlab_schema: gitlab_main
gitlab_schema: gitlab_main_cell
allow_cross_joins:
- gitlab_main_clusterwide
allow_cross_transactions:
- gitlab_main_clusterwide
allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
namespace_id: namespaces

View File

@ -6,4 +6,12 @@ feature_categories:
description: TODO
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33272
milestone: '13.1'
gitlab_schema: gitlab_main
gitlab_schema: gitlab_main_cell
allow_cross_joins:
- gitlab_main_clusterwide
allow_cross_transactions:
- gitlab_main_clusterwide
allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
project_id: projects

View File

@ -8,3 +8,5 @@ description: TODO
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/3ac5a759e93e632539438d4564582c645a9f6799
milestone: "<6.0"
gitlab_schema: gitlab_main_cell
sharding_key:
project_id: projects

View File

@ -7,4 +7,12 @@ feature_categories:
description: TODO
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/45061
milestone: '13.5'
gitlab_schema: gitlab_main
gitlab_schema: gitlab_main_cell
allow_cross_joins:
- gitlab_main_clusterwide
allow_cross_transactions:
- gitlab_main_clusterwide
allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
group_id: namespaces

View File

@ -8,3 +8,5 @@ description: TODO
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/4549
milestone: '10.7'
gitlab_schema: gitlab_main_cell
sharding_key:
group_id: namespaces

View File

@ -0,0 +1,24 @@
# frozen_string_literal: true
class FinalizeBackfillVsCodeSettingsUuid < Gitlab::Database::Migration[2.2]
milestone '16.10'
restrict_gitlab_migration gitlab_schema: :gitlab_main
disable_ddl_transaction!
TABLE_NAME = 'vs_code_settings'
MIGRATION_NAME = 'BackfillVsCodeSettingsUuid'
def up
ensure_batched_background_migration_is_finished(
job_class_name: MIGRATION_NAME,
table_name: TABLE_NAME,
column_name: 'id',
job_arguments: []
)
end
def down
# no-op
end
end

View File

@ -0,0 +1 @@
bb3c16304e73e66f7c7731524e756fd67272eaa554cae71ffcadbd55c702f13e

View File

@ -1118,6 +1118,7 @@ Example response:
## List merge request diffs
> - `generated_file` was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/141576) in GitLab 16.9 [with a flag](../administration/feature_flags.md) named `collapse_generated_diff_files`. Disabled by default.
> - [Enabled on GitLab.com and self-managed](https://gitlab.com/gitlab-org/gitlab/-/issues/432670) in GitLab 16.10.
List diffs of the files changed in a merge request.

View File

@ -623,12 +623,20 @@ The GraphQL fields, `isTemporaryStorageIncreaseEnabled` and `temporaryStorageInc
</div>
Support for the Grype scanner in the GitLab Container Scanning analyzer is deprecated in
GitLab 16.9 and will be removed in GitLab 17.0.
GitLab 16.9.
You should use the default setting for `CS_ANALYZER_IMAGE`, which uses the Trivy
From GitLab 17.0, the Grype analyzer will no longer be maintained, except for limited fixes as
explained in our [statement of support](https://about.gitlab.com/support/statement-of-support/#version-support).
Users are advised to use the default setting for `CS_ANALYZER_IMAGE`, which uses the Trivy
scanner.
To continue to use Grype, see the [Security scanner integration documentation](https://docs.gitlab.com/ee/development/integrations/secure.html) to learn how to
The existing current major version for the Grype analyzer image will continue to be updated
with the latest advisory database, and operating system packages until GitLab 19.0, at which
point the analyzer will stop working.
To continue to use Grype past 19.0, see the [Security scanner integration
documentation](https://docs.gitlab.com/ee/development/integrations/secure.html) to learn how to
create your own integration with GitLab.
</div>

View File

@ -97,6 +97,14 @@ If your job is failing at the build step with the message "Project couldn't be b
The solution is to use [pre-compilation](index.md#pre-compilation). Pre-compilation ensures the images required by SpotBugs are available in the job's container.
## SpotBugs message: `Exception analyzing ... using detector ...` followed by a Java stack trace
If your job log contains a message of the form "Exception analyzing ... using detector ..." followed by a Java stack trace, this is **not** a failure of the SAST pipeline. SpotBugs has determined that the exception is [recoverable](https://github.com/spotbugs/spotbugs/blob/5ebd4439f6f8f2c11246b79f58c44324718d39d8/spotbugs/src/main/java/edu/umd/cs/findbugs/FindBugs2.java#L1200), logged it, and resumed analysis.
The first "..." part of the message is the class being analyzed - if it's not part of your project, you can likely ignore the message and the stack trace that follows.
If, on the other hand, the class being analyzed is part of your project, consider creating an issue with the SpotBugs project on [GitHub](https://github.com/spotbugs/spotbugs/issues).
## Flawfinder encoding error
This occurs when Flawfinder encounters an invalid UTF-8 character. To fix this, convert all source code in your project to UTF-8 character encoding. This can be done with [`cvt2utf`](https://github.com/x1angli/cvt2utf) or [`iconv`](https://www.gnu.org/software/libiconv/documentation/libiconv-1.13/iconv.1.html) either over the entire project or per job using the [`before_script`](../../../ci/yaml/index.md#before_script) feature.

View File

@ -68,12 +68,7 @@ DETAILS:
**Offering:** Self-managed
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140180) in GitLab 16.8 [with a flag](../../../administration/feature_flags.md) named `collapse_generated_diff_files`. Disabled by default.
FLAG:
On self-managed GitLab, by default this feature is not available. To make it available,
an administrator can [enable the feature flag](../../../administration/feature_flags.md)
named `collapse_generated_diff_files`.
On GitLab.com, this feature is not available.
> - [Enabled on GitLab.com and self-managed](https://gitlab.com/gitlab-org/gitlab/-/issues/432670) in GitLab 16.10.
To help reviewers focus on the files needed to perform a code review, GitLab collapses
several common types of generated files. These files are collapsed by default, because

View File

@ -25,7 +25,7 @@ describe('Work items router', () => {
.mockResolvedValue({ data: { workItemUpdated: null } });
const createComponent = async (routeArg) => {
const router = createRouter('/work_item');
const router = createRouter({ fullPath: '/work_item' });
if (routeArg !== undefined) {
await router.push(routeArg);
}
@ -89,4 +89,23 @@ describe('Work items router', () => {
expect(wrapper.findComponent(CreateWorkItem).exists()).toBe(true);
});
it('includes relative_url_root', () => {
gon.relative_url_root = '/my-org';
const router = createRouter({ fullPath: '/work_item' });
expect(router.options.base).toBe('/my-org/work_item/-/work_items');
});
it('includes groups in path for groups', () => {
const router = createRouter({ fullPath: '/work_item', workspaceType: 'group' });
expect(router.options.base).toBe('/groups/work_item/-/work_items');
});
it('includes workItemType if provided', () => {
const router = createRouter({ fullPath: '/work_item', workItemType: 'epics' });
expect(router.options.base).toBe('/work_item/-/epics');
});
});