Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot 2024-10-08 09:16:03 +00:00
parent ea9bc357ed
commit 3310ea451f
452 changed files with 1506 additions and 1083 deletions

View File

@ -41,7 +41,7 @@ review-docs-cleanup:
.docs-markdown-lint-image:
# When updating the image version here, update it in /scripts/lint-doc.sh too.
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-docs/lint-markdown:alpine-3.20-vale-3.7.1-markdownlint2-0.13.0-lychee-0.15.1
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-docs/lint-markdown:alpine-3.20-vale-3.7.1-markdownlint2-0.14.0-lychee-0.15.1
docs-lint markdown:
extends:

View File

@ -10,7 +10,7 @@ include:
# code pattern changes with selective execution enabled
.code-pattern-with-selective-enabled-knapsack-set: &code-pattern-with-selective-enabled-knapsack-set
if: $MR_CODE_PATTERNS == "true" && $QA_TESTS != "" && $KNAPSACK_TEST_FILE_PATTERN != "" && $SELECTIVE_EXECUTION_IMPROVED == "true"
if: $MR_CODE_PATTERNS == "true" && $KNAPSACK_TEST_FILE_PATTERN != "" && $SELECTIVE_EXECUTION_IMPROVED == "true"
.code-pattern-with-selective-enabled-knapsack-unset: &code-pattern-with-selective-enabled-knapsack-unset
if: $MR_CODE_PATTERNS == "true" && $QA_TESTS != "" && $KNAPSACK_TEST_FILE_PATTERN == "" && $SELECTIVE_EXECUTION_IMPROVED == "true"

View File

@ -1 +1 @@
2112da655f2688249f3639a944b34f24ae015d11
02a0a2dc23f5e9503ad06ce58c6b0f22a60487fc

View File

@ -1 +1 @@
b6763e1a0ca508135fe727eeac15f32dc41a82a6
188b1e18a471cef37ddd81fdf0c643c0e1c235da

View File

@ -3,6 +3,7 @@ import { createAlert, VARIANT_SUCCESS } from '~/alert';
import { visitUrl } from '~/lib/utils/url_utility';
import { s__ } from '~/locale';
import PageHeading from '~/vue_shared/components/page_heading.vue';
import RunnerCreateForm from '~/ci/runner/components/runner_create_form.vue';
import { INSTANCE_TYPE } from '../constants';
import { saveAlertToLocalStorage } from '../local_storage_alert/save_alert_to_local_storage';
@ -11,6 +12,7 @@ export default {
name: 'AdminNewRunnerApp',
components: {
RunnerCreateForm,
PageHeading,
},
methods: {
onSaved(runner) {
@ -29,19 +31,16 @@ export default {
</script>
<template>
<div class="gl-mt-5">
<h1 class="gl-heading-1">{{ s__('Runners|New instance runner') }}</h1>
<p>
{{
s__(
'Runners|Create an instance runner to generate a command that registers the runner with all its configurations.',
)
}}
</p>
<hr aria-hidden="true" />
<div>
<page-heading :heading="s__('Runners|New instance runner')">
<template #description>
{{
s__(
'Runners|Create an instance runner to generate a command that registers the runner with all its configurations.',
)
}}
</template>
</page-heading>
<runner-create-form :runner-type="$options.INSTANCE_TYPE" @saved="onSaved" @error="onError" />
</div>
</template>

View File

@ -9,6 +9,7 @@ import {
GlSprintf,
GlSkeletonLoader,
} from '@gitlab/ui';
import SettingsSection from '~/vue_shared/components/settings/settings_section.vue';
import { helpPagePath } from '~/helpers/help_page_helper';
import {
ACCESS_LEVEL_NOT_PROTECTED,
@ -27,6 +28,7 @@ export default {
GlLink,
GlSprintf,
GlSkeletonLoader,
SettingsSection,
RunnerMaintenanceNoteField: () =>
import('ee_component/ci/runner/components/runner_maintenance_note_field.vue'),
},
@ -84,112 +86,113 @@ export default {
</script>
<template>
<div>
<h2 class="gl-heading-2">
{{ s__('Runners|Tags') }}
</h2>
<gl-skeleton-loader v-if="loading" :lines="16" />
<template v-else-if="model">
<gl-form-group :label="__('Tags')" label-for="runner-tags">
<template #description>
<gl-sprintf
:message="s__('Runners|Separate multiple tags with a comma. For example, %{example}.')"
>
<template #example>
<!-- eslint-disable-next-line @gitlab/vue-require-i18n-strings -->
<code>macos, shared</code>
</template>
</gl-sprintf>
</template>
<template #label-description>
<gl-sprintf
:message="
s__(
'Runners|Add tags to specify jobs that the runner can run. %{helpLinkStart}Learn more%{helpLinkEnd}.',
)
"
>
<template #helpLink="{ content }">
<gl-link :href="$options.HELP_LABELS_PAGE_PATH" target="_blank">{{
content
}}</gl-link>
</template>
</gl-sprintf>
</template>
<gl-form-input id="runner-tags" v-model="model.tagList" name="tags" />
</gl-form-group>
<gl-form-checkbox v-model="model.runUntagged" name="run-untagged">
{{ __('Run untagged jobs') }}
<template #help>
{{ s__('Runners|Use the runner for jobs without tags in addition to tagged jobs.') }}
</template>
</gl-form-checkbox>
</template>
<hr aria-hidden="true" />
<h2 class="gl-heading-2">
{{ s__('Runners|Configuration') }}
{{ __('(optional)') }}
</h2>
<gl-skeleton-loader v-if="loading" :lines="24" />
<template v-else-if="model">
<gl-form-group :label="s__('Runners|Runner description')" label-for="runner-description">
<gl-form-input id="runner-description" v-model="model.description" name="description" />
</gl-form-group>
<runner-maintenance-note-field v-model="model.maintenanceNote" class="gl-mt-5" />
<div class="gl-mb-5">
<gl-form-checkbox v-model="model.paused" name="paused">
{{ __('Paused') }}
<settings-section :heading="s__('Runners|Tags')">
<gl-skeleton-loader v-if="loading" :lines="16" />
<template v-else-if="model">
<gl-form-group :label="__('Tags')" label-for="runner-tags">
<template #description>
<gl-sprintf
:message="
s__('Runners|Separate multiple tags with a comma. For example, %{example}.')
"
>
<template #example>
<!-- eslint-disable-next-line @gitlab/vue-require-i18n-strings -->
<code>macos, shared</code>
</template>
</gl-sprintf>
</template>
<template #label-description>
<gl-sprintf
:message="
s__(
'Runners|Add tags to specify jobs that the runner can run. %{helpLinkStart}Learn more%{helpLinkEnd}.',
)
"
>
<template #helpLink="{ content }">
<gl-link :href="$options.HELP_LABELS_PAGE_PATH" target="_blank">{{
content
}}</gl-link>
</template>
</gl-sprintf>
</template>
<gl-form-input id="runner-tags" v-model="model.tagList" name="tags" />
</gl-form-group>
<gl-form-checkbox v-model="model.runUntagged" name="run-untagged">
{{ __('Run untagged jobs') }}
<template #help>
{{ s__('Runners|Stop the runner from accepting new jobs.') }}
{{ s__('Runners|Use the runner for jobs without tags in addition to tagged jobs.') }}
</template>
</gl-form-checkbox>
</template>
</settings-section>
<gl-form-checkbox
v-model="model.accessLevel"
name="protected"
:value="$options.ACCESS_LEVEL_REF_PROTECTED"
:unchecked-value="$options.ACCESS_LEVEL_NOT_PROTECTED"
<settings-section>
<template #heading>
{{ s__('Runners|Configuration') }}
{{ __('(optional)') }}
</template>
<gl-skeleton-loader v-if="loading" :lines="24" />
<template v-else-if="model">
<gl-form-group :label="s__('Runners|Runner description')" label-for="runner-description">
<gl-form-input id="runner-description" v-model="model.description" name="description" />
</gl-form-group>
<runner-maintenance-note-field v-model="model.maintenanceNote" class="gl-mt-5" />
<div class="gl-mb-5">
<gl-form-checkbox v-model="model.paused" name="paused">
{{ __('Paused') }}
<template #help>
{{ s__('Runners|Stop the runner from accepting new jobs.') }}
</template>
</gl-form-checkbox>
<gl-form-checkbox
v-model="model.accessLevel"
name="protected"
:value="$options.ACCESS_LEVEL_REF_PROTECTED"
:unchecked-value="$options.ACCESS_LEVEL_NOT_PROTECTED"
>
{{ __('Protected') }}
<template #help>
{{ s__('Runners|Use the runner on pipelines for protected branches only.') }}
</template>
</gl-form-checkbox>
<gl-form-checkbox v-if="canBeLockedToProject" v-model="model.locked" name="locked">
{{ __('Lock to current projects') }} <gl-icon name="lock" />
<template #help>
{{
s__(
'Runners|Use the runner for the currently assigned projects only. Only administrators can change the assigned projects.',
)
}}
</template>
</gl-form-checkbox>
</div>
<gl-form-group
:label="__('Maximum job timeout')"
:label-description="
s__(
'Runners|Maximum amount of time the runner can run before it terminates. If a project has a shorter job timeout period, the job timeout period of the instance runner is used instead.',
)
"
label-for="runner-max-timeout"
:description="
s__('Runners|Enter the job timeout in seconds. Must be a minimum of 600 seconds.')
"
>
{{ __('Protected') }}
<template #help>
{{ s__('Runners|Use the runner on pipelines for protected branches only.') }}
</template>
</gl-form-checkbox>
<gl-form-checkbox v-if="canBeLockedToProject" v-model="model.locked" name="locked">
{{ __('Lock to current projects') }} <gl-icon name="lock" />
<template #help>
{{
s__(
'Runners|Use the runner for the currently assigned projects only. Only administrators can change the assigned projects.',
)
}}
</template>
</gl-form-checkbox>
</div>
<gl-form-group
:label="__('Maximum job timeout')"
:label-description="
s__(
'Runners|Maximum amount of time the runner can run before it terminates. If a project has a shorter job timeout period, the job timeout period of the instance runner is used instead.',
)
"
label-for="runner-max-timeout"
:description="
s__('Runners|Enter the job timeout in seconds. Must be a minimum of 600 seconds.')
"
>
<gl-form-input
id="runner-max-timeout"
v-model.number="model.maximumTimeout"
name="max-timeout"
type="number"
/>
</gl-form-group>
</template>
<gl-form-input
id="runner-max-timeout"
v-model.number="model.maximumTimeout"
name="max-timeout"
type="number"
/>
</gl-form-group>
</template>
</settings-section>
</div>
</template>

View File

@ -1,5 +1,6 @@
<script>
import { GlIcon, GlTooltipDirective } from '@gitlab/ui';
import PageHeading from '~/vue_shared/components/page_heading.vue';
import { I18N_LOCKED_RUNNER_DESCRIPTION } from '../constants';
import { formatRunnerName } from '../utils';
import RunnerCreatedAt from './runner_created_at.vue';
@ -14,6 +15,7 @@ export default {
RunnerStatusBadge,
RunnerUpgradeStatusBadge: () =>
import('ee_component/ci/runner/components/runner_upgrade_status_badge.vue'),
PageHeading,
},
directives: {
GlTooltip: GlTooltipDirective,
@ -33,22 +35,24 @@ export default {
};
</script>
<template>
<div class="gl-py-5">
<div class="gl-flex gl-justify-between">
<h1 class="gl-my-0 gl-text-size-h-display">{{ name }}</h1>
<page-heading :heading="name">
<template #description>
<div class="gl-flex gl-flex-wrap gl-items-start gl-gap-3">
<runner-status-badge :contacted-at="runner.contactedAt" :status="runner.status" />
<runner-type-badge :type="runner.runnerType" />
<runner-upgrade-status-badge :runner="runner" />
<gl-icon
v-if="runner.locked"
v-gl-tooltip="$options.I18N_LOCKED_RUNNER_DESCRIPTION"
name="lock"
:aria-label="$options.I18N_LOCKED_RUNNER_DESCRIPTION"
/>
<runner-created-at :runner="runner" class="-gl-mt-1" />
</div>
</template>
<template #actions>
<slot name="actions"></slot>
</div>
<div class="gl-mt-3 gl-flex gl-flex-wrap gl-items-start gl-gap-3">
<runner-status-badge :contacted-at="runner.contactedAt" :status="runner.status" />
<runner-type-badge :type="runner.runnerType" />
<runner-upgrade-status-badge :runner="runner" />
<gl-icon
v-if="runner.locked"
v-gl-tooltip="$options.I18N_LOCKED_RUNNER_DESCRIPTION"
name="lock"
:aria-label="$options.I18N_LOCKED_RUNNER_DESCRIPTION"
/>
<runner-created-at :runner="runner" />
</div>
</div>
</template>
</page-heading>
</template>

View File

@ -1,15 +1,25 @@
<script>
import PageHeading from '~/vue_shared/components/page_heading.vue';
export default {
name: 'RunnerListHeader',
components: {
PageHeading,
},
};
</script>
<template>
<header class="gl-my-5 gl-flex gl-flex-wrap gl-items-start gl-justify-between">
<h1 v-if="$scopedSlots.title" class="header-title gl-mb-3 gl-mt-0 gl-text-size-h1">
<page-heading>
<template #heading>
<slot name="title"></slot>
</h1>
<div v-if="$scopedSlots.actions" class="gl-flex gl-gap-3">
</template>
<template #description>
<slot name="description"></slot>
</template>
<template v-if="$scopedSlots.actions" #actions>
<slot name="actions"></slot>
</div>
</header>
</template>
</page-heading>
</template>

View File

@ -99,7 +99,7 @@ export default {
<runner-form-fields v-model="model" :loading="loading" :runner-type="runnerType" />
<runner-update-cost-factor-fields v-model="model" :runner-type="runnerType" />
<div class="gl-mt-6">
<div class="gl-mt-6 gl-flex gl-gap-3">
<gl-button
type="submit"
variant="confirm"

View File

@ -247,7 +247,7 @@ export default {
};
},
skip() {
return this.isGroupWorkItem;
return this.isGroupWorkItem || this.workItemLoading;
},
update(data) {
return data.workspace?.userPermissions ?? defaultWorkspacePermissions;

View File

@ -126,7 +126,7 @@ module Ci
tag_list = @params[:tag_name].presence
return items unless tag_list
items.tagged_with(tag_list)
items.tagged_with(tag_list, like_search_enabled: true)
end
def by_creator_id(items)

View File

@ -4,13 +4,13 @@ module Ci
class PipelineConfig < Ci::ApplicationRecord
include Ci::Partitionable
self.table_name = 'ci_pipelines_config'
self.table_name = :p_ci_pipelines_config
self.primary_key = :pipeline_id
belongs_to :pipeline, class_name: "Ci::Pipeline", inverse_of: :pipeline_config
validates :pipeline, presence: true
validates :content, presence: true
partitionable scope: :pipeline
partitionable scope: :pipeline, partitioned: true
end
end

View File

@ -29,21 +29,26 @@ module Ci
attribute :tag_list, Gitlab::Database::Type::TagListType.new
scope :tagged_with, ->(tags) do
scope :tagged_with, ->(tags, like_search_enabled: false) do
Gitlab::Ci::Tags::Parser
.new(tags)
.parse
.map { |tag| with_tag(tag) }
.map { |tag| with_tag(tag, like_search_enabled: like_search_enabled) }
.reduce(:and)
end
scope :with_tag, ->(name) do
where_exists(
Tagging
.merge(unscoped.scoped_tagging)
.where(context: :tags)
.where(tag_id: Tag.where(name: name))
)
scope :with_tag, ->(name, like_search_enabled: false) do
query = Tagging
.merge(unscoped.scoped_tagging)
.where(context: :tags)
if like_search_enabled
query = query.where(tag_id: Tag.where("name LIKE ?", "%#{sanitize_sql_like(name)}%")) # rubocop:disable GitlabSecurity/SqlInjection -- we are sanitizing
else
query = query.where(tag_id: Tag.where(name: name))
end
where_exists(query)
end
scope :scoped_tagging, -> do

View File

@ -5,8 +5,7 @@ clusterwide: false
column: allow_account_deletion
db_type: boolean
default: 'true'
description: Set to `true` to allow users to delete their accounts. Premium and Ultimate
only.
description: Enable [users to delete their accounts](../administration/settings/account_and_limit_settings.md#prevent-users-from-deleting-their-accounts).
encrypted: false
gitlab_com_different_than_default: false
jihu: false

View File

@ -5,7 +5,7 @@ clusterwide: false
column: encrypted_anthropic_api_key
db_type: bytea
default:
description: This column is currently ignored.
description:
encrypted: true
gitlab_com_different_than_default: false
jihu: false

View File

@ -8,5 +8,5 @@ default:
description:
encrypted: true
gitlab_com_different_than_default: false
jihu: false
jihu: true
not_null: false

View File

@ -1,7 +1,7 @@
---
api_type:
attr: custom_project_templates_group_id
clusterwide:
clusterwide: false
column: custom_project_templates_group_id
db_type: bigint
default:

View File

@ -1,7 +1,7 @@
---
api_type:
attr: dashboard_limit
clusterwide:
clusterwide: true
column: dashboard_limit
db_type: integer
default: '0'

View File

@ -1,7 +1,7 @@
---
api_type:
attr: dashboard_limit_enabled
clusterwide:
clusterwide: true
column: dashboard_limit_enabled
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type:
attr: database_grafana_api_key
clusterwide:
clusterwide: true
column: encrypted_database_grafana_api_key
db_type: bytea
default:

View File

@ -1,7 +1,7 @@
---
api_type:
attr: database_grafana_api_url
clusterwide:
clusterwide: true
column: database_grafana_api_url
db_type: text
default:

View File

@ -1,7 +1,7 @@
---
api_type:
attr: database_grafana_tag
clusterwide:
clusterwide: true
column: database_grafana_tag
db_type: text
default:

View File

@ -1,7 +1,7 @@
---
api_type:
attr: database_max_running_batched_background_migrations
clusterwide:
clusterwide: true
column: database_max_running_batched_background_migrations
db_type: integer
default: '2'

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: deactivate_dormant_users
clusterwide:
clusterwide: false
column: deactivate_dormant_users
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: deactivate_dormant_users_period
clusterwide:
clusterwide: false
column: deactivate_dormant_users_period
db_type: integer
default: '90'

View File

@ -1,7 +1,7 @@
---
api_type:
attr: deactivation_email_additional_text
clusterwide:
clusterwide: true
column: deactivation_email_additional_text
db_type: text
default:

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: decompress_archive_file_timeout
clusterwide:
clusterwide: false
column: decompress_archive_file_timeout
db_type: integer
default: '210'

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: default_artifacts_expire_in
clusterwide:
clusterwide: true
column: default_artifacts_expire_in
db_type: character
default: "'0'::character"

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: default_branch_name
clusterwide:
clusterwide: false
column: default_branch_name
db_type: text
default:

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: default_branch_protection
clusterwide:
clusterwide: false
column: default_branch_protection
db_type: integer
default: '2'

View File

@ -1,7 +1,7 @@
---
api_type: hash
attr: default_branch_protection_defaults
clusterwide:
clusterwide: false
column: default_branch_protection_defaults
db_type: jsonb
default: "'{}'::jsonb"

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: default_ci_config_path
clusterwide:
clusterwide: false
column: default_ci_config_path
db_type: character
default:

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: default_group_visibility
clusterwide:
clusterwide: false
column: default_group_visibility
db_type: integer
default:

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: default_preferred_language
clusterwide:
clusterwide: false
column: default_preferred_language
db_type: text
default: "'en'::text"

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: default_project_creation
clusterwide:
clusterwide: false
column: default_project_creation
db_type: integer
default: '2'

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: default_project_deletion_protection
clusterwide:
clusterwide: false
column: default_project_deletion_protection
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: default_project_visibility
clusterwide:
clusterwide: false
column: default_project_visibility
db_type: integer
default: '0'

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: default_snippet_visibility
clusterwide:
clusterwide: false
column: default_snippet_visibility
db_type: integer
default: '0'

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: default_syntax_highlighting_theme
clusterwide:
clusterwide: false
column: default_syntax_highlighting_theme
db_type: integer
default: '1'

View File

@ -1,7 +1,7 @@
---
api_type:
attr: delete_inactive_projects
clusterwide:
clusterwide: false
column: delete_inactive_projects
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: delete_unconfirmed_users
clusterwide:
clusterwide: false
column: delete_unconfirmed_users
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: deletion_adjourned_period
clusterwide:
clusterwide: false
column: deletion_adjourned_period
db_type: integer
default: '7'

View File

@ -1,7 +1,7 @@
---
api_type:
attr: deny_all_requests_except_allowed
clusterwide:
clusterwide: false
column: deny_all_requests_except_allowed
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type:
attr: dependency_proxy_ttl_group_policy_worker_capacity
clusterwide:
clusterwide: false
column: dependency_proxy_ttl_group_policy_worker_capacity
db_type: smallint
default: '2'

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: diagramsnet_enabled
clusterwide:
clusterwide: false
column: diagramsnet_enabled
db_type: boolean
default: 'true'

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: diagramsnet_url
clusterwide:
clusterwide: false
column: diagramsnet_url
db_type: text
default: "'https://embed.diagrams.net'::text"

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: diff_max_files
clusterwide:
clusterwide: true
column: diff_max_files
db_type: integer
default: '1000'

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: diff_max_lines
clusterwide:
clusterwide: true
column: diff_max_lines
db_type: integer
default: '50000'

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: diff_max_patch_bytes
clusterwide:
clusterwide: true
column: diff_max_patch_bytes
db_type: integer
default: '204800'

View File

@ -1,12 +1,12 @@
---
api_type:
attr: dingtalk_app_key
clusterwide:
clusterwide: false
column: encrypted_dingtalk_app_key
db_type: bytea
default:
description:
encrypted: true
gitlab_com_different_than_default: false
jihu: false
jihu: true
not_null: false

View File

@ -1,12 +1,12 @@
---
api_type:
attr: dingtalk_app_secret
clusterwide:
clusterwide: false
column: encrypted_dingtalk_app_secret
db_type: bytea
default:
description:
encrypted: true
gitlab_com_different_than_default: false
jihu: false
jihu: true
not_null: false

View File

@ -1,12 +1,12 @@
---
api_type:
attr: dingtalk_corpid
clusterwide:
clusterwide: false
column: encrypted_dingtalk_corpid
db_type: bytea
default:
description:
encrypted: true
gitlab_com_different_than_default: false
jihu: false
jihu: true
not_null: false

View File

@ -1,7 +1,7 @@
---
api_type:
attr: dingtalk_integration_enabled
clusterwide:
clusterwide: false
column: dingtalk_integration_enabled
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: disable_admin_oauth_scopes
clusterwide:
clusterwide: false
column: disable_admin_oauth_scopes
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type:
attr: disable_download_button
clusterwide:
clusterwide: false
column: disable_download_button
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: disable_feed_token
clusterwide:
clusterwide: false
column: disable_feed_token
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: disable_overriding_approvers_per_merge_request
clusterwide:
clusterwide: false
column: disable_overriding_approvers_per_merge_request
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: disable_personal_access_tokens
clusterwide:
clusterwide: false
column: disable_personal_access_tokens
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: array of strings
attr: disabled_oauth_sign_in_sources
clusterwide:
clusterwide: false
column: disabled_oauth_sign_in_sources
db_type: text
default:

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: dns_rebinding_protection_enabled
clusterwide:
clusterwide: false
column: dns_rebinding_protection_enabled
db_type: boolean
default: 'true'

View File

@ -1,7 +1,7 @@
---
api_type: array of strings
attr: domain_allowlist
clusterwide:
clusterwide: false
column: domain_allowlist
db_type: text
default:

View File

@ -1,7 +1,7 @@
---
api_type: array of strings
attr: domain_denylist
clusterwide:
clusterwide: true
column: domain_denylist
db_type: text
default:

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: domain_denylist_enabled
clusterwide:
clusterwide: true
column: domain_denylist_enabled
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: dsa_key_restriction
clusterwide:
clusterwide: false
column: dsa_key_restriction
db_type: integer
default: "'-1'::integer"

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: duo_features_enabled
clusterwide:
clusterwide: false
column: duo_features_enabled
db_type: boolean
default: 'true'

View File

@ -1,7 +1,7 @@
---
api_type:
attr: duo_workflow
clusterwide:
clusterwide: true
column: duo_workflow
db_type: jsonb
default: "'{}'::jsonb"

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: ecdsa_key_restriction
clusterwide:
clusterwide: false
column: ecdsa_key_restriction
db_type: integer
default: '0'

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: ecdsa_sk_key_restriction
clusterwide:
clusterwide: false
column: ecdsa_sk_key_restriction
db_type: integer
default: '0'

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: ed25519_key_restriction
clusterwide:
clusterwide: false
column: ed25519_key_restriction
db_type: integer
default: '0'

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: ed25519_sk_key_restriction
clusterwide:
clusterwide: false
column: ed25519_sk_key_restriction
db_type: integer
default: '0'

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: eks_access_key_id
clusterwide:
clusterwide: true
column: eks_access_key_id
db_type: character
default:

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: eks_account_id
clusterwide:
clusterwide: true
column: eks_account_id
db_type: character
default:

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: eks_integration_enabled
clusterwide:
clusterwide: true
column: eks_integration_enabled
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: eks_secret_access_key
clusterwide:
clusterwide: true
column: encrypted_eks_secret_access_key
db_type: text
default:

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: email_additional_text
clusterwide:
clusterwide: true
column: email_additional_text
db_type: character
default:

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: email_author_in_body
clusterwide:
clusterwide: true
column: email_author_in_body
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: email_confirmation_setting
clusterwide:
clusterwide: true
column: email_confirmation_setting
db_type: smallint
default: '0'

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: email_restrictions
clusterwide:
clusterwide: true
column: email_restrictions
db_type: text
default:

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: email_restrictions_enabled
clusterwide:
clusterwide: true
column: email_restrictions_enabled
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: enable_artifact_external_redirect_warning_page
clusterwide:
clusterwide: false
column: enable_artifact_external_redirect_warning_page
db_type: boolean
default: 'true'

View File

@ -1,7 +1,7 @@
---
api_type:
attr: enable_member_promotion_management
clusterwide:
clusterwide: false
column: enable_member_promotion_management
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: enabled_git_access_protocol
clusterwide:
clusterwide: true
column: enabled_git_access_protocol
db_type: character
default:

View File

@ -1,11 +1,11 @@
---
api_type:
attr: toggle_security_policy_custom_ci
attr: enforce_ci_inbound_job_token_scope_enabled
clusterwide: false
column: toggle_security_policy_custom_ci
column: enforce_ci_inbound_job_token_scope_enabled
db_type: boolean
default: 'false'
description: This column is currently ignored.
description:
encrypted: false
gitlab_com_different_than_default: false
jihu: false

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: enforce_namespace_storage_limit
clusterwide:
clusterwide: false
column: enforce_namespace_storage_limit
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: enforce_terms
clusterwide:
clusterwide: true
column: enforce_terms
db_type: boolean
default: 'false'

View File

@ -1,12 +1,12 @@
---
api_type:
attr: error_tracking_access_token_encrypted
clusterwide:
attr: error_tracking_access_token
clusterwide: true
column: error_tracking_access_token_encrypted
db_type: text
default:
description:
encrypted: false
encrypted: true
gitlab_com_different_than_default: true
jihu: false
not_null: false

View File

@ -1,7 +1,7 @@
---
api_type:
attr: error_tracking_api_url
clusterwide:
clusterwide: true
column: error_tracking_api_url
db_type: text
default:

View File

@ -1,7 +1,7 @@
---
api_type:
attr: error_tracking_enabled
clusterwide:
clusterwide: true
column: error_tracking_enabled
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: external_auth_client_cert
clusterwide:
clusterwide: false
column: external_auth_client_cert
db_type: text
default:

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: external_auth_client_key
clusterwide:
clusterwide: false
column: encrypted_external_auth_client_key
db_type: text
default:

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: external_auth_client_key_pass
clusterwide:
clusterwide: false
column: encrypted_external_auth_client_key_pass
db_type: character
default:

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: external_authorization_service_default_label
clusterwide:
clusterwide: false
column: external_authorization_service_default_label
db_type: character
default:

View File

@ -1,7 +1,7 @@
---
api_type: boolean
attr: external_authorization_service_enabled
clusterwide:
clusterwide: false
column: external_authorization_service_enabled
db_type: boolean
default: 'false'

View File

@ -1,7 +1,7 @@
---
api_type: float
attr: external_authorization_service_timeout
clusterwide:
clusterwide: false
column: external_authorization_service_timeout
db_type: double
default: '0.5'

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: external_authorization_service_url
clusterwide:
clusterwide: false
column: external_authorization_service_url
db_type: character
default:

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: external_pipeline_validation_service_timeout
clusterwide:
clusterwide: true
column: external_pipeline_validation_service_timeout
db_type: integer
default:

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: external_pipeline_validation_service_token
clusterwide:
clusterwide: true
column: encrypted_external_pipeline_validation_service_token
db_type: text
default:

View File

@ -1,7 +1,7 @@
---
api_type: string
attr: external_pipeline_validation_service_url
clusterwide:
clusterwide: true
column: external_pipeline_validation_service_url
db_type: text
default:

View File

@ -1,7 +1,7 @@
---
api_type: integer
attr: failed_login_attempts_unlock_period_in_minutes
clusterwide:
clusterwide: false
column: failed_login_attempts_unlock_period_in_minutes
db_type: integer
default:

View File

@ -1,12 +1,12 @@
---
api_type:
attr: feishu_app_key
clusterwide:
clusterwide: false
column: encrypted_feishu_app_key
db_type: bytea
default:
description:
encrypted: true
gitlab_com_different_than_default: false
jihu: false
jihu: true
not_null: false

Some files were not shown because too many files have changed in this diff Show More