Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
c3eeb6a8d6
commit
effc12bf9d
|
|
@ -567,7 +567,6 @@ That's all of the required database changes.
|
|||
end
|
||||
```
|
||||
|
||||
- [ ] Add `[:geo_cool_widget_state, any]` to `skipped` in `spec/models/factories_spec.rb`
|
||||
|
||||
#### Step 2. Implement metrics gathering
|
||||
|
||||
|
|
|
|||
|
|
@ -534,7 +534,7 @@ That's all of the required database changes.
|
|||
end
|
||||
```
|
||||
|
||||
- [ ] Add `[:cool_widget, :remote_store]` and `[:geo_cool_widget_state, any]` to `skipped` in `spec/models/factories_spec.rb`
|
||||
- [ ] Add `[:cool_widget, :remote_store]` to `skipped` in `spec/models/factories_spec.rb`
|
||||
|
||||
#### Step 2. Implement metrics gathering
|
||||
|
||||
|
|
|
|||
|
|
@ -453,11 +453,11 @@
|
|||
{"name":"premailer","version":"1.16.0","platform":"ruby","checksum":"03e4402c448e6bae13fb5f6301a8bde4f3508e1bff90ae7c0972c7be94694786"},
|
||||
{"name":"premailer-rails","version":"1.10.3","platform":"ruby","checksum":"7cdcb97027866f7a81c490c6d15ada7f39666b5f6375f0821b7e97e0483b112f"},
|
||||
{"name":"proc_to_ast","version":"0.1.0","platform":"ruby","checksum":"92a73fa66e2250a83f8589f818b0751bcf227c68f85916202df7af85082f8691"},
|
||||
{"name":"prometheus-client-mmap","version":"0.24.3","platform":"aarch64-linux","checksum":"e9e05922724a1caa2788dd32567ec9e3e95607fb32f8eb95bb95884061a3042e"},
|
||||
{"name":"prometheus-client-mmap","version":"0.24.3","platform":"arm64-darwin","checksum":"6b618db676f7286de80c1ffdc52d931fc474e470c34d652e38d74b46953955b8"},
|
||||
{"name":"prometheus-client-mmap","version":"0.24.3","platform":"ruby","checksum":"014542ebeb7b9187427c0d431fe5bcab9b07d293a25e61182a92e79cc95dde34"},
|
||||
{"name":"prometheus-client-mmap","version":"0.24.3","platform":"x86_64-darwin","checksum":"4fde644acbd01e149edda9c47746dca0dc9610951fc793a22989a069670cfe5c"},
|
||||
{"name":"prometheus-client-mmap","version":"0.24.3","platform":"x86_64-linux","checksum":"981dbaadfccb8652feac7fce7a129464274140dbb7603f5e5060b8536387eaa1"},
|
||||
{"name":"prometheus-client-mmap","version":"0.24.4","platform":"aarch64-linux","checksum":"c23da204864167d6f43e8a1e925702ddfeb802cfaaa7b240ec4ee7996c97de92"},
|
||||
{"name":"prometheus-client-mmap","version":"0.24.4","platform":"arm64-darwin","checksum":"d18e9a2f4ff960c8ab833ba8f4c2581f106346b81452b3bd02ba8d5637c11d71"},
|
||||
{"name":"prometheus-client-mmap","version":"0.24.4","platform":"ruby","checksum":"8a0da7f4e5ff3e27e0df0223ce5e5945b60cf78fcf015f772b89f69b72b7b0a0"},
|
||||
{"name":"prometheus-client-mmap","version":"0.24.4","platform":"x86_64-darwin","checksum":"065f890b08b07d60080df7803f9a78c6362a3e0fc78f0de38be77856ff721d19"},
|
||||
{"name":"prometheus-client-mmap","version":"0.24.4","platform":"x86_64-linux","checksum":"645b59fa89a2f8433beea4a5316516aa117406674454040efad8c608b1d09944"},
|
||||
{"name":"pry","version":"0.14.2","platform":"java","checksum":"fd780670977ba04ff7ee32dabd4d02fe4bf02e977afe8809832d5dca1412862e"},
|
||||
{"name":"pry","version":"0.14.2","platform":"ruby","checksum":"c4fe54efedaca1d351280b45b8849af363184696fcac1c72e0415f9bdac4334d"},
|
||||
{"name":"pry-byebug","version":"3.10.1","platform":"ruby","checksum":"c8f975c32255bfdb29e151f5532130be64ff3d0042dc858d0907e849125581f8"},
|
||||
|
|
@ -489,7 +489,7 @@
|
|||
{"name":"rake","version":"13.0.6","platform":"ruby","checksum":"5ce4bf5037b4196c24ac62834d8db1ce175470391026bd9e557d669beeb19097"},
|
||||
{"name":"rb-fsevent","version":"0.11.2","platform":"ruby","checksum":"43900b972e7301d6570f64b850a5aa67833ee7d87b458ee92805d56b7318aefe"},
|
||||
{"name":"rb-inotify","version":"0.10.1","platform":"ruby","checksum":"050062d4f31d307cca52c3f6a7f4b946df8de25fc4bd373e1a5142e41034a7ca"},
|
||||
{"name":"rb_sys","version":"0.9.75","platform":"ruby","checksum":"435427cf071c40a684b4be20f14bb7e64e122e75b131f24101fa897c8ed9a8ff"},
|
||||
{"name":"rb_sys","version":"0.9.78","platform":"ruby","checksum":"635275db76f8885443dbd4ce8dd9b011ea27cb35dfa67ad1f268aba4f4fe7a26"},
|
||||
{"name":"rbtrace","version":"0.4.14","platform":"ruby","checksum":"162bbf89cecabfc4f09c869b655f6f3a679c4870ebb7cbdcadf7393a81cc1769"},
|
||||
{"name":"rbtree","version":"0.4.6","platform":"ruby","checksum":"14eea4469b24fd2472542e5f3eb105d6344c8ccf36f0b56d55fdcfeb4e0f10fc"},
|
||||
{"name":"rchardet","version":"1.8.0","platform":"ruby","checksum":"693acd5253d5ade81a51940697955f6dd4bb2f0d245bda76a8e23deec70a52c7"},
|
||||
|
|
|
|||
|
|
@ -1153,7 +1153,7 @@ GEM
|
|||
coderay
|
||||
parser
|
||||
unparser
|
||||
prometheus-client-mmap (0.24.3)
|
||||
prometheus-client-mmap (0.24.4)
|
||||
rb_sys (~> 0.9)
|
||||
pry (0.14.2)
|
||||
coderay (~> 1.1)
|
||||
|
|
@ -1231,7 +1231,7 @@ GEM
|
|||
rb-fsevent (0.11.2)
|
||||
rb-inotify (0.10.1)
|
||||
ffi (~> 1.0)
|
||||
rb_sys (0.9.75)
|
||||
rb_sys (0.9.78)
|
||||
rbtrace (0.4.14)
|
||||
ffi (>= 1.0.6)
|
||||
msgpack (>= 0.4.3)
|
||||
|
|
|
|||
|
|
@ -24,12 +24,17 @@ export const addDraftToDiscussion = ({ commit }, { endpoint, data }) =>
|
|||
});
|
||||
});
|
||||
|
||||
export const createNewDraft = ({ commit }, { endpoint, data }) =>
|
||||
export const createNewDraft = ({ commit, dispatch }, { endpoint, data }) =>
|
||||
service
|
||||
.createNewDraft(endpoint, data)
|
||||
.then((res) => res.data)
|
||||
.then((res) => {
|
||||
commit(types.ADD_NEW_DRAFT, res);
|
||||
|
||||
if (res.position?.position_type === FILE_DIFF_POSITION_TYPE) {
|
||||
dispatch('diffs/addDraftToFile', { filePath: res.file_path, draft: res }, { root: true });
|
||||
}
|
||||
|
||||
return res;
|
||||
})
|
||||
.catch(() => {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script>
|
||||
import { GlDropdown, GlDropdownItem, GlLoadingIcon, GlSearchBoxByType } from '@gitlab/ui';
|
||||
import { GlCollapsibleListbox } from '@gitlab/ui';
|
||||
import { debounce } from 'lodash';
|
||||
import { createNamespacedHelpers } from 'vuex';
|
||||
import { s__ } from '~/locale';
|
||||
|
|
@ -11,10 +11,7 @@ const { fetchUserLists, setFilter } = mapActions(['fetchUserLists', 'setFilter']
|
|||
|
||||
export default {
|
||||
components: {
|
||||
GlDropdown,
|
||||
GlDropdownItem,
|
||||
GlLoadingIcon,
|
||||
GlSearchBoxByType,
|
||||
GlCollapsibleListbox,
|
||||
ParameterFormGroup,
|
||||
},
|
||||
props: {
|
||||
|
|
@ -38,24 +35,25 @@ export default {
|
|||
dropdownText() {
|
||||
return this.strategy?.userList?.name ?? this.$options.translations.defaultDropdownText;
|
||||
},
|
||||
listboxItems() {
|
||||
return this.userLists.map((list) => ({
|
||||
value: list.id,
|
||||
text: list.name,
|
||||
}));
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
fetchUserLists.apply(this);
|
||||
},
|
||||
|
||||
methods: {
|
||||
setFilter: debounce(setFilter, 250),
|
||||
fetchUserLists: debounce(fetchUserLists, 250),
|
||||
onUserListChange(list) {
|
||||
onUserListChange(listId) {
|
||||
const list = this.userLists.find((userList) => userList.id === listId);
|
||||
this.$emit('change', {
|
||||
userList: list,
|
||||
});
|
||||
},
|
||||
isSelectedUserList({ id }) {
|
||||
return id === this.userListId;
|
||||
},
|
||||
setFocus() {
|
||||
this.$refs.searchBox.focusInput();
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
@ -67,26 +65,16 @@ export default {
|
|||
:description="hasUserLists ? $options.translations.rolloutUserListDescription : ''"
|
||||
>
|
||||
<template #default="{ inputId }">
|
||||
<gl-dropdown :id="inputId" :text="dropdownText" @shown="setFocus">
|
||||
<gl-search-box-by-type
|
||||
ref="searchBox"
|
||||
class="gl-m-3"
|
||||
:value="filter"
|
||||
@input="setFilter"
|
||||
@focus="fetchUserLists"
|
||||
@keyup="fetchUserLists"
|
||||
/>
|
||||
<gl-loading-icon v-if="isLoading" size="sm" />
|
||||
<gl-dropdown-item
|
||||
v-for="list in userLists"
|
||||
:key="list.id"
|
||||
:is-checked="isSelectedUserList(list)"
|
||||
is-check-item
|
||||
@click="onUserListChange(list)"
|
||||
>
|
||||
{{ list.name }}
|
||||
</gl-dropdown-item>
|
||||
</gl-dropdown>
|
||||
<gl-collapsible-listbox
|
||||
:id="inputId"
|
||||
:toggle-text="dropdownText"
|
||||
:loading="isLoading"
|
||||
:items="listboxItems"
|
||||
searchable
|
||||
:selected="userListId"
|
||||
@select="onUserListChange"
|
||||
@search="setFilter"
|
||||
/>
|
||||
</template>
|
||||
</parameter-form-group>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -34,7 +34,12 @@ export default {
|
|||
data-track-label="gitlab_logo_link"
|
||||
data-track-property="nav_core_menu"
|
||||
>
|
||||
<img v-if="logoUrl" data-testid="brand-header-custom-logo" :src="logoUrl" class="gl-h-6" />
|
||||
<img
|
||||
v-if="logoUrl"
|
||||
data-testid="brand-header-custom-logo"
|
||||
:src="logoUrl"
|
||||
class="gl-h-6 gl-max-w-full"
|
||||
/>
|
||||
<span v-else v-safe-html="$options.logo" data-testid="brand-header-default-logo"></span>
|
||||
</a>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -1,29 +1,25 @@
|
|||
<script>
|
||||
import { GlDropdown, GlDropdownItem, GlDropdownDivider, GlButton, GlTooltip } from '@gitlab/ui';
|
||||
import {
|
||||
GlDisclosureDropdown,
|
||||
GlDisclosureDropdownGroup,
|
||||
GlDisclosureDropdownItem,
|
||||
} from '@gitlab/ui';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
GlDropdown,
|
||||
GlDropdownItem,
|
||||
GlDropdownDivider,
|
||||
GlButton,
|
||||
GlTooltip,
|
||||
GlDisclosureDropdown,
|
||||
GlDisclosureDropdownGroup,
|
||||
GlDisclosureDropdownItem,
|
||||
},
|
||||
props: {
|
||||
id: {
|
||||
toggleText: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: '',
|
||||
required: true,
|
||||
},
|
||||
actions: {
|
||||
type: Array,
|
||||
required: true,
|
||||
},
|
||||
selectedKey: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: '',
|
||||
},
|
||||
category: {
|
||||
type: String,
|
||||
required: false,
|
||||
|
|
@ -34,78 +30,40 @@ export default {
|
|||
required: false,
|
||||
default: 'default',
|
||||
},
|
||||
showActionTooltip: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: true,
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
hasMultipleActions() {
|
||||
return this.actions.length > 1;
|
||||
},
|
||||
selectedAction() {
|
||||
return this.actions.find((x) => x.key === this.selectedKey) || this.actions[0];
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
handleItemClick(action) {
|
||||
this.$emit('select', action.key);
|
||||
},
|
||||
handleClick(action, evt) {
|
||||
this.$emit('actionClicked', { action });
|
||||
return action.handle?.(evt);
|
||||
return action.handle?.();
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<span>
|
||||
<gl-dropdown
|
||||
v-if="hasMultipleActions"
|
||||
:id="id"
|
||||
:text="selectedAction.text"
|
||||
:split-href="selectedAction.href"
|
||||
:variant="variant"
|
||||
:category="category"
|
||||
split
|
||||
data-qa-selector="action_dropdown"
|
||||
@click="handleClick(selectedAction, $event)"
|
||||
>
|
||||
<template #button-content>
|
||||
<span class="gl-dropdown-button-text" v-bind="selectedAction.attrs">
|
||||
{{ selectedAction.text }}
|
||||
</span>
|
||||
</template>
|
||||
<template v-for="(action, index) in actions">
|
||||
<gl-dropdown-item
|
||||
:key="action.key"
|
||||
is-check-item
|
||||
:is-checked="action.key === selectedAction.key"
|
||||
:secondary-text="action.secondaryText"
|
||||
:data-qa-selector="`${action.key}_menu_item`"
|
||||
:data-testid="`action_${action.key}`"
|
||||
@click="handleItemClick(action)"
|
||||
>
|
||||
<span class="gl-font-weight-bold">{{ action.text }}</span>
|
||||
</gl-dropdown-item>
|
||||
<gl-dropdown-divider v-if="index != actions.length - 1" :key="action.key + '_divider'" />
|
||||
</template>
|
||||
</gl-dropdown>
|
||||
<gl-button
|
||||
v-else-if="selectedAction"
|
||||
:id="id"
|
||||
v-bind="selectedAction.attrs"
|
||||
:variant="variant"
|
||||
:category="category"
|
||||
:href="selectedAction.href"
|
||||
@click="handleClick(selectedAction, $event)"
|
||||
>
|
||||
{{ selectedAction.text }}
|
||||
</gl-button>
|
||||
<gl-tooltip v-if="selectedAction.tooltip && showActionTooltip" :target="id">
|
||||
{{ selectedAction.tooltip }}
|
||||
</gl-tooltip>
|
||||
</span>
|
||||
<gl-disclosure-dropdown
|
||||
:variant="variant"
|
||||
:category="category"
|
||||
:toggle-text="toggleText"
|
||||
data-qa-selector="action_dropdown"
|
||||
>
|
||||
<gl-disclosure-dropdown-group>
|
||||
<gl-disclosure-dropdown-item
|
||||
v-for="action in actions"
|
||||
:key="action.key"
|
||||
v-bind="action.attrs"
|
||||
:item="action"
|
||||
:data-qa-selector="`${action.key}_menu_item`"
|
||||
@action="handleItemClick(action)"
|
||||
>
|
||||
<template #list-item>
|
||||
<div class="gl-display-flex gl-flex-direction-column">
|
||||
<span class="gl-font-weight-bold gl-mb-2">{{ action.text }}</span>
|
||||
<span class="gl-text-gray-700">
|
||||
{{ action.secondaryText }}
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
</gl-disclosure-dropdown-item>
|
||||
</gl-disclosure-dropdown-group>
|
||||
</gl-disclosure-dropdown>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -3,9 +3,7 @@ import { GlModal, GlSprintf, GlLink } from '@gitlab/ui';
|
|||
import { s__, __ } from '~/locale';
|
||||
import { visitUrl } from '~/lib/utils/url_utility';
|
||||
import ActionsButton from '~/vue_shared/components/actions_button.vue';
|
||||
import LocalStorageSync from '~/vue_shared/components/local_storage_sync.vue';
|
||||
import ConfirmForkModal from '~/vue_shared/components/confirm_fork_modal.vue';
|
||||
import glFeatureFlagsMixin from '~/vue_shared/mixins/gl_feature_flags_mixin';
|
||||
import { KEY_EDIT, KEY_WEB_IDE, KEY_GITPOD, KEY_PIPELINE_EDITOR } from './constants';
|
||||
|
||||
export const i18n = {
|
||||
|
|
@ -21,22 +19,18 @@ export const i18n = {
|
|||
webIdeTooltip: s__(
|
||||
'WebIDE|Quickly and easily edit multiple files in your project. Press . to open',
|
||||
),
|
||||
toggleText: __('Edit'),
|
||||
};
|
||||
|
||||
export const PREFERRED_EDITOR_KEY = 'gl-web-ide-button-selected';
|
||||
export const PREFERRED_EDITOR_RESET_KEY = 'gl-web-ide-button-selected-reset';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
ActionsButton,
|
||||
LocalStorageSync,
|
||||
GlModal,
|
||||
GlSprintf,
|
||||
GlLink,
|
||||
ConfirmForkModal,
|
||||
},
|
||||
i18n,
|
||||
mixins: [glFeatureFlagsMixin()],
|
||||
props: {
|
||||
isFork: {
|
||||
type: Boolean,
|
||||
|
|
@ -141,7 +135,6 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
selection: this.showPipelineEditorButton ? KEY_PIPELINE_EDITOR : KEY_WEB_IDE,
|
||||
showEnableGitpodModal: false,
|
||||
showForkModal: false,
|
||||
};
|
||||
|
|
@ -155,6 +148,9 @@ export default {
|
|||
this.gitpodAction,
|
||||
].filter((action) => action);
|
||||
},
|
||||
hasActions() {
|
||||
return this.actions.length > 0;
|
||||
},
|
||||
editAction() {
|
||||
if (!this.showEditButton) {
|
||||
return null;
|
||||
|
|
@ -176,9 +172,8 @@ export default {
|
|||
|
||||
return {
|
||||
key: KEY_EDIT,
|
||||
text: __('Edit'),
|
||||
text: __('Edit single file'),
|
||||
secondaryText: __('Edit this file only.'),
|
||||
tooltip: '',
|
||||
attrs: {
|
||||
'data-qa-selector': 'edit_button',
|
||||
'data-track-action': 'click_consolidated_edit',
|
||||
|
|
@ -205,7 +200,6 @@ export default {
|
|||
|
||||
const handleOptions = this.needsToFork
|
||||
? {
|
||||
href: '#modal-confirm-fork-webide',
|
||||
handle: () => {
|
||||
if (this.disableForkModal) {
|
||||
this.$emit('edit', 'ide');
|
||||
|
|
@ -216,9 +210,7 @@ export default {
|
|||
},
|
||||
}
|
||||
: {
|
||||
href: this.webIdeUrl,
|
||||
handle: (evt) => {
|
||||
evt.preventDefault();
|
||||
handle: () => {
|
||||
visitUrl(this.webIdeUrl, true);
|
||||
},
|
||||
};
|
||||
|
|
@ -227,7 +219,6 @@ export default {
|
|||
key: KEY_WEB_IDE,
|
||||
text: this.webIdeActionText,
|
||||
secondaryText: this.$options.i18n.webIdeText,
|
||||
tooltip: this.$options.i18n.webIdeTooltip,
|
||||
attrs: {
|
||||
'data-qa-selector': 'web_ide_button',
|
||||
'data-track-action': 'click_consolidated_edit_ide',
|
||||
|
|
@ -258,7 +249,6 @@ export default {
|
|||
key: KEY_PIPELINE_EDITOR,
|
||||
text: __('Edit in pipeline editor'),
|
||||
secondaryText,
|
||||
tooltip: secondaryText,
|
||||
attrs: {
|
||||
'data-qa-selector': 'pipeline_editor_button',
|
||||
},
|
||||
|
|
@ -283,7 +273,6 @@ export default {
|
|||
key: KEY_GITPOD,
|
||||
text: this.gitpodActionText,
|
||||
secondaryText,
|
||||
tooltip: secondaryText,
|
||||
attrs: {
|
||||
'data-qa-selector': 'gitpod_button',
|
||||
},
|
||||
|
|
@ -310,52 +299,24 @@ export default {
|
|||
};
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.resetPreferredEditor();
|
||||
},
|
||||
methods: {
|
||||
select(key) {
|
||||
this.selection = key;
|
||||
},
|
||||
showModal(dataKey) {
|
||||
this[dataKey] = true;
|
||||
},
|
||||
resetPreferredEditor() {
|
||||
if (!this.glFeatures.vscodeWebIde || this.showEditButton) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (localStorage.getItem(PREFERRED_EDITOR_RESET_KEY) === 'true') {
|
||||
return;
|
||||
}
|
||||
|
||||
localStorage.setItem(PREFERRED_EDITOR_KEY, KEY_WEB_IDE);
|
||||
localStorage.setItem(PREFERRED_EDITOR_RESET_KEY, true);
|
||||
|
||||
this.select(KEY_WEB_IDE);
|
||||
},
|
||||
},
|
||||
webIdeButtonId: 'web-ide-link',
|
||||
PREFERRED_EDITOR_KEY,
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="gl-sm-ml-3">
|
||||
<actions-button
|
||||
v-if="hasActions"
|
||||
:id="$options.webIdeButtonId"
|
||||
:actions="actions"
|
||||
:selected-key="selection"
|
||||
:toggle-text="$options.i18n.toggleText"
|
||||
:variant="isBlob ? 'confirm' : 'default'"
|
||||
:category="isBlob ? 'primary' : 'secondary'"
|
||||
show-action-tooltip
|
||||
@select="select"
|
||||
/>
|
||||
<local-storage-sync
|
||||
:storage-key="$options.PREFERRED_EDITOR_KEY"
|
||||
:value="selection"
|
||||
as-string
|
||||
@input="select"
|
||||
/>
|
||||
<gl-modal
|
||||
v-if="computedShowGitpodButton && !gitpodEnabled"
|
||||
|
|
|
|||
|
|
@ -9,21 +9,21 @@
|
|||
= f.label :default_projects_limit, _('Default projects limit'), class: 'label-bold'
|
||||
= f.number_field :default_projects_limit, class: 'form-control gl-form-input', title: _('Maximum number of projects.'), data: { toggle: 'tooltip', container: 'body' }
|
||||
.form-group
|
||||
= f.label :max_attachment_size, _('Maximum attachment size (MB)'), class: 'label-bold'
|
||||
= f.label :max_attachment_size, _('Maximum attachment size (MiB)'), class: 'label-bold'
|
||||
= f.number_field :max_attachment_size, class: 'form-control gl-form-input', title: _('Maximum size of individual attachments in comments.'), data: { toggle: 'tooltip', container: 'body' }
|
||||
|
||||
= render 'admin/application_settings/repository_size_limit_setting_registration_features_cta', form: f
|
||||
= render_if_exists 'admin/application_settings/repository_size_limit_setting', form: f
|
||||
|
||||
.form-group
|
||||
= f.label :receive_max_input_size, _('Maximum push size (MB)'), class: 'label-light'
|
||||
= f.label :receive_max_input_size, _('Maximum push size (MiB)'), class: 'label-light'
|
||||
= f.number_field :receive_max_input_size, class: 'form-control gl-form-input', title: _('Maximum size limit for a single commit.'), data: { toggle: 'tooltip', container: 'body', qa_selector: 'receive_max_input_size_field' }
|
||||
.form-group
|
||||
= f.label :max_export_size, _('Maximum export size (MB)'), class: 'label-light'
|
||||
= f.label :max_export_size, _('Maximum export size (MiB)'), class: 'label-light'
|
||||
= f.number_field :max_export_size, class: 'form-control gl-form-input', title: _('Maximum size of export files.'), data: { toggle: 'tooltip', container: 'body' }
|
||||
%span.form-text.text-muted= _('Set to 0 for no size limit.')
|
||||
.form-group
|
||||
= f.label :max_import_size, _('Maximum import size (MB)'), class: 'label-light'
|
||||
= f.label :max_import_size, _('Maximum import size (MiB)'), class: 'label-light'
|
||||
= f.number_field :max_import_size, class: 'form-control gl-form-input', title: _('Maximum size of import files.'), data: { toggle: 'tooltip', container: 'body' }
|
||||
%span.form-text.text-muted= _('Only effective when remote storage is enabled. Set to 0 for no size limit.')
|
||||
.form-group
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
%fieldset
|
||||
.form-group
|
||||
= f.label :diff_max_patch_bytes, _('Maximum diff patch size (Bytes)'), class: 'label-light'
|
||||
= f.label :diff_max_patch_bytes, _('Maximum diff patch size (bytes)'), class: 'label-light'
|
||||
= f.number_field :diff_max_patch_bytes, class: 'form-control gl-form-input'
|
||||
%span.form-text.text-muted
|
||||
= _("Diff files surpassing this limit will be presented as 'too large' and won't be expandable.")
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
s_("AdminSettings|Disable public access to Pages sites"),
|
||||
help_text: s_("AdminSettings|Select to disable public access for Pages sites, which requires users to sign in for access to the Pages sites in your instance. %{link_start}Learn more.%{link_end}").html_safe % { link_start: pages_link_start, link_end: '</a>'.html_safe }
|
||||
.form-group
|
||||
= f.label :max_pages_size, _('Maximum size of pages (MB)'), class: 'label-bold'
|
||||
= f.label :max_pages_size, _('Maximum size of pages (MiB)'), class: 'label-bold'
|
||||
= f.number_field :max_pages_size, class: 'form-control gl-form-input'
|
||||
.form-text.text-muted
|
||||
- pages_link_url = help_page_path('administration/pages/index', anchor: 'set-maximum-size-of-gitlab-pages-site-in-a-project')
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
.form-group
|
||||
= form.label :disabled_repository_size_limit, class: 'label-bold' do
|
||||
= _('Size limit per repository (MB)')
|
||||
= _('Size limit per repository (MiB)')
|
||||
= form.number_field :disabled_repository_size_limit, value: '', class: 'form-control gl-form-input', disabled: true
|
||||
%span.form-text.text-muted
|
||||
= render 'shared/registration_features_discovery_message'
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
= render 'shared/file_picker_button', f: f, field: :avatar, help_text: _("Max file size is 200 KB.")
|
||||
= render 'shared/file_picker_button', f: f, field: :avatar, help_text: _("Max file size is 200 KiB.")
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
.row
|
||||
.form-group.col-md-9
|
||||
= form.label :disabled_repository_size_limit, class: 'label-bold' do
|
||||
= _('Repository size limit (MB)')
|
||||
= _('Repository size limit (MiB)')
|
||||
= form.number_field :disabled_repository_size_limit, value: '', class: 'form-control', disabled: true
|
||||
%span.form-text.text-muted
|
||||
= render 'shared/registration_features_discovery_message'
|
||||
|
|
|
|||
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
description: An event triggered when a user is authorized to use Code Suggestions
|
||||
category: API::Ml::AiAssist
|
||||
action: authenticate
|
||||
label_description: code_suggestions
|
||||
property_description:
|
||||
value_description:
|
||||
extra_properties:
|
||||
identifiers:
|
||||
- user
|
||||
product_section: dev
|
||||
product_stage: modelops
|
||||
product_group: ai_assisted
|
||||
milestone: "16.1"
|
||||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/122774
|
||||
distributions:
|
||||
- ee
|
||||
tiers:
|
||||
- free
|
||||
- premium
|
||||
- ultimate
|
||||
|
||||
|
|
@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/412332
|
|||
milestone: '16.1'
|
||||
type: development
|
||||
group: group::environments
|
||||
default_enabled: false
|
||||
default_enabled: true
|
||||
|
|
|
|||
|
|
@ -0,0 +1,47 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddVacuumTypeToAutovacuumStatus < Gitlab::Database::Migration[2.1]
|
||||
def up
|
||||
execute <<~SQL
|
||||
DROP VIEW IF EXISTS postgres_autovacuum_activity;
|
||||
|
||||
CREATE VIEW postgres_autovacuum_activity AS
|
||||
WITH processes as
|
||||
(
|
||||
SELECT query, query_start, (regexp_matches(query, '^autovacuum: VACUUM (\\w+)\\.(\\w+)')) as matches,
|
||||
CASE WHEN (query ~~* '%wraparound)'::text) THEN true ELSE false END as wraparound_prevention
|
||||
FROM postgres_pg_stat_activity_autovacuum()
|
||||
WHERE query ~* '^autovacuum: VACUUM \\w+\\.\\w+'
|
||||
)
|
||||
SELECT matches[1] || '.' || matches[2] as table_identifier,
|
||||
matches[1] as schema,
|
||||
matches[2] as table,
|
||||
query_start as vacuum_start,
|
||||
wraparound_prevention
|
||||
FROM processes;
|
||||
|
||||
COMMENT ON VIEW postgres_autovacuum_activity IS 'Contains information about PostgreSQL backends currently performing autovacuum operations on the tables indicated here.';
|
||||
SQL
|
||||
end
|
||||
|
||||
def down
|
||||
execute <<~SQL
|
||||
DROP VIEW IF EXISTS postgres_autovacuum_activity;
|
||||
|
||||
CREATE VIEW postgres_autovacuum_activity AS
|
||||
WITH processes as
|
||||
(
|
||||
SELECT query, query_start, (regexp_matches(query, '^autovacuum: VACUUM (\\w+)\\.(\\w+)')) as matches
|
||||
FROM postgres_pg_stat_activity_autovacuum()
|
||||
WHERE query ~* '^autovacuum: VACUUM \\w+\\.\\w+'
|
||||
)
|
||||
SELECT matches[1] || '.' || matches[2] as table_identifier,
|
||||
matches[1] as schema,
|
||||
matches[2] as table,
|
||||
query_start as vacuum_start
|
||||
FROM processes;
|
||||
|
||||
COMMENT ON VIEW postgres_autovacuum_activity IS 'Contains information about PostgreSQL backends currently performing autovacuum operations on the tables indicated here.';
|
||||
SQL
|
||||
end
|
||||
end
|
||||
|
|
@ -0,0 +1 @@
|
|||
bad7f2ba1016d7a1c81e4f1ce390cf669f128f9ac368f7b1b091a73f1d1230cc
|
||||
|
|
@ -20462,14 +20462,19 @@ CREATE VIEW postgres_autovacuum_activity AS
|
|||
WITH processes AS (
|
||||
SELECT postgres_pg_stat_activity_autovacuum.query,
|
||||
postgres_pg_stat_activity_autovacuum.query_start,
|
||||
regexp_matches(postgres_pg_stat_activity_autovacuum.query, '^autovacuum: VACUUM (w+).(w+)'::text) AS matches
|
||||
regexp_matches(postgres_pg_stat_activity_autovacuum.query, '^autovacuum: VACUUM (\w+)\.(\w+)'::text) AS matches,
|
||||
CASE
|
||||
WHEN (postgres_pg_stat_activity_autovacuum.query ~~* '%wraparound)'::text) THEN true
|
||||
ELSE false
|
||||
END AS wraparound_prevention
|
||||
FROM postgres_pg_stat_activity_autovacuum() postgres_pg_stat_activity_autovacuum(query, query_start)
|
||||
WHERE (postgres_pg_stat_activity_autovacuum.query ~* '^autovacuum: VACUUM w+.w+'::text)
|
||||
WHERE (postgres_pg_stat_activity_autovacuum.query ~* '^autovacuum: VACUUM \w+\.\w+'::text)
|
||||
)
|
||||
SELECT ((processes.matches[1] || '.'::text) || processes.matches[2]) AS table_identifier,
|
||||
processes.matches[1] AS schema,
|
||||
processes.matches[2] AS "table",
|
||||
processes.query_start AS vacuum_start
|
||||
processes.query_start AS vacuum_start,
|
||||
processes.wraparound_prevention
|
||||
FROM processes;
|
||||
|
||||
COMMENT ON VIEW postgres_autovacuum_activity IS 'Contains information about PostgreSQL backends currently performing autovacuum operations on the tables indicated here.';
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ To enable the Atlassian OmniAuth provider for passwordless authentication you mu
|
|||
1. Save the configuration file.
|
||||
|
||||
1. For the changes to take effect:
|
||||
- If you installed using the Linux package, [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
- If you installed using the Linux package, [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
- If you self-compiled your installation, [restart GitLab](../restart_gitlab.md#installations-from-source).
|
||||
|
||||
On the sign-in page there should now be an Atlassian icon below the regular sign in form. Select the icon to begin the authentication process.
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ To enable AWS Cognito as an authentication provider, complete the following step
|
|||
```
|
||||
|
||||
1. Save the configuration file.
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure) GitLab for the changes to take effect.
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation) GitLab for the changes to take effect.
|
||||
|
||||
Your sign-in page should now display a Cognito option below the regular sign-in form.
|
||||
Select this option to begin the authentication process.
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ this provider also allows Crowd authentication for Git-over-https requests.
|
|||
1. Change `YOUR_APP_NAME` to the application name from Crowd applications page.
|
||||
1. Change `YOUR_APP_PASSWORD` to the application password you've set.
|
||||
1. Save the configuration file.
|
||||
1. [Reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure) (Linux package installations) or
|
||||
1. [Reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation) (Linux package installations) or
|
||||
[restart](../restart_gitlab.md#installations-from-source) (self-compiled installations) for the changes to take effect.
|
||||
|
||||
On the sign in page there should now be a Crowd tab in the sign in form.
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ JWT provides you with a secret key for you to use.
|
|||
1. Change `YOUR_APP_SECRET` to the client secret and set `auth_url` to your redirect URL.
|
||||
1. Save the configuration file.
|
||||
1. For changes to take effect, if you:
|
||||
- Used the Linux package to install GitLab, [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
- Used the Linux package to install GitLab, [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
- Self-compiled your GitLab installation, [restart GitLab](../restart_gitlab.md#installations-from-source).
|
||||
|
||||
On the sign in page there should now be a JWT icon below the regular sign in form.
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ For Linux package installations:
|
|||
EOS
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure](../../restart_gitlab.md#omnibus-gitlab-reconfigure) GitLab for the changes to take effect.
|
||||
1. Save the file and [reconfigure](../../restart_gitlab.md#reconfigure-a-linux-package-installation) GitLab for the changes to take effect.
|
||||
|
||||
For self-compiled installations:
|
||||
|
||||
|
|
|
|||
|
|
@ -733,7 +733,7 @@ cause:
|
|||
To resolve this error, you must apply a new license to the GitLab instance without the web interface:
|
||||
|
||||
1. Remove or comment out the GitLab configuration lines for all non-primary LDAP servers.
|
||||
1. [Reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure) so that it temporarily uses only one LDAP server.
|
||||
1. [Reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation) so that it temporarily uses only one LDAP server.
|
||||
1. Enter the [Rails console and add the license key](../../../user/admin_area/license_file.md#add-a-license-through-the-console).
|
||||
1. Re-enable the additional LDAP servers in the GitLab configuration and reconfigure GitLab again.
|
||||
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ The OpenID Connect provides you with a client's details and secret for you to us
|
|||
1. Save the configuration file.
|
||||
1. For changes to take effect, if you:
|
||||
|
||||
- Used the Linux package to install GitLab, [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
- Used the Linux package to install GitLab, [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
- Self-compiled your GitLab installation, [restart GitLab](../restart_gitlab.md#installations-from-source).
|
||||
|
||||
On the sign in page, you have an OpenID Connect option below the regular sign in form.
|
||||
|
|
@ -805,7 +805,7 @@ For Linux package installations:
|
|||
]
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
For self-compiled installations:
|
||||
|
|
@ -884,7 +884,7 @@ For Linux package installations:
|
|||
]
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
For self-compiled installations:
|
||||
|
|
@ -961,7 +961,7 @@ For Linux package installations:
|
|||
]
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
For self-compiled installations:
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ For Linux package installations:
|
|||
`gitlab_rails['smartcard_client_certificate_required_host']` or
|
||||
`gitlab_rails['smartcard_client_certificate_required_port']`.
|
||||
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
GitLab for the changes to take effect.
|
||||
|
||||
For self-compiled installations:
|
||||
|
|
@ -243,7 +243,7 @@ For Linux package installations:
|
|||
gitlab_rails['smartcard_san_extensions'] = true
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
GitLab for the changes to take effect.
|
||||
|
||||
For self-compiled installations:
|
||||
|
|
@ -279,7 +279,7 @@ For Linux package installations:
|
|||
EOS
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
GitLab for the changes to take effect.
|
||||
|
||||
For self-compiled installations:
|
||||
|
|
@ -310,7 +310,7 @@ For Linux package installations:
|
|||
gitlab_rails['smartcard_required_for_git_access'] = true
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
GitLab for the changes to take effect.
|
||||
|
||||
For self-compiled installations:
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ is listed in the [GitLab.com settings](../user/gitlab_com/index.md#gitlab-cicd).
|
|||
To change the frequency of the pipeline schedule worker:
|
||||
|
||||
1. Edit the `gitlab_rails['pipeline_schedule_worker_cron']` value in your instance's `gitlab.rb` file.
|
||||
1. [Reconfigure GitLab](restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
For example, to set the maximum frequency of pipelines to twice a day, set `pipeline_schedule_worker_cron`
|
||||
to a cron value of `0 */12 * * *` (`00:00` and `12:00` every day).
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ To enable the agent server on a single node:
|
|||
gitlab_kas['enable'] = true
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
For additional configuration options, see the **Enable GitLab KAS** section of the
|
||||
[`gitlab.rb.template`](https://gitlab.com/gitlab-org/omnibus-gitlab/-/blob/master/files/gitlab-config-template/gitlab.rb.template).
|
||||
|
|
@ -68,7 +68,7 @@ To configure KAS to listen on a UNIX socket:
|
|||
}
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
#### Enable on multiple nodes
|
||||
|
||||
|
|
@ -94,7 +94,7 @@ To enable the agent server on multiple nodes:
|
|||
gitlab_rails['gitlab_kas_external_k8s_proxy_url'] = 'https://gitlab.example.com/-/kubernetes-agent/k8s-proxy/'
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
##### Agent server node settings
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ On _each_ Consul server node:
|
|||
gitlab_rails['auto_migrate'] = false
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes
|
||||
1. [Reconfigure GitLab](restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes
|
||||
to take effect.
|
||||
1. Run the following command to ensure Consul is both configured correctly and
|
||||
to verify that all server nodes are communicating:
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ do this manually.
|
|||
roles ['geo_secondary_role']
|
||||
```
|
||||
|
||||
After making these changes, [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
After making these changes, [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
on each machine so the changes take effect.
|
||||
|
||||
1. Promote the **secondary** to **primary**. SSH into a single application
|
||||
|
|
@ -444,7 +444,7 @@ required:
|
|||
roles ['geo_secondary_role']
|
||||
```
|
||||
|
||||
After making these changes [Reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
After making these changes [Reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
on each node so the changes take effect.
|
||||
|
||||
1. Promote the **secondary** to **primary**. SSH into a single secondary application
|
||||
|
|
@ -554,7 +554,7 @@ sudo rm -rf /var/opt/gitlab/geo-postgresql
|
|||
```
|
||||
|
||||
If you have any `geo_secondary[]` configuration options enabled in your `gitlab.rb`
|
||||
file, these can be safely commented out or removed, and then [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
file, these can be safely commented out or removed, and then [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
## Promoting secondary Geo replica in multi-secondary configurations
|
||||
|
|
@ -732,7 +732,7 @@ If you are running GitLab 14.4 and earlier:
|
|||
roles ['geo_secondary_role']
|
||||
```
|
||||
|
||||
After making these changes, [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure) on the database node.
|
||||
After making these changes, [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation) on the database node.
|
||||
|
||||
1. Find the task runner pod:
|
||||
|
||||
|
|
|
|||
|
|
@ -312,7 +312,7 @@ Data that was created on the primary while the secondary was paused is lost.
|
|||
roles ['geo_secondary_role']
|
||||
```
|
||||
|
||||
After making these changes [Reconfigure GitLab](../../../restart_gitlab.md#omnibus-gitlab-reconfigure) each
|
||||
After making these changes, [reconfigure GitLab](../../../restart_gitlab.md#reconfigure-a-linux-package-installation) each
|
||||
machine so the changes take effect.
|
||||
|
||||
1. Promote the **secondary** to **primary**. SSH into a single Rails node
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ Geo node in a PostgreSQL console (`sudo gitlab-psql`):
|
|||
roles ['geo_primary_role']
|
||||
```
|
||||
|
||||
1. After making these changes, [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. After making these changes, [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
## (Optional) Revert PostgreSQL settings to use a password and listen on an IP
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ The following steps enable a GitLab site to serve as the Geo **primary** site.
|
|||
gitlab_rails['auto_migrate'] = false
|
||||
```
|
||||
|
||||
After making these changes, [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure) so the changes take effect.
|
||||
After making these changes, [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation) so the changes take effect.
|
||||
|
||||
### Step 2: Define the site as the **primary** site
|
||||
|
||||
|
|
@ -179,7 +179,7 @@ the instructions below.
|
|||
gitlab_rails['auto_migrate'] = false
|
||||
```
|
||||
|
||||
After making these changes, [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure) so the changes take effect.
|
||||
After making these changes, [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation) so the changes take effect.
|
||||
|
||||
If using an external PostgreSQL instance, refer also to
|
||||
[Geo with external PostgreSQL instances](../setup/external_database.md).
|
||||
|
|
@ -271,7 +271,7 @@ Make sure that current node's IP is listed in
|
|||
`postgresql['md5_auth_cidr_addresses']` setting of the read-replica database to
|
||||
allow Rails on this node to connect to PostgreSQL.
|
||||
|
||||
After making these changes [Reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure) so the changes take effect.
|
||||
After making these changes, [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation) so the changes take effect.
|
||||
|
||||
In the [architecture overview](#architecture-overview) topology, the following GitLab
|
||||
services are enabled on the "frontend" nodes:
|
||||
|
|
|
|||
|
|
@ -179,7 +179,7 @@ To configure the connection to the external read-replica database and enable Log
|
|||
postgresql['enable'] = false
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
|
||||
### Configure the tracking database
|
||||
|
||||
|
|
@ -244,7 +244,7 @@ the tracking database on port 5432.
|
|||
geo_postgresql['enable'] = false # don't use internal managed instance
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
|
||||
1. The reconfigure should automatically create the database. If needed, you can perform this task manually. This task (whether run by itself or during reconfigure) requires the database user to be a superuser.
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ a single-node Geo site or a multi-node Geo site.
|
|||
If both Geo sites are based on the [1K reference architecture](../../reference_architectures/1k_users.md):
|
||||
|
||||
1. Set up the database replication based on your choice of PostgreSQL instances (`primary (read-write) <-> secondary (read-only)` topology):
|
||||
- [Using Omnibus PostgreSQL instances](database.md) .
|
||||
- [Using Linux package PostgreSQL instances](database.md) .
|
||||
- [Using external PostgreSQL instances](external_database.md)
|
||||
1. [Configure GitLab](../replication/configuration.md) to set the **primary** and **secondary** sites.
|
||||
1. Recommended: [Configure unified URLs](../secondary_proxy/index.md) to use a single, unified URL for all Geo sites.
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ Configure Gitaly in one of two ways:
|
|||
|
||||
1. Edit `/etc/gitlab/gitlab.rb` and add or change the
|
||||
[Gitaly settings](https://gitlab.com/gitlab-org/omnibus-gitlab/blob/1dd07197c7e5ae23626aad5a4a070a800b670380/files/gitlab-config-template/gitlab.rb.template#L1622-1676).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
:::TabTitle Self-compiled (source)
|
||||
|
||||
|
|
@ -301,7 +301,7 @@ Configure Gitaly server in one of two ways:
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
1. Confirm that Gitaly can perform callbacks to the GitLab internal API:
|
||||
- For GitLab 15.3 and later, run `sudo /opt/gitlab/embedded/bin/gitaly check /var/opt/gitlab/gitaly/config.toml`.
|
||||
- For GitLab 15.2 and earlier, run `sudo /opt/gitlab/embedded/bin/gitaly-hooks check /var/opt/gitlab/gitaly/config.toml`.
|
||||
|
|
@ -424,7 +424,7 @@ Configure Gitaly clients in one of two ways:
|
|||
})
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
1. Run `sudo gitlab-rake gitlab:gitaly:check` on the Gitaly client (for example, the
|
||||
Rails application) to confirm it can connect to Gitaly servers.
|
||||
1. Tail the logs to see the requests:
|
||||
|
|
@ -564,7 +564,7 @@ Disable Gitaly on a GitLab server in one of two ways:
|
|||
gitaly['enable'] = false
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
:::TabTitle Self-compiled (source)
|
||||
|
||||
|
|
@ -633,7 +633,7 @@ Configure Gitaly with TLS in one of two ways:
|
|||
})
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
1. On the Gitaly servers, create the `/etc/gitlab/ssl` directory and copy your key and certificate
|
||||
there:
|
||||
|
||||
|
|
@ -668,14 +668,14 @@ Configure Gitaly with TLS in one of two ways:
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
1. Verify Gitaly traffic is being served over TLS by
|
||||
[observing the types of Gitaly connections](#observe-type-of-gitaly-connections).
|
||||
1. Optional. Improve security by:
|
||||
1. Disabling non-TLS connections by commenting out or deleting `gitaly['configuration'][:listen_addr]` in
|
||||
`/etc/gitlab/gitlab.rb`.
|
||||
1. Saving the file.
|
||||
1. [Reconfiguring GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfiguring GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
:::TabTitle Self-compiled (source)
|
||||
|
||||
|
|
@ -1537,7 +1537,7 @@ Configure Gitaly to sign commits made with the GitLab UI in one of two ways:
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
:::TabTitle Self-compiled (source)
|
||||
|
||||
|
|
|
|||
|
|
@ -670,7 +670,7 @@ Updates to example must be made at:
|
|||
1. Enable [distribution of reads](index.md#distributed-reads).
|
||||
|
||||
1. Save the changes to `/etc/gitlab/gitlab.rb` and
|
||||
[reconfigure Praefect](../restart_gitlab.md#omnibus-gitlab-reconfigure):
|
||||
[reconfigure Praefect](../restart_gitlab.md#reconfigure-a-linux-package-installation):
|
||||
|
||||
```shell
|
||||
gitlab-ctl reconfigure
|
||||
|
|
@ -694,7 +694,7 @@ Updates to example must be made at:
|
|||
additional configuration changes can be done and then reconfigure can be run manually.
|
||||
|
||||
1. Save the changes to `/etc/gitlab/gitlab.rb` and
|
||||
[reconfigure Praefect](../restart_gitlab.md#omnibus-gitlab-reconfigure):
|
||||
[reconfigure Praefect](../restart_gitlab.md#reconfigure-a-linux-package-installation):
|
||||
|
||||
```shell
|
||||
gitlab-ctl reconfigure
|
||||
|
|
@ -702,7 +702,7 @@ Updates to example must be made at:
|
|||
|
||||
1. To ensure that Praefect
|
||||
[has updated its Prometheus listen address](https://gitlab.com/gitlab-org/gitaly/-/issues/2734),
|
||||
[restart Praefect](../restart_gitlab.md#omnibus-gitlab-restart):
|
||||
[restart Praefect](../restart_gitlab.md#reconfigure-a-linux-package-installation):
|
||||
|
||||
```shell
|
||||
gitlab-ctl restart praefect
|
||||
|
|
@ -788,7 +788,7 @@ To configure Praefect with TLS:
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
1. On the Praefect clients (including each Gitaly server), copy the certificates,
|
||||
or their certificate authority, into `/etc/gitlab/trusted-certs`:
|
||||
|
|
@ -809,7 +809,7 @@ To configure Praefect with TLS:
|
|||
})
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
**For installations from source**
|
||||
|
||||
|
|
@ -950,7 +950,7 @@ You can also appoint an authoritative name server by setting it in this format:
|
|||
praefect['consul_service_name'] = 'praefect'
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
1. On the Praefect clients (except Gitaly servers), edit `git_data_dirs` in
|
||||
`/etc/gitlab/gitlab.rb` as follows. Replace `PRAEFECT_SERVICE_DISCOVERY_ADDRESS`
|
||||
with Praefect service discovery address, such as `praefect.service.consul`.
|
||||
|
|
@ -964,7 +964,7 @@ with Praefect service discovery address, such as `praefect.service.consul`.
|
|||
})
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
:::TabTitle Self-compiled (source)
|
||||
|
||||
|
|
@ -1091,7 +1091,7 @@ For more information on Gitaly server configuration, see our
|
|||
|
||||
1. Copy `/etc/gitlab/gitlab-secrets.json` from the Gitaly client to same path on the Gitaly
|
||||
servers and any other Gitaly clients.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) on Gitaly servers.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) on Gitaly servers.
|
||||
|
||||
- Method 2:
|
||||
|
||||
|
|
@ -1146,7 +1146,7 @@ For more information on Gitaly server configuration, see our
|
|||
```
|
||||
|
||||
1. Save the changes to `/etc/gitlab/gitlab.rb` and
|
||||
[reconfigure Gitaly](../restart_gitlab.md#omnibus-gitlab-reconfigure):
|
||||
[reconfigure Gitaly](../restart_gitlab.md#reconfigure-a-linux-package-installation):
|
||||
|
||||
```shell
|
||||
gitlab-ctl reconfigure
|
||||
|
|
@ -1154,7 +1154,7 @@ For more information on Gitaly server configuration, see our
|
|||
|
||||
1. To ensure that Gitaly
|
||||
[has updated its Prometheus listen address](https://gitlab.com/gitlab-org/gitaly/-/issues/2734),
|
||||
[restart Gitaly](../restart_gitlab.md#omnibus-gitlab-restart):
|
||||
[restart Gitaly](../restart_gitlab.md#reconfigure-a-linux-package-installation):
|
||||
|
||||
```shell
|
||||
gitlab-ctl restart gitaly
|
||||
|
|
@ -1273,7 +1273,7 @@ Particular attention should be shown to:
|
|||
|
||||
1. Copy `/etc/gitlab/gitlab-secrets.json` from the Gitaly client to same path on the Gitaly
|
||||
servers and any other Gitaly clients.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) on Gitaly servers.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) on Gitaly servers.
|
||||
|
||||
- Method 2:
|
||||
|
||||
|
|
@ -1317,7 +1317,7 @@ Particular attention should be shown to:
|
|||
]
|
||||
```
|
||||
|
||||
1. Save the changes to `/etc/gitlab/gitlab.rb` and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure):
|
||||
1. Save the changes to `/etc/gitlab/gitlab.rb` and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation):
|
||||
|
||||
```shell
|
||||
gitlab-ctl reconfigure
|
||||
|
|
@ -1388,7 +1388,7 @@ To get started quickly:
|
|||
```
|
||||
|
||||
1. Save the changes to `/etc/gitlab/gitlab.rb` and
|
||||
[reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure):
|
||||
[reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation):
|
||||
|
||||
```shell
|
||||
gitlab-ctl reconfigure
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ environment variable. To set this in an Omnibus GitLab install:
|
|||
}
|
||||
```
|
||||
|
||||
1. [Reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure) GitLab.
|
||||
1. [Reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation) GitLab.
|
||||
|
||||
### Correlating Git processes with RPCs
|
||||
|
||||
|
|
@ -216,7 +216,7 @@ Confirm the following are all true:
|
|||
To fix this problem, confirm that your [`gitlab-secrets.json` file](configure_gitaly.md#configure-gitaly-servers)
|
||||
on the Gitaly server matches the one on Gitaly client. If it doesn't match,
|
||||
update the secrets file on the Gitaly server to match the Gitaly client, then
|
||||
[reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
[reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
If you've confirmed that your `gitlab-secrets.json` file is the same on all Gitaly servers and clients,
|
||||
the application might be fetching this secret from a different file. Your Gitaly server's
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ For Linux package installations:
|
|||
gitlab_rails['external_diffs_storage_path'] = "/mnt/storage/external-diffs"
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
GitLab then migrates your existing merge request diffs to external storage.
|
||||
|
||||
For self-compiled installations:
|
||||
|
|
@ -83,7 +83,7 @@ For Linux package installations:
|
|||
```
|
||||
|
||||
1. Set [object storage settings](#object-storage-settings).
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
GitLab then migrates your existing merge request diffs to external storage.
|
||||
|
||||
For self-compiled installations:
|
||||
|
|
@ -151,7 +151,7 @@ For Linux package installations:
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
For self-compiled installations:
|
||||
|
||||
|
|
@ -190,7 +190,7 @@ For Linux package installations:
|
|||
gitlab_rails['external_diffs_when'] = 'outdated'
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
For self-compiled installations:
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ hosts or use IP ranges:
|
|||
gitlab_rails['monitoring_whitelist'] = ['127.0.0.0/8', '192.168.0.1']
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure) GitLab for the changes to take effect.
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation) GitLab for the changes to take effect.
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ To enable the GitLab exporter in an Omnibus GitLab instance:
|
|||
gitlab_exporter['enable'] = true
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
Prometheus automatically begins collecting performance data from
|
||||
|
|
@ -49,7 +49,7 @@ To change the Rack server to Puma:
|
|||
gitlab_exporter['server_name'] = 'puma'
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
The supported Rack servers are `webrick` and `puma`.
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ To enable the GitLab Prometheus metrics:
|
|||
1. On the top bar, select **Main menu > Admin**.
|
||||
1. On the left sidebar, select **Settings > Metrics and profiling**.
|
||||
1. Find the **Metrics - Prometheus** section, and select **Enable GitLab Prometheus metrics endpoint**.
|
||||
1. [Restart GitLab](../../restart_gitlab.md#omnibus-gitlab-restart) for the changes to take effect.
|
||||
1. [Restart GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
For installations from source you must configure it yourself.
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ To disable Prometheus and all of its exporters, as well as any added in the futu
|
|||
prometheus_monitoring['enable'] = false
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to
|
||||
take effect.
|
||||
|
||||
### Changing the port and address Prometheus listens on
|
||||
|
|
@ -80,7 +80,7 @@ listens on:
|
|||
prometheus['listen_address'] = '0.0.0.0:9090'
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to
|
||||
take effect
|
||||
|
||||
### Adding custom scrape configurations
|
||||
|
|
@ -158,7 +158,7 @@ The next step is to tell all the other nodes where the monitoring node is:
|
|||
|
||||
Where `10.0.0.1:9090` is the IP address and port of the Prometheus node.
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to
|
||||
take effect.
|
||||
|
||||
After monitoring using Service Discovery is enabled with `consul['monitoring_service_discovery'] = true`,
|
||||
|
|
@ -240,7 +240,7 @@ server IP address to the [monitoring IP allowlist](../ip_allowlist.md):
|
|||
|
||||
1. As we are setting each bundled service's [exporter](#bundled-software-metrics) to listen on a network address,
|
||||
update the firewall on the instance to only allow traffic from your Prometheus IP for the exporters enabled. A full reference list of exporter services and their respective ports can be found [here](../../package_information/defaults.md#ports).
|
||||
1. [Reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure) to apply the changes.
|
||||
1. [Reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation) to apply the changes.
|
||||
1. Edit the Prometheus server's configuration file.
|
||||
1. Add each node's exporters to the Prometheus server's
|
||||
[scrape target configuration](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#%3Cscrape_config%3E).
|
||||
|
|
@ -437,7 +437,7 @@ To disable the monitoring of Kubernetes:
|
|||
prometheus['monitor_kubernetes'] = false
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to
|
||||
take effect.
|
||||
|
||||
## Troubleshooting
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ To enable the node exporter:
|
|||
node_exporter['enable'] = true
|
||||
```
|
||||
|
||||
1. Save the file, and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file, and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
Prometheus begins collecting performance data from the node exporter
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ To enable the PgBouncer exporter:
|
|||
pgbouncer_exporter['enable'] = true
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
Prometheus begins collecting performance data from the PgBouncer exporter
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ To enable the PostgreSQL Server Exporter:
|
|||
address is [listed in `trust_auth_cidr_addresses`](../../postgresql/replication_and_failover.md#network-information) or the
|
||||
exporter can't connect to the database.
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to
|
||||
take effect.
|
||||
|
||||
Prometheus begins collecting performance data from
|
||||
|
|
@ -70,5 +70,5 @@ use the following configuration options:
|
|||
postgres_exporter['sslrootcert'] = 'ssl-root.crt'
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ To enable the Redis exporter:
|
|||
redis_exporter['enable'] = true
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
Prometheus begins collecting performance data from
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ To enable it:
|
|||
registry['debug_addr'] = "localhost:5001" # localhost:5001/metrics
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
Prometheus automatically begins collecting performance data from
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ To enable the dedicated server:
|
|||
to `localhost:8083/metrics`. Refer to the [Adding custom scrape configurations](index.md#adding-custom-scrape-configurations) page
|
||||
for how to configure scraper targets. For external Prometheus setup, refer to
|
||||
[Using an external Prometheus server](index.md#using-an-external-prometheus-server) instead.
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
Metrics can now be served and scraped from `localhost:8083/metrics`.
|
||||
|
|
@ -66,7 +66,7 @@ To serve metrics via HTTPS instead of HTTP, enable TLS in the exporter settings:
|
|||
puma['exporter_tls_key_path'] = "/path/to/private-key.pem"
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
When TLS is enabled, the same `port` and `address` is used as described above.
|
||||
|
|
|
|||
|
|
@ -315,8 +315,7 @@ Bucket encryption with the [Cloud Key Management Service (KMS)](https://cloud.go
|
|||
|
||||
#### GCS example
|
||||
|
||||
For Omnibus installations, this is an example of the `connection` setting
|
||||
in the consolidated form:
|
||||
For Linux Package installations, this is an example of the `connection` setting in the consolidated form:
|
||||
|
||||
```ruby
|
||||
gitlab_rails['object_store']['connection'] = {
|
||||
|
|
@ -376,8 +375,7 @@ The following are the valid connection parameters for Azure. For more informatio
|
|||
| `azure_storage_access_key` | Storage account access key used to access the container. This is typically a secret, 512-bit encryption key encoded in base64. | `czV2OHkvQj9FKEgrTWJRZVRoV21ZcTN0Nnc5eiRDJkYpSkBOY1JmVWpYbjJy\nNHU3eCFBJUQqRy1LYVBkU2dWaw==\n` |
|
||||
| `azure_storage_domain` | Domain name used to contact the Azure Blob Storage API (optional). Defaults to `blob.core.windows.net`. Set this if you are using Azure China, Azure Germany, Azure US Government, or some other custom Azure domain. | `blob.core.windows.net` |
|
||||
|
||||
- For Omnibus installations, this is an example of the `connection` setting
|
||||
in the consolidated form:
|
||||
- For Linux package installations, this is an example of the `connection` setting in the consolidated form:
|
||||
|
||||
```ruby
|
||||
gitlab_rails['object_store']['connection'] = {
|
||||
|
|
@ -388,8 +386,8 @@ The following are the valid connection parameters for Azure. For more informatio
|
|||
}
|
||||
```
|
||||
|
||||
- For source installations, Workhorse also needs to be configured with Azure
|
||||
credentials. This isn't needed in Omnibus installs, because the Workhorse
|
||||
- For self-compiled installations, Workhorse also needs to be configured with Azure
|
||||
credentials. This isn't needed in Linux package installations because the Workhorse
|
||||
settings are populated from the previous settings.
|
||||
|
||||
1. Edit `/home/git/gitlab-workhorse/config.toml` and add or amend the following lines:
|
||||
|
|
@ -738,7 +736,7 @@ Prior to GitLab 13.2:
|
|||
- Object store connection parameters such as passwords and endpoint URLs had to be
|
||||
duplicated for each type.
|
||||
|
||||
For example, an Omnibus GitLab install might have the following configuration:
|
||||
For example, a Linux package installation might have the following configuration:
|
||||
|
||||
```ruby
|
||||
# Original object storage configuration
|
||||
|
|
@ -833,10 +831,9 @@ your object storage provider instead.
|
|||
|
||||
Using separate buckets for each data type is the recommended approach for GitLab.
|
||||
This ensures there are no collisions across the various types of data GitLab stores.
|
||||
There are plans to [enable the use of a single bucket](https://gitlab.com/gitlab-org/gitlab/-/issues/292958)
|
||||
in the future.
|
||||
[Issue 292958](https://gitlab.com/gitlab-org/gitlab/-/issues/292958) proposes to enable the use of a single bucket.
|
||||
|
||||
With Omnibus and source installations it is possible to split a single
|
||||
With Linux package and self-compiled installations, it is possible to split a single
|
||||
real bucket into multiple virtual buckets. If your object storage
|
||||
bucket is called `my-gitlab-objects` you can configure uploads to go
|
||||
into `my-gitlab-objects/uploads`, artifacts into
|
||||
|
|
@ -941,7 +938,7 @@ mismatch` error during an upload.
|
|||
|
||||
When the consolidated form is:
|
||||
|
||||
- Used with an S3-compatible object storage or an istance profile, Workhorse
|
||||
- Used with an S3-compatible object storage or an instance profile, Workhorse
|
||||
uses its internal S3 client which has S3 credentials so that it can compute
|
||||
the `Content-MD5` header. This eliminates the need to compare ETag headers
|
||||
returned from the S3 server.
|
||||
|
|
|
|||
|
|
@ -398,7 +398,7 @@ gitlab_rails['env'] = {
|
|||
For source installations, set the environment variable.
|
||||
Refer to [Puma Worker timeout](../operations/puma.md#change-the-worker-timeout).
|
||||
|
||||
[Reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure) GitLab for the changes to take effect.
|
||||
[Reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation) GitLab for the changes to take effect.
|
||||
|
||||
#### Troubleshooting without affecting other users
|
||||
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ under the `registry_external_url` line, rather than the port listed under
|
|||
registry_nginx['ssl_certificate_key'] = "/path/to/certificate.key"
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
1. Validate using:
|
||||
|
|
@ -226,7 +226,7 @@ Let's assume that you want the container Registry to be accessible at
|
|||
|
||||
The `registry_external_url` is listening on HTTPS.
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
If you have a [wildcard certificate](https://en.wikipedia.org/wiki/Wildcard_certificate), you must specify the path to the
|
||||
certificate in addition to the URL, in this case `/etc/gitlab/gitlab.rb`
|
||||
|
|
@ -272,7 +272,7 @@ Registry application itself.
|
|||
registry['enable'] = false
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
**Installations from source**
|
||||
|
||||
|
|
@ -300,7 +300,7 @@ the Container Registry by themselves, follow the steps below.
|
|||
gitlab_rails['gitlab_default_projects_features_container_registry'] = false
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
**Installations from source**
|
||||
|
||||
|
|
@ -391,7 +391,7 @@ The default location where images are stored in Omnibus, is
|
|||
gitlab_rails['registry_path'] = "/path/to/registry/storage"
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
**Installations from source**
|
||||
|
||||
|
|
@ -490,7 +490,7 @@ To configure the `s3` storage driver in Omnibus:
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
**Installations from source**
|
||||
|
||||
|
|
@ -556,7 +556,7 @@ you can pull from the Container Registry, but you cannot push.
|
|||
|
||||
1. To perform the final data sync,
|
||||
[put the Container Registry in `read-only` mode](#performing-garbage-collection-without-downtime) and
|
||||
[reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
[reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
1. Sync any changes dating from after the initial data load to your S3 bucket, and delete files that exist in the destination bucket but not in the source:
|
||||
|
||||
```shell
|
||||
|
|
@ -586,7 +586,7 @@ you can pull from the Container Registry, but you cannot push.
|
|||
The output of these commands should match, except for the content in the
|
||||
`_uploads` directories and sub-directories.
|
||||
1. Configure your registry to [use the S3 bucket for storage](#use-object-storage).
|
||||
1. For the changes to take effect, set the Registry back to `read-write` mode and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. For the changes to take effect, set the Registry back to `read-write` mode and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
#### Moving to Azure Object Storage
|
||||
|
||||
|
|
@ -654,7 +654,7 @@ However, this behavior is undesirable for registries used by internal hosts that
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
**Installations from source**
|
||||
|
||||
|
|
@ -705,7 +705,7 @@ For Omnibus GitLab installations:
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
For installations from source:
|
||||
|
|
@ -746,7 +746,7 @@ In the examples below we set the Registry's port to `5010`.
|
|||
registry['registry_http_addr'] = "localhost:5010"
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
**Installations from source**
|
||||
|
||||
|
|
@ -850,7 +850,7 @@ You can use GitLab as an auth endpoint with an external container registry.
|
|||
gitlab_rails['registry_port'] = "5005"
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
**Installations from source**
|
||||
|
|
@ -905,7 +905,7 @@ To configure a notification endpoint in Omnibus:
|
|||
]
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
**Installations from source**
|
||||
|
||||
|
|
@ -1449,7 +1449,7 @@ Start with a value between `25000000` (25 MB) and `50000000` (50 MB).
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
**For installations from source**
|
||||
|
||||
|
|
@ -1483,7 +1483,7 @@ You can add a configuration option for backwards compatibility.
|
|||
registry['compatibility_schema1_enabled'] = true
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
**For installations from source**
|
||||
|
||||
|
|
@ -1531,7 +1531,7 @@ and a simple solution would be to enable relative URLs in the Registry.
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
**For installations from source**
|
||||
|
||||
|
|
@ -1559,7 +1559,7 @@ in your `gitlab.rb` configuration.
|
|||
registry['debug_addr'] = "localhost:5001"
|
||||
```
|
||||
|
||||
After adding the setting, [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) to apply the change.
|
||||
After adding the setting, [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) to apply the change.
|
||||
|
||||
Use curl to request debug output from the debug server:
|
||||
|
||||
|
|
@ -1851,7 +1851,7 @@ In this case, follow these steps:
|
|||
gitlab_rails['registry_enabled'] = true
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
1. Try the removal again.
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ correspond to your GitLab installation:
|
|||
gitlab_rails['dependency_proxy_enabled'] = false
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
### Helm chart installations
|
||||
|
|
@ -104,7 +104,7 @@ To change the local storage path:
|
|||
gitlab_rails['dependency_proxy_storage_path'] = "/mnt/dependency_proxy"
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
**Installations from source**
|
||||
|
||||
|
|
@ -156,7 +156,7 @@ This section describes the earlier configuration format. [Migration steps still
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
**Installations from source**
|
||||
|
||||
|
|
@ -266,4 +266,4 @@ The default expiration and the expiration on GitLab.com is 15 minutes.
|
|||
"https_proxy" => "http://USERNAME:PASSWORD@example.com:8080"
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ The Pages daemon doesn't listen to the outside world.
|
|||
pages_external_url "http://pages.example.com" # not a subdomain of external_url
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
Watch the [video tutorial](https://youtu.be/dD8c7WNcc6s) for this configuration.
|
||||
|
||||
|
|
@ -182,7 +182,7 @@ you must also add the full paths as shown below:
|
|||
pages_nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/pages-nginx.key"
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
1. If you're using [Pages Access Control](#access-control), update the redirect URI in the GitLab Pages
|
||||
[System OAuth application](../../integration/oauth_provider.md#create-an-instance-wide-application)
|
||||
to use the HTTPS protocol.
|
||||
|
|
@ -221,13 +221,13 @@ This setup is primarily intended to be used when [installing a GitLab POC on Ama
|
|||
pages_nginx['redirect_http_to_https'] = true
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
### Global settings
|
||||
|
||||
Below is a table of all configuration settings known to Pages in Omnibus GitLab,
|
||||
and what they do. These options can be adjusted in `/etc/gitlab/gitlab.rb`,
|
||||
and take effect after you [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
and take effect after you [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
Most of these settings don't have to be configured manually unless you need more granular
|
||||
control over how the Pages daemon runs and serves content in your environment.
|
||||
|
||||
|
|
@ -343,7 +343,7 @@ world. Custom domains are supported, but no TLS.
|
|||
|
||||
If you don't have IPv6, you can omit the IPv6 address.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
### Custom domains with TLS support
|
||||
|
||||
|
|
@ -385,7 +385,7 @@ then you need to also add the full paths as shown below:
|
|||
gitlab_pages['cert_key'] = "/etc/gitlab/ssl/example.io.key"
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
1. If you're using [Pages Access Control](#access-control), update the redirect URI in the GitLab Pages
|
||||
[System OAuth application](../../integration/oauth_provider.md#create-an-instance-wide-application)
|
||||
to use the HTTPS protocol.
|
||||
|
|
@ -453,7 +453,7 @@ Pages access control is disabled by default. To enable it:
|
|||
gitlab_pages['access_control'] = true
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
1. Users can now configure it in their [projects' settings](../../user/project/pages/pages_access_control.md).
|
||||
|
||||
NOTE:
|
||||
|
|
@ -512,7 +512,7 @@ internet connectivity is gated by a proxy. To use a proxy for GitLab Pages:
|
|||
gitlab_pages['env']['http_proxy'] = 'http://example:8080'
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
### Using a custom Certificate Authority (CA)
|
||||
|
||||
|
|
@ -598,7 +598,7 @@ Follow the steps below to configure verbose logging of GitLab Pages daemon.
|
|||
gitlab_pages['log_verbose'] = true
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
## Propagating the correlation ID
|
||||
|
||||
|
|
@ -617,7 +617,7 @@ To enable the propagation of the correlation ID:
|
|||
gitlab_pages['propagate_correlation_id'] = true
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
## Change storage path
|
||||
|
||||
|
|
@ -632,7 +632,7 @@ are stored.
|
|||
gitlab_rails['pages_path'] = "/mnt/storage/pages"
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
## Configure listener for reverse proxy requests
|
||||
|
||||
|
|
@ -654,7 +654,7 @@ Follow the steps below to configure the proxy listener of GitLab Pages.
|
|||
gitlab_pages['listen_proxy'] = "localhost:10080"
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
## Set global maximum size of each GitLab Pages site **(FREE SELF)**
|
||||
|
||||
|
|
@ -754,7 +754,7 @@ database encryption. Proceed with caution.
|
|||
|
||||
1. Configure [the object storage and migrate pages data to it](#using-object-storage).
|
||||
|
||||
1. [Reconfigure the **GitLab server**](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the
|
||||
1. [Reconfigure the **GitLab server**](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the
|
||||
changes to take effect. The `gitlab-secrets.json` file is now updated with the
|
||||
new configuration.
|
||||
|
||||
|
|
@ -794,7 +794,7 @@ database encryption. Proceed with caution.
|
|||
mv /var/opt/gitlab/gitlab-rails/shared/pages/gitlab-secrets.json /etc/gitlab/gitlab-secrets.json
|
||||
```
|
||||
|
||||
1. [Reconfigure the **Pages server**](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure the **Pages server**](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. On the **GitLab server**, make the following changes to `/etc/gitlab/gitlab.rb`:
|
||||
|
||||
|
|
@ -804,7 +804,7 @@ database encryption. Proceed with caution.
|
|||
pages_nginx['enable'] = false
|
||||
```
|
||||
|
||||
1. [Reconfigure the **GitLab server**](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure the **GitLab server**](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
It's possible to run GitLab Pages on multiple servers if you wish to distribute
|
||||
the load. You can do this through standard load balancing practices such as
|
||||
|
|
@ -853,7 +853,7 @@ To explicitly enable API source:
|
|||
gitlab_pages['domain_config_source'] = "gitlab"
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
Or if you want to use legacy configuration source you can:
|
||||
|
||||
|
|
@ -863,7 +863,7 @@ Or if you want to use legacy configuration source you can:
|
|||
gitlab_pages['domain_config_source'] = "disk"
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
### GitLab API cache configuration
|
||||
|
||||
|
|
@ -960,7 +960,7 @@ In Omnibus installations:
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
1. [Migrate existing Pages deployments to object storage.](#migrate-pages-deployments-to-object-storage)
|
||||
|
|
@ -1102,7 +1102,7 @@ If you use [object storage](#using-object-storage), you can disable local storag
|
|||
gitlab_rails['pages_local_store_enabled'] = false
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
Starting from GitLab 13.12, this setting also disables the [legacy storage](#migrate-legacy-storage-to-zip-storage), so if you were using NFS to serve Pages, you can completely disconnect from it.
|
||||
|
||||
|
|
@ -1176,7 +1176,7 @@ TLS connection-based rate limits are enforced using the following:
|
|||
gitlab_pages['rate_limit_source_ip_burst'] = 600
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
#### Enable HTTP requests rate limits by domain
|
||||
|
||||
|
|
@ -1189,7 +1189,7 @@ TLS connection-based rate limits are enforced using the following:
|
|||
gitlab_pages['rate_limit_domain_burst'] = 5000
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
#### Enable TLS connections rate limits by source-IP
|
||||
|
||||
|
|
@ -1202,7 +1202,7 @@ TLS connection-based rate limits are enforced using the following:
|
|||
gitlab_pages['rate_limit_tls_source_ip_burst'] = 600
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
#### Enable TLS connections rate limits by domain
|
||||
|
||||
|
|
@ -1215,7 +1215,7 @@ TLS connection-based rate limits are enforced using the following:
|
|||
gitlab_pages['rate_limit_tls_domain_burst'] = 5000
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
## Related topics
|
||||
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ To enable disk access:
|
|||
gitlab_pages['enable_disk'] = true
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
## `httprange: new resource 403`
|
||||
|
||||
|
|
@ -275,7 +275,7 @@ To do that:
|
|||
gitlab_pages['use_legacy_storage'] = true
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
## GitLab Pages deploy job fails with error "is not a recognized provider"
|
||||
|
||||
|
|
@ -292,7 +292,7 @@ To fix that:
|
|||
- Configure object storage for your Pages deployments, following the [S3-compatible connection settings](index.md#s3-compatible-connection-settings) guide.
|
||||
- Store your deployments locally, by commenting out that line.
|
||||
|
||||
1. Save the changes you made to your `gitlab.rb` file, then [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the changes you made to your `gitlab.rb` file, then [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
## 404 error `The page you're looking for could not be found`
|
||||
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ nodes for each environment you want to balance:
|
|||
|
||||
These hosts must be reachable on the same port configured with `gitlab_rails['db_port']`.
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
NOTE:
|
||||
Adding the primary to the hosts list is optional, but recommended.
|
||||
|
|
@ -130,7 +130,7 @@ record. For example:
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
| Option | Description | Default |
|
||||
|----------------------|---------------------------------------------------------------------------------------------------|-----------|
|
||||
|
|
|
|||
|
|
@ -328,10 +328,10 @@ consul['configuration'] = {
|
|||
All database nodes use the same configuration. The leader node is not determined in configuration,
|
||||
and there is no additional or different configuration for either leader or replica nodes.
|
||||
|
||||
After the configuration of a node is complete, you must [reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
After the configuration of a node is complete, you must [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
on each node for the changes to take effect.
|
||||
|
||||
Generally, when Consul cluster is ready, the first node that [reconfigures](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
Generally, when Consul cluster is ready, the first node that [reconfigures](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
becomes the leader. You do not need to sequence the nodes reconfiguration. You can run them in parallel or in any order.
|
||||
If you choose an arbitrary order, you do not have any predetermined leader.
|
||||
|
||||
|
|
@ -552,7 +552,7 @@ attributes set, but the following need to be set.
|
|||
gitlab_rails['db_load_balancing'] = { 'hosts' => ['POSTGRESQL_NODE_1', 'POSTGRESQL_NODE_2', 'POSTGRESQL_NODE_3'] }
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
#### Application node post-configuration
|
||||
|
||||
|
|
@ -625,7 +625,7 @@ consul['configuration'] = {
|
|||
consul['monitoring_service_discovery'] = true
|
||||
```
|
||||
|
||||
[Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
[Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
#### Example recommended setup for PgBouncer servers
|
||||
|
||||
|
|
@ -654,7 +654,7 @@ consul['configuration'] = {
|
|||
consul['monitoring_service_discovery'] = true
|
||||
```
|
||||
|
||||
[Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
[Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
#### Internal load balancer setup
|
||||
|
||||
|
|
@ -703,7 +703,7 @@ consul['configuration'] = {
|
|||
consul['monitoring_service_discovery'] = true
|
||||
```
|
||||
|
||||
[Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
[Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
#### Example recommended setup manual steps
|
||||
|
||||
|
|
@ -979,7 +979,7 @@ You can switch an exiting database cluster to use Patroni instead of repmgr with
|
|||
|
||||
1. On the primary node, [configure Patroni](#configuring-patroni-cluster). Remove `repmgr` and any other
|
||||
repmgr-specific configuration. Also remove any configuration that is related to PostgreSQL replication.
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) on the primary node.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) on the primary node.
|
||||
It makes it the leader. You can check this with:
|
||||
|
||||
```shell
|
||||
|
|
@ -1305,7 +1305,7 @@ To fix the problem, add the IP address to `/etc/gitlab/gitlab.rb`.
|
|||
postgresql['trust_auth_cidr_addresses'] = %w(123.123.123.123/32 <other_cidrs>)
|
||||
```
|
||||
|
||||
[Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
[Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
### Reinitialize a replica
|
||||
|
||||
|
|
@ -1426,7 +1426,7 @@ To fix the problem, ensure the loopback interface is included in the CIDR addres
|
|||
postgresql['trust_auth_cidr_addresses'] = %w(<other_cidrs> 127.0.0.1/32)
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. Check that [all the replicas are synchronized](#check-replication-status)
|
||||
|
||||
### Errors in Patroni logs: the requested start point is ahead of the Write Ahead Log (WAL) flush position
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ together with Omnibus GitLab. This is recommended as part of our
|
|||
gitlab_rails['auto_migrate'] = false
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. Note the PostgreSQL node's IP address or hostname, port, and
|
||||
plain text password. These are necessary when configuring the GitLab
|
||||
application servers later.
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@ If you fail to replicate first, you may loose data (unprocessed background jobs)
|
|||
gitlab_rails['auto_migrate'] = false
|
||||
```
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
NOTE:
|
||||
You can specify multiple roles like sentinel and Redis as:
|
||||
|
|
@ -332,7 +332,7 @@ Read more about [roles](https://docs.gitlab.com/omnibus/roles/).
|
|||
gitlab_rails['auto_migrate'] = false
|
||||
```
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. Go through the steps again for all the other replica nodes.
|
||||
|
||||
NOTE:
|
||||
|
|
@ -458,7 +458,7 @@ multiple machines with the Sentinel daemon.
|
|||
|
||||
Only the primary GitLab application server should handle migrations.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. Go through the steps again for all the other Sentinel nodes.
|
||||
|
||||
### Step 4. Configuring the GitLab application
|
||||
|
|
@ -495,7 +495,7 @@ which ideally should not have Redis or Sentinels on it for a HA setup.
|
|||
]
|
||||
```
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
### Step 5. Enable Monitoring
|
||||
|
||||
|
|
@ -576,7 +576,7 @@ sentinel['quorum'] = 2
|
|||
# sentinel['failover_timeout'] = 60000
|
||||
```
|
||||
|
||||
[Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
[Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
### Example configuration for Redis replica 1 and Sentinel 2
|
||||
|
||||
|
|
@ -598,7 +598,7 @@ sentinel['quorum'] = 2
|
|||
# sentinel['failover_timeout'] = 60000
|
||||
```
|
||||
|
||||
[Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
[Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
### Example configuration for Redis replica 2 and Sentinel 3
|
||||
|
||||
|
|
@ -620,7 +620,7 @@ sentinel['quorum'] = 2
|
|||
# sentinel['failover_timeout'] = 60000
|
||||
```
|
||||
|
||||
[Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
[Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
### Example configuration for the GitLab application
|
||||
|
||||
|
|
@ -636,7 +636,7 @@ gitlab_rails['redis_sentinels'] = [
|
|||
]
|
||||
```
|
||||
|
||||
[Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
[Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
## Advanced configuration
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ Omnibus GitLab:
|
|||
gitlab_rails['auto_migrate'] = false
|
||||
```
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. Note the Redis node's IP address or hostname, port, and
|
||||
Redis password. These are necessary when [configuring the GitLab application servers](#set-up-the-gitlab-rails-application-instance).
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ On the instance where GitLab is installed:
|
|||
|
||||
1. Save your changes to `/etc/gitlab/gitlab.rb`.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
|
|
|
|||
|
|
@ -456,7 +456,7 @@ To configure Consul:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Go through the steps again for all the other Consul nodes, and
|
||||
make sure you set up the correct IPs.
|
||||
|
|
@ -656,7 +656,7 @@ For more information, see the various [Patroni replication methods](../postgresq
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
Advanced [configuration options](https://docs.gitlab.com/omnibus/settings/database.html)
|
||||
are supported and can be added if needed.
|
||||
|
|
@ -745,7 +745,7 @@ The following IPs will be used as an example:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
If an error `execute[generate databases.ini]` occurs, this is due to an existing
|
||||
[known issue](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/4713).
|
||||
|
|
@ -758,7 +758,7 @@ The following IPs will be used as an example:
|
|||
gitlab-ctl write-pgpass --host 127.0.0.1 --database pgbouncer --user pgbouncer --hostuser gitlab-consul
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) once again
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) once again
|
||||
to resolve any potential errors from the previous steps.
|
||||
1. Ensure each node is talking to the current primary:
|
||||
|
||||
|
|
@ -919,7 +919,7 @@ a node and change its status from primary to replica (and vice versa).
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
#### Configure the replica Redis Cache nodes
|
||||
|
||||
|
|
@ -992,7 +992,7 @@ a node and change its status from primary to replica (and vice versa).
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. Go through the steps again for all the other replica nodes, and
|
||||
make sure to set up the IPs correctly.
|
||||
|
||||
|
|
@ -1074,7 +1074,7 @@ a node and change its status from primary to replica (and vice versa).
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
#### Configure the replica Redis Persistent nodes
|
||||
|
||||
|
|
@ -1137,7 +1137,7 @@ a node and change its status from primary to replica (and vice versa).
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. Go through the steps again for all the other replica nodes, and
|
||||
make sure to set up the IPs correctly.
|
||||
|
||||
|
|
@ -1256,7 +1256,7 @@ in the second step, do not supply the `EXTERNAL_URL` value.
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Follow the [post configuration](#praefect-postgresql-post-configuration).
|
||||
|
||||
|
|
@ -1488,10 +1488,10 @@ Updates to example must be made at:
|
|||
sudo touch /etc/gitlab/skip-auto-reconfigure
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect and
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect and
|
||||
to run the Praefect database migrations.
|
||||
|
||||
1. On all other Praefect nodes, [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. On all other Praefect nodes, [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
### Configure Gitaly
|
||||
|
||||
|
|
@ -1659,7 +1659,7 @@ Updates to example must be made at:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. Save the file, and then [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file, and then [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
### Gitaly Cluster TLS support
|
||||
|
||||
|
|
@ -1715,7 +1715,7 @@ To configure Praefect with TLS:
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
1. On the Praefect clients (including each Gitaly server), copy the certificates,
|
||||
or their certificate authority, into `/etc/gitlab/trusted-certs`:
|
||||
|
|
@ -1736,7 +1736,7 @@ To configure Praefect with TLS:
|
|||
})
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
<div align="right">
|
||||
<a type="button" class="btn btn-default" href="#setup-components">
|
||||
|
|
@ -1893,7 +1893,7 @@ Updates to example must be made at:
|
|||
Only a single designated node should handle migrations as detailed in the
|
||||
[GitLab Rails post-configuration](#gitlab-rails-post-configuration) section.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
NOTE:
|
||||
If you find that the environment's Sidekiq job processing is slow with long queues,
|
||||
|
|
@ -2057,7 +2057,7 @@ On each node perform the following:
|
|||
Only a single designated node should handle migrations as detailed in the
|
||||
[GitLab Rails post-configuration](#gitlab-rails-post-configuration) section.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. [Enable incremental logging](#enable-incremental-logging).
|
||||
1. Confirm the node can connect to Gitaly:
|
||||
|
||||
|
|
@ -2168,7 +2168,7 @@ To configure the Monitoring node:
|
|||
nginx['enable'] = true
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. In the GitLab UI, set `admin/application_settings/metrics_and_profiling` > Metrics - Grafana to `/-/grafana` to
|
||||
`http[s]://<MONITOR NODE>/-/grafana`
|
||||
|
|
|
|||
|
|
@ -473,7 +473,7 @@ To configure Consul:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Go through the steps again for all the other Consul nodes, and
|
||||
make sure you set up the correct IPs.
|
||||
|
|
@ -673,7 +673,7 @@ For more information, see the various [Patroni replication methods](../postgresq
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
Advanced [configuration options](https://docs.gitlab.com/omnibus/settings/database.html)
|
||||
are supported and can be added if needed.
|
||||
|
|
@ -762,7 +762,7 @@ The following IPs will be used as an example:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
If an error `execute[generate databases.ini]` occurs, this is due to an existing
|
||||
[known issue](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/4713).
|
||||
|
|
@ -775,7 +775,7 @@ The following IPs will be used as an example:
|
|||
gitlab-ctl write-pgpass --host 127.0.0.1 --database pgbouncer --user pgbouncer --hostuser gitlab-consul
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) once again
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) once again
|
||||
to resolve any potential errors from the previous steps.
|
||||
1. Ensure each node is talking to the current primary:
|
||||
|
||||
|
|
@ -935,7 +935,7 @@ a node and change its status from primary to replica (and vice versa).
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
#### Configure the replica Redis Cache nodes
|
||||
|
||||
|
|
@ -1007,7 +1007,7 @@ a node and change its status from primary to replica (and vice versa).
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Go through the steps again for all the other replica nodes, and
|
||||
make sure to set up the IPs correctly.
|
||||
|
|
@ -1089,7 +1089,7 @@ a node and change its status from primary to replica (and vice versa).
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
#### Configure the replica Redis Persistent nodes
|
||||
|
||||
|
|
@ -1155,7 +1155,7 @@ a node and change its status from primary to replica (and vice versa).
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Go through the steps again for all the other replica nodes, and
|
||||
make sure to set up the IPs correctly.
|
||||
|
|
@ -1275,7 +1275,7 @@ in the second step, do not supply the `EXTERNAL_URL` value.
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Follow the [post configuration](#praefect-postgresql-post-configuration).
|
||||
|
||||
|
|
@ -1505,10 +1505,10 @@ the file of the same name on this server. If this is the first Omnibus node you
|
|||
sudo touch /etc/gitlab/skip-auto-reconfigure
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect and
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect and
|
||||
to run the Praefect database migrations.
|
||||
|
||||
1. On all other Praefect nodes, [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. On all other Praefect nodes, [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
### Configure Gitaly
|
||||
|
||||
|
|
@ -1676,7 +1676,7 @@ Updates to example must be made at:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. Save the file, and then [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file, and then [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
### Gitaly Cluster TLS support
|
||||
|
||||
|
|
@ -1732,7 +1732,7 @@ To configure Praefect with TLS:
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
1. On the Praefect clients (including each Gitaly server), copy the certificates,
|
||||
or their certificate authority, into `/etc/gitlab/trusted-certs`:
|
||||
|
|
@ -1753,7 +1753,7 @@ To configure Praefect with TLS:
|
|||
})
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
<div align="right">
|
||||
<a type="button" class="btn btn-default" href="#setup-components">
|
||||
|
|
@ -1910,7 +1910,7 @@ Updates to example must be made at:
|
|||
Only a single designated node should handle migrations as detailed in the
|
||||
[GitLab Rails post-configuration](#gitlab-rails-post-configuration) section.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
NOTE:
|
||||
If you find that the environment's Sidekiq job processing is slow with long queues,
|
||||
|
|
@ -2076,7 +2076,7 @@ On each node perform the following:
|
|||
Only a single designated node should handle migrations as detailed in the
|
||||
[GitLab Rails post-configuration](#gitlab-rails-post-configuration) section.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. [Enable incremental logging](#enable-incremental-logging).
|
||||
1. Confirm the node can connect to Gitaly:
|
||||
|
||||
|
|
@ -2187,7 +2187,7 @@ To configure the Monitoring node:
|
|||
nginx['enable'] = true
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
1. In the GitLab UI, set `admin/application_settings/metrics_and_profiling` > Metrics - Grafana to `/-/grafana` to
|
||||
`http[s]://<MONITOR NODE>/-/grafana`
|
||||
|
||||
|
|
|
|||
|
|
@ -311,7 +311,7 @@ If you use a third party external service:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. Note the PostgreSQL node's IP address or hostname, port, and
|
||||
plain text password. These will be necessary when configuring the
|
||||
[GitLab application server](#configure-gitlab-rails) later.
|
||||
|
|
@ -370,7 +370,7 @@ Omnibus:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Note the Redis node's IP address or hostname, port, and
|
||||
Redis password. These will be necessary when
|
||||
|
|
@ -520,7 +520,7 @@ Updates to example must be made at:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Confirm that Gitaly can perform callbacks to the internal API:
|
||||
- For GitLab 15.3 and later, run `sudo /opt/gitlab/embedded/bin/gitaly check /var/opt/gitlab/gitaly/config.toml`.
|
||||
|
|
@ -583,7 +583,7 @@ To configure Gitaly with TLS:
|
|||
```
|
||||
|
||||
1. Delete `gitaly['listen_addr']` to allow only encrypted connections.
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
<div align="right">
|
||||
<a type="button" class="btn btn-default" href="#setup-components">
|
||||
|
|
@ -729,7 +729,7 @@ On each node perform the following:
|
|||
Only a single designated node should handle migrations as detailed in the
|
||||
[GitLab Rails post-configuration](#gitlab-rails-post-configuration) section.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. [Enable incremental logging](#enable-incremental-logging).
|
||||
1. Run `sudo gitlab-rake gitlab:gitaly:check` to confirm the node can connect to Gitaly.
|
||||
|
||||
|
|
@ -863,7 +863,7 @@ running [Prometheus](../monitoring/prometheus/index.md) and
|
|||
]
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
1. In the GitLab UI, set `admin/application_settings/metrics_and_profiling` > Metrics - Grafana to `/-/grafana` to
|
||||
`http[s]://<MONITOR NODE>/-/grafana`
|
||||
|
||||
|
|
|
|||
|
|
@ -521,7 +521,7 @@ a node and change its status from primary to replica (and vice versa).
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
You can specify multiple roles, like sentinel and Redis, as:
|
||||
`roles ['redis_sentinel_role', 'redis_master_role']`. Read more about
|
||||
|
|
@ -606,7 +606,7 @@ run: redis-exporter: (pid 30075) 76861s; run: log: (pid 29674) 76896s
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. Go through the steps again for all the other replica nodes, and
|
||||
make sure to set up the IPs correctly.
|
||||
|
||||
|
|
@ -742,7 +742,7 @@ To configure the Sentinel:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Go through the steps again for all the other Consul/Sentinel nodes, and
|
||||
make sure you set up the correct IPs.
|
||||
|
|
@ -943,7 +943,7 @@ For more information, see the various [Patroni replication methods](../postgresq
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
Advanced [configuration options](https://docs.gitlab.com/omnibus/settings/database.html)
|
||||
are supported and can be added if needed.
|
||||
|
|
@ -1033,7 +1033,7 @@ The following IPs will be used as an example:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Create a `.pgpass` file so Consul is able to
|
||||
reload PgBouncer. Enter the PgBouncer password twice when asked:
|
||||
|
|
@ -1203,7 +1203,7 @@ in the second step, do not supply the `EXTERNAL_URL` value.
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. Follow the [post configuration](#praefect-postgresql-post-configuration).
|
||||
|
||||
<div align="right">
|
||||
|
|
@ -1432,10 +1432,10 @@ the file of the same name on this server. If this is the first Omnibus node you
|
|||
sudo touch /etc/gitlab/skip-auto-reconfigure
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect and
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect and
|
||||
to run the Praefect database migrations.
|
||||
|
||||
1. On all other Praefect nodes, [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. On all other Praefect nodes, [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
### Configure Gitaly
|
||||
|
||||
|
|
@ -1607,7 +1607,7 @@ Updates to example must be made at:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. Save the file, and then [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file, and then [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
### Gitaly Cluster TLS support
|
||||
|
||||
|
|
@ -1663,7 +1663,7 @@ To configure Praefect with TLS:
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
1. On the Praefect clients (including each Gitaly server), copy the certificates,
|
||||
or their certificate authority, into `/etc/gitlab/trusted-certs`:
|
||||
|
|
@ -1684,7 +1684,7 @@ To configure Praefect with TLS:
|
|||
})
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
<div align="right">
|
||||
<a type="button" class="btn btn-default" href="#setup-components">
|
||||
|
|
@ -1836,7 +1836,7 @@ Updates to example must be made at:
|
|||
Only a single designated node should handle migrations as detailed in the
|
||||
[GitLab Rails post-configuration](#gitlab-rails-post-configuration) section.
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
1. Verify the GitLab services are running:
|
||||
|
||||
|
|
@ -2026,7 +2026,7 @@ On each node perform the following:
|
|||
Only a single designated node should handle migrations as detailed in the
|
||||
[GitLab Rails post-configuration](#gitlab-rails-post-configuration) section.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. [Enable incremental logging](#enable-incremental-logging).
|
||||
1. Run `sudo gitlab-rake gitlab:gitaly:check` to confirm the node can connect to Gitaly.
|
||||
1. Tail the logs to see the requests:
|
||||
|
|
@ -2137,7 +2137,7 @@ running [Prometheus](../monitoring/prometheus/index.md) and
|
|||
nginx['enable'] = true
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
1. In the GitLab UI, set `admin/application_settings/metrics_and_profiling` > Metrics - Grafana to `/-/grafana` to
|
||||
`http[s]://<MONITOR NODE>/-/grafana`.
|
||||
1. Verify the GitLab services are running:
|
||||
|
|
|
|||
|
|
@ -465,7 +465,7 @@ To configure Consul:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Go through the steps again for all the other Consul nodes, and
|
||||
make sure you set up the correct IPs.
|
||||
|
|
@ -666,7 +666,7 @@ For more information, see the various [Patroni replication methods](../postgresq
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
Advanced [configuration options](https://docs.gitlab.com/omnibus/settings/database.html)
|
||||
are supported and can be added if needed.
|
||||
|
|
@ -755,7 +755,7 @@ The following IPs will be used as an example:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
If an error `execute[generate databases.ini]` occurs, this is due to an existing
|
||||
[known issue](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/4713).
|
||||
|
|
@ -768,7 +768,7 @@ The following IPs will be used as an example:
|
|||
gitlab-ctl write-pgpass --host 127.0.0.1 --database pgbouncer --user pgbouncer --hostuser gitlab-consul
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) once again
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) once again
|
||||
to resolve any potential errors from the previous steps.
|
||||
1. Ensure each node is talking to the current primary:
|
||||
|
||||
|
|
@ -929,7 +929,7 @@ a node and change its status from primary to replica (and vice versa).
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
#### Configure the replica Redis Cache nodes
|
||||
|
||||
|
|
@ -1004,7 +1004,7 @@ a node and change its status from primary to replica (and vice versa).
|
|||
server. If this is the first Omnibus node you are configuring then you
|
||||
can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes
|
||||
to take effect.
|
||||
|
||||
1. Go through the steps again for all the other replica nodes, and
|
||||
|
|
@ -1087,7 +1087,7 @@ a node and change its status from primary to replica (and vice versa).
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
#### Configure the replica Redis Persistent nodes
|
||||
|
||||
|
|
@ -1150,7 +1150,7 @@ a node and change its status from primary to replica (and vice versa).
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Go through the steps again for all the other replica nodes, and
|
||||
make sure to set up the IPs correctly.
|
||||
|
|
@ -1269,7 +1269,7 @@ in the second step, do not supply the `EXTERNAL_URL` value.
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Follow the [post configuration](#praefect-postgresql-post-configuration).
|
||||
|
||||
|
|
@ -1501,10 +1501,10 @@ the file of the same name on this server. If this is the first Omnibus node you
|
|||
sudo touch /etc/gitlab/skip-auto-reconfigure
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect and
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect and
|
||||
to run the Praefect database migrations.
|
||||
|
||||
1. On all other Praefect nodes, [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. On all other Praefect nodes, [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
### Configure Gitaly
|
||||
|
||||
|
|
@ -1672,7 +1672,7 @@ Updates to example must be made at:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. Save the file, and then [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file, and then [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
### Gitaly Cluster TLS support
|
||||
|
||||
|
|
@ -1728,7 +1728,7 @@ To configure Praefect with TLS:
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
1. On the Praefect clients (including each Gitaly server), copy the certificates,
|
||||
or their certificate authority, into `/etc/gitlab/trusted-certs`:
|
||||
|
|
@ -1749,7 +1749,7 @@ To configure Praefect with TLS:
|
|||
})
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
<div align="right">
|
||||
<a type="button" class="btn btn-default" href="#setup-components">
|
||||
|
|
@ -1906,7 +1906,7 @@ Updates to example must be made at:
|
|||
Only a single designated node should handle migrations as detailed in the
|
||||
[GitLab Rails post-configuration](#gitlab-rails-post-configuration) section.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
NOTE:
|
||||
If you find that the environment's Sidekiq job processing is slow with long queues,
|
||||
|
|
@ -2075,7 +2075,7 @@ On each node perform the following:
|
|||
Only a single designated node should handle migrations as detailed in the
|
||||
[GitLab Rails post-configuration](#gitlab-rails-post-configuration) section.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. [Enable incremental logging](#enable-incremental-logging).
|
||||
1. Confirm the node can connect to Gitaly:
|
||||
|
||||
|
|
@ -2186,7 +2186,7 @@ To configure the Monitoring node:
|
|||
nginx['enable'] = true
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
1. In the GitLab UI, set `admin/application_settings/metrics_and_profiling` > Metrics - Grafana to `/-/grafana` to
|
||||
`http[s]://<MONITOR NODE>/-/grafana`
|
||||
|
||||
|
|
|
|||
|
|
@ -515,7 +515,7 @@ a node and change its status from primary to replica (and vice versa).
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
You can specify multiple roles, like sentinel and Redis, as:
|
||||
`roles(['redis_sentinel_role', 'redis_master_role'])`. Read more about
|
||||
|
|
@ -600,7 +600,7 @@ run: redis-exporter: (pid 30075) 76861s; run: log: (pid 29674) 76896s
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. Go through the steps again for all the other replica nodes, and
|
||||
make sure to set up the IPs correctly.
|
||||
|
||||
|
|
@ -736,7 +736,7 @@ To configure the Sentinel:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. Go through the steps again for all the other Consul/Sentinel nodes, and
|
||||
make sure you set up the correct IPs.
|
||||
|
||||
|
|
@ -936,7 +936,7 @@ For more information, see the various [Patroni replication methods](../postgresq
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
Advanced [configuration options](https://docs.gitlab.com/omnibus/settings/database.html)
|
||||
are supported and can be added if needed.
|
||||
|
|
@ -1026,7 +1026,7 @@ The following IPs are used as an example:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure Omnibus GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Create a `.pgpass` file so Consul is able to
|
||||
reload PgBouncer. Enter the PgBouncer password twice when asked:
|
||||
|
|
@ -1196,7 +1196,7 @@ in the second step, do not supply the `EXTERNAL_URL` value.
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Follow the [post configuration](#praefect-postgresql-post-configuration).
|
||||
|
||||
|
|
@ -1426,10 +1426,10 @@ the file of the same name on this server. If this is the first Omnibus node you
|
|||
sudo touch /etc/gitlab/skip-auto-reconfigure
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect and
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect and
|
||||
to run the Praefect database migrations.
|
||||
|
||||
1. On all other Praefect nodes, [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. On all other Praefect nodes, [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
### Configure Gitaly
|
||||
|
||||
|
|
@ -1597,7 +1597,7 @@ Updates to example must be made at:
|
|||
1. Copy the `/etc/gitlab/gitlab-secrets.json` file from the first Omnibus node you configured and add or replace
|
||||
the file of the same name on this server. If this is the first Omnibus node you are configuring then you can skip this step.
|
||||
|
||||
1. Save the file, and then [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file, and then [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
### Gitaly Cluster TLS support
|
||||
|
||||
|
|
@ -1653,7 +1653,7 @@ To configure Praefect with TLS:
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
1. On the Praefect clients (including each Gitaly server), copy the certificates,
|
||||
or their certificate authority, into `/etc/gitlab/trusted-certs`:
|
||||
|
|
@ -1674,7 +1674,7 @@ To configure Praefect with TLS:
|
|||
})
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
<div align="right">
|
||||
<a type="button" class="btn btn-default" href="#setup-components">
|
||||
|
|
@ -1825,7 +1825,7 @@ Updates to example must be made at:
|
|||
Only a single designated node should handle migrations as detailed in the
|
||||
[GitLab Rails post-configuration](#gitlab-rails-post-configuration) section.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. Verify the GitLab services are running:
|
||||
|
||||
|
|
@ -2018,7 +2018,7 @@ On each node perform the following:
|
|||
Only a single designated node should handle migrations as detailed in the
|
||||
[GitLab Rails post-configuration](#gitlab-rails-post-configuration) section.
|
||||
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. [Enable incremental logging](#enable-incremental-logging).
|
||||
1. Run `sudo gitlab-rake gitlab:gitaly:check` to confirm the node can connect to Gitaly.
|
||||
1. Tail the logs to see the requests:
|
||||
|
|
@ -2129,7 +2129,7 @@ running [Prometheus](../monitoring/prometheus/index.md) and
|
|||
nginx['enable'] = true
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
1. In the GitLab UI, set `admin/application_settings/metrics_and_profiling` > Metrics - Grafana to `/-/grafana` to
|
||||
`http[s]://<MONITOR NODE>/-/grafana`.
|
||||
1. Verify the GitLab services are running:
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ When enabled, GitLab periodically runs a repository check on all project reposit
|
|||
repositories to detect possible data corruption. A project is checked no more than once per month.
|
||||
Administrators can configure the frequency of repository checks. To edit the frequency:
|
||||
|
||||
- For Omnibus GitLab installations, edit `gitlab_rails['repository_check_worker_cron']` in
|
||||
- For Linux package installations, edit `gitlab_rails['repository_check_worker_cron']` in
|
||||
`/etc/gitlab/gitlab.rb`.
|
||||
- For source-based installations, edit `[gitlab.cron_jobs.repository_check_worker]` in
|
||||
`/home/git/gitlab/config/gitlab.yml`.
|
||||
|
|
@ -59,7 +59,7 @@ You can run [`git fsck`](https://git-scm.com/docs/git-fsck) using the command li
|
|||
[Gitaly servers](gitaly/index.md). To locate the repositories:
|
||||
|
||||
1. Go to the storage location for repositories:
|
||||
- For Omnibus GitLab installations, repositories are stored in the `/var/opt/gitlab/git-data/repositories` directory
|
||||
- For Linux package installations, repositories are stored in the `/var/opt/gitlab/git-data/repositories` directory
|
||||
by default.
|
||||
- For GitLab Helm chart installations, repositories are stored in the `/home/git/repositories` directory inside the
|
||||
Gitaly pod by default.
|
||||
|
|
@ -79,8 +79,8 @@ You can run [`git fsck`](https://git-scm.com/docs/git-fsck) using the command li
|
|||
|
||||
If a repository check fails, locate the error in the [`repocheck.log` file](logs/index.md#repochecklog) on disk at:
|
||||
|
||||
- `/var/log/gitlab/gitlab-rails` for Omnibus GitLab installations.
|
||||
- `/home/git/gitlab/log` for installations from source.
|
||||
- `/var/log/gitlab/gitlab-rails` for Linux package installations.
|
||||
- `/home/git/gitlab/log` for self-compiled installations.
|
||||
- `/var/log/gitlab` in the Sidekiq pod for GitLab Helm chart installations.
|
||||
|
||||
If periodic repository checks cause false alarms, you can clear all repository check states:
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ storage is either:
|
|||
GitLab allows you to define multiple repository storages to distribute the storage load between
|
||||
several mount points. For example:
|
||||
|
||||
- When using Gitaly (Omnibus GitLab-style configuration):
|
||||
- When using Gitaly (Linux package installation-style configuration):
|
||||
|
||||
```ruby
|
||||
git_data_dirs({
|
||||
|
|
@ -27,7 +27,7 @@ several mount points. For example:
|
|||
})
|
||||
```
|
||||
|
||||
- When using direct repository storage (source install-style configuration):
|
||||
- When using direct repository storage (self-compiled installation-style configuration):
|
||||
|
||||
```plaintext
|
||||
default:
|
||||
|
|
@ -51,8 +51,8 @@ configuration option is deprecated in favor of using [Gitaly](gitaly/index.md).
|
|||
To configure repository storage paths:
|
||||
|
||||
1. Edit the necessary configuration files:
|
||||
- `/etc/gitlab/gitlab.rb`, for Omnibus GitLab installations.
|
||||
- `gitlab.yml`, for installations from source.
|
||||
- `/etc/gitlab/gitlab.rb`, for Linux package installations.
|
||||
- `gitlab.yml`, for self-compiled installations.
|
||||
1. Add the required repository storage paths.
|
||||
|
||||
For repository storage paths:
|
||||
|
|
@ -78,15 +78,15 @@ For [backups](../raketasks/backup_restore.md) to work correctly:
|
|||
- The repository storage path cannot be a mount point.
|
||||
- The GitLab user must have correct permissions for the parent directory of the path.
|
||||
|
||||
Omnibus GitLab takes care of these issues for you, but for source installations you should be extra
|
||||
The Linux package takes care of these issues for you but for self-compiled installations, you should be extra
|
||||
careful.
|
||||
|
||||
While restoring a backup, the current contents of `/home/git/repositories` are moved to
|
||||
`/home/git/repositories.old`. If `/home/git/repositories` is a mount point, then `mv` would be
|
||||
moving things between mount points, and problems can occur.
|
||||
|
||||
Ideally, `/home/git` is the mount point, so things remain inside the same mount point. Omnibus
|
||||
GitLab installations guarantee this because they don't specify the full repository path but instead
|
||||
Ideally, `/home/git` is the mount point, so things remain inside the same mount point. Linux package
|
||||
installations guarantee this because they don't specify the full repository path but instead
|
||||
the parent path, but source installations do not.
|
||||
|
||||
### Example configuration
|
||||
|
|
@ -94,14 +94,14 @@ the parent path, but source installations do not.
|
|||
In the examples below, we add two additional repository storage paths configured to two additional
|
||||
mount points.
|
||||
|
||||
For compatibility reasons `gitlab.yml` has a different structure than Omnibus GitLab configuration:
|
||||
For compatibility reasons `gitlab.yml` has a different structure than Linux package installation configuration:
|
||||
|
||||
- In `gitlab.yml`, you indicate the path for the repositories, for example `/home/git/repositories`
|
||||
- In Omnibus GitLab configuration you indicate `git_data_dirs`, which could be `/home/git` for
|
||||
example. Then Omnibus GitLab creates a `repositories` directory under that path to use with
|
||||
- In `gitlab.yml`, you indicate the path for the repositories. For example, `/home/git/repositories`.
|
||||
- In Linux package installation configuration, you indicate `git_data_dirs`, which could be `/home/git` for
|
||||
example. The Linux package installation then creates a `repositories` directory under that path to use with
|
||||
`gitlab.yml`.
|
||||
|
||||
**For installations from source**
|
||||
For self-compiled installations:
|
||||
|
||||
1. Edit `gitlab.yml` and add the storage paths:
|
||||
|
||||
|
|
@ -122,7 +122,7 @@ For compatibility reasons `gitlab.yml` has a different structure than Omnibus Gi
|
|||
|
||||
1. [Configure where new repositories are stored](#configure-where-new-repositories-are-stored).
|
||||
|
||||
**For Omnibus installations**
|
||||
For Linux package installations:
|
||||
|
||||
1. Edit `/etc/gitlab/gitlab.rb` by appending the rest of the paths to the default one:
|
||||
|
||||
|
|
@ -134,12 +134,12 @@ For compatibility reasons `gitlab.yml` has a different structure than Omnibus Gi
|
|||
})
|
||||
```
|
||||
|
||||
1. [Restart GitLab](restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Restart GitLab](restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
1. [Configure where new repositories are stored](#configure-where-new-repositories-are-stored).
|
||||
|
||||
NOTE:
|
||||
Omnibus stores the repositories in a `repositories` subdirectory of the `git-data` directory.
|
||||
Linux package installations store the repositories in a `repositories` subdirectory of the `git-data` directory.
|
||||
|
||||
## Configure where new repositories are stored
|
||||
|
||||
|
|
|
|||
|
|
@ -19,9 +19,8 @@ GitLab can be configured to use one or multiple repository storages. These stora
|
|||
In GitLab:
|
||||
|
||||
- Repository storages are configured in:
|
||||
- `/etc/gitlab/gitlab.rb` by the `git_data_dirs({})` configuration hash for Omnibus GitLab
|
||||
installations.
|
||||
- `gitlab.yml` by the `repositories.storages` key for installations from source.
|
||||
- `/etc/gitlab/gitlab.rb` by the `git_data_dirs({})` configuration hash for Linux package installations.
|
||||
- `gitlab.yml` by the `repositories.storages` key for self-compiled installations.
|
||||
- The `default` repository storage is available in any installations that haven't customized it. By
|
||||
default, it points to a Gitaly node.
|
||||
|
||||
|
|
@ -115,7 +114,7 @@ To look up a project's name using the Rails console:
|
|||
```
|
||||
|
||||
The quoted string in that command is the directory tree you can find on your GitLab server. For
|
||||
example, on a default Omnibus installation this would be `/var/opt/gitlab/git-data/repositories/@hashed/b1/7e/b17ef6d19c7a5b1ee83b907c595526dcb1eb06db8227d650d5dda0a9f4ce8cd9.git`
|
||||
example, on a default Linux package installation this would be `/var/opt/gitlab/git-data/repositories/@hashed/b1/7e/b17ef6d19c7a5b1ee83b907c595526dcb1eb06db8227d650d5dda0a9f4ce8cd9.git`
|
||||
with `.git` from the end of the directory name removed.
|
||||
|
||||
The output includes the project ID and the project name. For example:
|
||||
|
|
@ -126,8 +125,8 @@ The output includes the project ID and the project name. For example:
|
|||
|
||||
To look up a project's name using the `config` file in the `*.git` directory:
|
||||
|
||||
1. Navigate to the to the `*.git` directory. This directory is located in `/var/opt/gitlab/git-data/repositories/@hashed/`, where the first four
|
||||
characters of the hash are the first two directories in the path under `@hashed/`. For example, on a default Omnibus GitLab installation the
|
||||
1. Locate the `*.git` directory. This directory is located in `/var/opt/gitlab/git-data/repositories/@hashed/`, where the first four
|
||||
characters of the hash are the first two directories in the path under `@hashed/`. For example, on a default Linux package installation the
|
||||
`*.git` directory of the hash `b17eb17ef6d19c7a5b1ee83b907c595526dcb1eb06db8227d650d5dda0a9f4ce8cd9` would be
|
||||
`/var/opt/gitlab/git-data/repositories/@hashed/b1/7e/b17ef6d19c7a5b1ee83b907c595526dcb1eb06db8227d650d5dda0a9f4ce8cd9.git`.
|
||||
1. Open the `config` file and locate the `fullpath=` key under `[gitlab]`.
|
||||
|
|
|
|||
|
|
@ -12,12 +12,12 @@ its services.
|
|||
NOTE:
|
||||
A short downtime is expected for all methods.
|
||||
|
||||
## Omnibus installations
|
||||
## Linux package installations
|
||||
|
||||
If you have used the [Omnibus packages](https://about.gitlab.com/install/) to install GitLab,
|
||||
If you have used the [Linux package](https://about.gitlab.com/install/) to install GitLab,
|
||||
you should already have `gitlab-ctl` in your `PATH`.
|
||||
|
||||
`gitlab-ctl` interacts with the Omnibus packages and can be used to restart the
|
||||
`gitlab-ctl` interacts with the Linux package installation and can be used to restart the
|
||||
GitLab Rails application (Puma) as well as the other components, like:
|
||||
|
||||
- GitLab Workhorse
|
||||
|
|
@ -28,10 +28,10 @@ GitLab Rails application (Puma) as well as the other components, like:
|
|||
- [Mailroom](reply_by_email.md)
|
||||
- Logrotate
|
||||
|
||||
### Omnibus GitLab restart
|
||||
### Restart a Linux package installation
|
||||
|
||||
There may be times in the documentation where you are asked to _restart_
|
||||
GitLab. To restart, run the following command:
|
||||
GitLab. To restart a Linux package installation, run:
|
||||
|
||||
```shell
|
||||
sudo gitlab-ctl restart
|
||||
|
|
@ -71,15 +71,14 @@ In that case, you can use `gitlab-ctl kill <service>` to send the `SIGKILL`
|
|||
signal to the service, for example `sidekiq`. After that, a restart should
|
||||
perform fine.
|
||||
|
||||
As a last resort, you can try to
|
||||
[reconfigure GitLab](#omnibus-gitlab-reconfigure) instead.
|
||||
As a last resort, you can try to reconfigure GitLab instead.
|
||||
|
||||
### Omnibus GitLab reconfigure
|
||||
### Reconfigure a Linux package installation
|
||||
|
||||
There may be times in the documentation where you are asked to _reconfigure_
|
||||
GitLab. Remember that this method applies only for the Omnibus packages.
|
||||
GitLab. Remember that this method applies only for Linux package installations.
|
||||
|
||||
Reconfigure Omnibus GitLab with:
|
||||
To reconfigure a Linux package installation, run:
|
||||
|
||||
```shell
|
||||
sudo gitlab-ctl reconfigure
|
||||
|
|
@ -89,10 +88,10 @@ Reconfiguring GitLab should occur in the event that something in its
|
|||
configuration (`/etc/gitlab/gitlab.rb`) has changed.
|
||||
|
||||
When you run `gitlab-ctl reconfigure`, [Chef](https://www.chef.io/products/chef-infra),
|
||||
the underlying configuration management application that powers Omnibus GitLab, runs some checks.
|
||||
the underlying configuration management application that powers Linux package installations, runs some checks.
|
||||
Chef ensures directories, permissions, and services are in place and working.
|
||||
|
||||
Chef also [restarts GitLab components](#how-to-restart-gitlab) if any of their configuration files have changed.
|
||||
Chef also restarts GitLab components if any of their configuration files have changed.
|
||||
|
||||
If you manually edit any files in `/var/opt/gitlab` that are managed by Chef,
|
||||
running `reconfigure` reverts the changes and restarts the services that
|
||||
|
|
|
|||
|
|
@ -278,7 +278,7 @@ To serve metrics via HTTPS instead of HTTP, enable TLS in the exporter settings:
|
|||
sidekiq['exporter_tls_key_path'] = "/path/to/private-key.pem"
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
for the changes to take effect.
|
||||
|
||||
When TLS is enabled, the same `port` and `address` are used as described above.
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ If the Sidekiq routing rules are changed, administrators need to take care with
|
|||
|
||||
1. Listen to both the old and new queues.
|
||||
1. Update the routing rules.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. Run the [Rake tasks for migrating queued and future jobs](#migrate-queued-and-future-jobs).
|
||||
1. Stop listening to the old queues.
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ third parties.
|
|||
gitlab_rails['gitlab_email_smime_ca_certs_file'] = '/etc/gitlab/ssl/gitlab_smime_cas.crt'
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
The key must be readable by the GitLab system user (`git` by default).
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ Prerequisite:
|
|||
gitlab_rails['terraform_state_enabled'] = false
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
**In installations from source:**
|
||||
|
||||
|
|
@ -75,7 +75,7 @@ Terraform state files are stored locally, follow the steps below.
|
|||
gitlab_rails['terraform_state_storage_path'] = "/mnt/storage/terraform_state"
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
**In installations from source:**
|
||||
|
||||
|
|
@ -207,7 +207,7 @@ See [the available connection settings for different providers](object_storage.m
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. [Migrate any existing local states to the object storage](#migrate-to-object-storage)
|
||||
|
||||
**In installations from source:**
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ postgresql['statement_timeout'] = '15s'
|
|||
postgresql['idle_in_transaction_session_timeout'] = '60s'
|
||||
```
|
||||
|
||||
Once saved, [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
Once saved, [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
NOTE:
|
||||
These are Omnibus GitLab settings. If an external database, such as a customer's PostgreSQL installation or Amazon RDS is being used, these values don't get set, and would have to be set externally.
|
||||
|
|
@ -148,7 +148,7 @@ The following advice does not apply in case
|
|||
because the changed timeout might affect more transactions than intended.
|
||||
|
||||
In some situations, it may be desirable to set a different statement timeout
|
||||
without having to [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure),
|
||||
without having to [reconfigure GitLab](../restart_gitlab.md#reconfigure-a-linux-package-installation),
|
||||
which in this case would restart Puma and Sidekiq.
|
||||
|
||||
For example, a backup may fail with the following errors in the output of the
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ _The uploads are stored by default in `/var/opt/gitlab/gitlab-rails/uploads`._
|
|||
|
||||
This setting only applies if you haven't changed the `gitlab_rails['uploads_storage_path']` directory.
|
||||
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
**In installations from source:**
|
||||
|
||||
|
|
@ -110,7 +110,7 @@ _The uploads are stored by default in
|
|||
}
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. Save the file and [reconfigure GitLab](restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
1. Migrate any existing local uploads to the object storage with the [`gitlab:uploads:migrate:all` Rake task](raketasks/uploads/migrate.md).
|
||||
|
||||
**In installations from source:**
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ To disable new users' ability to create top-level groups using the configuration
|
|||
gitlab_rails['gitlab_default_can_create_group'] = false
|
||||
```
|
||||
|
||||
1. [Reconfigure and restart GitLab](restart_gitlab.md#omnibus-installations).
|
||||
1. [Reconfigure and restart GitLab](restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
**Source installations**
|
||||
|
||||
|
|
@ -60,7 +60,7 @@ ability to change their usernames:
|
|||
gitlab_rails['gitlab_username_changing_enabled'] = false
|
||||
```
|
||||
|
||||
1. [Reconfigure and restart GitLab](restart_gitlab.md#omnibus-installations).
|
||||
1. [Reconfigure and restart GitLab](restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
|
||||
**Source installations**
|
||||
|
||||
|
|
|
|||
|
|
@ -1389,6 +1389,8 @@ Parameters:
|
|||
| `confidential_note_events` | boolean | false | Enable notifications for confidential note events |
|
||||
| `deployment_channel` | string | false | The name of the channel to receive deployment events notifications |
|
||||
| `deployment_events` | boolean | false | Enable notifications for deployment events |
|
||||
| `incident_channel` | string | false | The name of the channel to receive incidents events notifications |
|
||||
| `incidents_events` | boolean | false | Enable notifications for incident events |
|
||||
| `issue_channel` | string | false | The name of the channel to receive issues events notifications |
|
||||
| `issues_events` | boolean | false | Enable notifications for issue events |
|
||||
| `job_events` | boolean | false | Enable notifications for job events |
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@ By default, impersonation is enabled. To disable impersonation:
|
|||
gitlab_rails['impersonation_enabled'] = false
|
||||
```
|
||||
|
||||
1. Save the file, and then [reconfigure](../../administration/restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file, and then [reconfigure](../../administration/restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
GitLab for the changes to take effect.
|
||||
|
||||
To re-enable impersonation, remove this configuration, and then reconfigure
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ When you run jobs on SaaS runners on Linux, the runners are on auto-scaled ephem
|
|||
The default region for the VMs is `us-east1`.
|
||||
|
||||
Each VM uses the Google Container-Optimized OS (COS) and the latest version of Docker Engine running the `docker+machine`
|
||||
[executor](https://docs.gitlab.com/runner/executors#docker-machine-executor).
|
||||
[executor](https://docs.gitlab.com/runner/executors/#docker-machine-executor).
|
||||
|
||||
## Machine types available for Linux (x86-64)
|
||||
|
||||
|
|
@ -32,7 +32,7 @@ The machine type and underlying processor type can change. Jobs optimized for a
|
|||
|
||||
## Container images
|
||||
|
||||
As runners on Linux are using the `docker+machine` [executor](https://docs.gitlab.com/runner/executors#docker-machine-executor),
|
||||
As runners on Linux are using the `docker+machine` [executor](https://docs.gitlab.com/runner/executors/#docker-machine-executor),
|
||||
you can choose any container image by defining the [`image`](../../../ci/yaml/index.md#image) in your `.gitlab-ci.yml` file.
|
||||
|
||||
If no image is set, the default is `ruby:3.1`.
|
||||
|
|
|
|||
|
|
@ -60,8 +60,9 @@ To write and test your code, you will use the GitLab Development Kit.
|
|||
consider doing so with an empty rails app and port it to GDK after.
|
||||
|
||||
- To run a pre-configured GDK instance in the cloud, use [GDK with Gitpod](../../integration/gitpod.md).
|
||||
From a project's repository, select the caret (angle-down) next to **Web IDE**,
|
||||
and select **Gitpod** from the list.
|
||||
From a project repository:
|
||||
1. On the top bar, select **Main menu > Projects** and find your project.
|
||||
1. In the upper right, select **Edit > Gitpod**.
|
||||
1. If you want to contribute to the [website](https://about.gitlab.com/) or the [handbook](https://about.gitlab.com/handbook/),
|
||||
go to the footer of any page and select **Edit in Web IDE** to open the [Web IDE](../../user/project/web_ide/index.md).
|
||||
|
||||
|
|
|
|||
|
|
@ -9,54 +9,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
|
|||
This page includes information about how and when to remove or make breaking changes
|
||||
to GitLab features.
|
||||
|
||||
## Terminology
|
||||
|
||||
<!--
|
||||
If updating these definitions, be sure to update them in the handbook as well:
|
||||
https://about.gitlab.com/handbook/product/gitlab-the-product/#definitions
|
||||
-->
|
||||
|
||||
**Deprecation**:
|
||||
|
||||
- Required before ending support for a feature or removing a feature.
|
||||
- Feature not recommended for use.
|
||||
- Development restricted to Priority 1 / Severity 1 bug fixes.
|
||||
- Will be removed in a future major release.
|
||||
- Begins after a deprecation announcement outlining an end-of-support or removal date.
|
||||
- Ends after the end-of-support date or removal date has passed.
|
||||
|
||||
**End of Support**:
|
||||
|
||||
- Optional step before removal.
|
||||
- Feature usage strongly discouraged.
|
||||
- No support or fixes provided.
|
||||
- No longer tested internally.
|
||||
- Will be removed in a future major release.
|
||||
- Begins after an end-of-support date has passed.
|
||||
|
||||
[Announcing an End of Support period](https://about.gitlab.com/handbook/marketing/blog/release-posts/#announcing-an-end-of-support-period)
|
||||
should only be used in special circumstances and is not recommended for general use.
|
||||
Most features should be deprecated and then removed.
|
||||
|
||||
**Removal**:
|
||||
|
||||
- Feature usage impossible.
|
||||
- Feature no longer supported (if End of Support period hasn't already been announced).
|
||||
- Happens in a major release in line with our
|
||||
[semantic versioning policy](../../policy/maintenance.md).
|
||||
- Begins after removal date has passed.
|
||||
|
||||
**Breaking change**:
|
||||
|
||||
A "breaking change" is any change that requires users to make a corresponding change to their code, settings, or workflow. "Users" might be humans, API clients, or even code classes that "use" another class. Examples of breaking changes include:
|
||||
|
||||
- Removing a user-facing feature without a replacement/workaround.
|
||||
- Changing the definition of an existing API (by doing things like re-naming query parameters or changing routes).
|
||||
- Removing a public method from a code class.
|
||||
|
||||
A breaking change can be considered major if it affects many users, or represents a significant change in behavior.
|
||||
|
||||

|
||||
For details about the terms used on this page, see [the terminology](../../update/terminology.md).
|
||||
|
||||
## When can a feature be deprecated?
|
||||
|
||||
|
|
@ -68,6 +21,8 @@ Do not include the deprecation announcement in the merge request that introduces
|
|||
Use a separate MR to create a deprecation entry. For steps to create a deprecation entry, see
|
||||
[Deprecations](https://about.gitlab.com/handbook/marketing/blog/release-posts/#deprecations).
|
||||
|
||||

|
||||
|
||||
## How are Community Contributions to a deprecated feature handled?
|
||||
|
||||
Development on deprecated features is restricted to Priority 1 / Severity 1 bug fixes. Any community contributions to deprecated features are unlikely to be prioritized during milestone planning.
|
||||
|
|
|
|||
|
|
@ -50,9 +50,7 @@ When you are ready to update the documentation:
|
|||
1. In your fork, find the documentation page in the `\doc` directory.
|
||||
1. If you know Git, make your changes and open a merge request.
|
||||
If not, follow these steps:
|
||||
1. In the upper-right corner, select **Edit** if it is visible.
|
||||
If it is not, select the down arrow (**{chevron-lg-down}**) next to
|
||||
**Open in Web IDE** or **Gitpod**, and select **Edit**.
|
||||
1. In the upper right, select **Edit > Edit single file**.
|
||||
1. In the **Commit message** text box, enter a commit message.
|
||||
Use 3-5 words, start with a capital letter, and do not end with a period.
|
||||
1. Select **Commit changes**.
|
||||
|
|
|
|||
|
|
@ -88,6 +88,6 @@ Sign in to the AliCloud platform and create an application on it. AliCloud gener
|
|||
|
||||
1. Save the configuration file.
|
||||
|
||||
1. [Reconfigure GitLab](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
if you installed using Omnibus, or [restart GitLab](../administration/restart_gitlab.md#installations-from-source)
|
||||
1. [Reconfigure GitLab](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
if you installed using the Linux package, or [restart GitLab](../administration/restart_gitlab.md#installations-from-source)
|
||||
if you installed from source.
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ application.
|
|||
|
||||
1. Add the provider configuration:
|
||||
|
||||
For Omnibus GitLab:
|
||||
For Linux package installations:
|
||||
|
||||
```ruby
|
||||
gitlab_rails['omniauth_providers'] = [
|
||||
|
|
@ -65,7 +65,7 @@ application.
|
|||
]
|
||||
```
|
||||
|
||||
For installations from source:
|
||||
For self-compiled installations:
|
||||
|
||||
```yaml
|
||||
- { name: 'auth0',
|
||||
|
|
@ -82,9 +82,9 @@ application.
|
|||
1. Replace `<your_auth0_client_secret>` with the client secret from the Auth0 Console page.
|
||||
1. Replace `<your_auth0_client_secret>` with the domain from the Auth0 Console page.
|
||||
1. Reconfigure or restart GitLab, depending on your installation method:
|
||||
- *If you installed from Omnibus GitLab,*
|
||||
[Reconfigure](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure) GitLab.
|
||||
- *If you installed from source,*
|
||||
- If you installed using the Linux package,
|
||||
[reconfigure GitLab](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
- If you self-compiled your installation,
|
||||
[restart GitLab](../administration/restart_gitlab.md#installations-from-source).
|
||||
|
||||
On the sign-in page there should now be an Auth0 icon below the regular sign-in
|
||||
|
|
|
|||
|
|
@ -315,9 +315,9 @@ Alternatively, add the `User.Read.All` application permission.
|
|||
|
||||
1. Save the configuration file.
|
||||
|
||||
1. [Reconfigure GitLab](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
if you installed using Omnibus, or [restart GitLab](../administration/restart_gitlab.md#installations-from-source)
|
||||
if you installed from source.
|
||||
1. [Reconfigure GitLab](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
if you installed using the Linux package, or [restart GitLab](../administration/restart_gitlab.md#installations-from-source)
|
||||
if you self-compiled your installation.
|
||||
|
||||
1. Refresh the GitLab sign-in page. A Microsoft icon should display below the
|
||||
sign-in form.
|
||||
|
|
|
|||
|
|
@ -110,9 +110,9 @@ you to use.
|
|||
from the Bitbucket application page.
|
||||
|
||||
1. Save the configuration file.
|
||||
1. For the changes to take effect, [reconfigure GitLab](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
if you installed using Omnibus GitLab, or [restart](../administration/restart_gitlab.md#installations-from-source)
|
||||
if you installed from source.
|
||||
1. For the changes to take effect, [reconfigure GitLab](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
if you installed using the Linux package, or [restart](../administration/restart_gitlab.md#installations-from-source)
|
||||
if you self-compiled your installation.
|
||||
|
||||
On the sign-in page there should now be a Bitbucket icon below the regular
|
||||
sign-in form. Select the icon to begin the authentication process. Bitbucket asks
|
||||
|
|
|
|||
|
|
@ -86,6 +86,6 @@ Sign in to DingTalk Open Platform and create an application on it. DingTalk gene
|
|||
|
||||
1. Save the configuration file.
|
||||
|
||||
1. For the changes to take effect, if you installed:
|
||||
- Using Omnibus, [reconfigure GitLab](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
- From source, [restart GitLab](../administration/restart_gitlab.md#installations-from-source).
|
||||
1. For the changes to take effect, if you:
|
||||
- Installed using the Linux package, [reconfigure GitLab](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
- Self-compiled your installation, [restart GitLab](../administration/restart_gitlab.md#installations-from-source).
|
||||
|
|
|
|||
|
|
@ -107,8 +107,8 @@ Facebook. Facebook generates an app ID and secret key for you to use.
|
|||
1. Save the configuration file.
|
||||
|
||||
1. For the changes to take effect:
|
||||
- If you installed via Omnibus, [reconfigure GitLab](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
- If you installed from source, [restart GitLab](../administration/restart_gitlab.md#installations-from-source).
|
||||
- If you installed using the Linux package, [reconfigure GitLab](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
- If you self-compiled your installation, [restart GitLab](../administration/restart_gitlab.md#installations-from-source).
|
||||
|
||||
On the sign in page there should now be a Facebook icon below the regular sign
|
||||
in form. Select the icon to begin the authentication process. Facebook asks the
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ your website could enable the covert redirect attack.
|
|||
]
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
GitLab.
|
||||
|
||||
- **For installations from source**
|
||||
|
|
@ -187,9 +187,9 @@ To fix this issue, you must disable SSL verification:
|
|||
git config --global http.sslVerify false
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
if you installed using Omnibus, or [restart GitLab](../administration/restart_gitlab.md#installations-from-source)
|
||||
if you installed from source.
|
||||
1. [Reconfigure GitLab](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
if you installed using the Linux package, or [restart GitLab](../administration/restart_gitlab.md#installations-from-source)
|
||||
if you self-compiled your installation.
|
||||
|
||||
### Signing in using GitHub Enterprise returns a 500 error
|
||||
|
||||
|
|
|
|||
|
|
@ -111,10 +111,9 @@ GitLab.com generates an application ID and secret key for you to use.
|
|||
1. Change `'YOUR_APP_ID'` to the Application ID from the GitLab.com application page.
|
||||
1. Change `'YOUR_APP_SECRET'` to the secret from the GitLab.com application page.
|
||||
1. Save the configuration file.
|
||||
1. Based on how GitLab was installed, implement these changes by using
|
||||
the appropriate method:
|
||||
- Omnibus GitLab: [reconfigure GitLab](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
- Source: [restart GitLab](../administration/restart_gitlab.md#installations-from-source).
|
||||
1. Implement these changes by using the appropriate method:
|
||||
- For Linux package installations, [reconfigure GitLab](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
- For self-compiled installations, [restart GitLab](../administration/restart_gitlab.md#installations-from-source).
|
||||
|
||||
On the sign-in page, there should now be a GitLab.com icon following the
|
||||
regular sign-in form. Select the icon to begin the authentication process.
|
||||
|
|
|
|||
|
|
@ -59,16 +59,12 @@ GitLab users can then [enable the Gitpod integration for themselves](#enable-git
|
|||
|
||||
You can launch Gitpod directly from GitLab in one of these ways:
|
||||
|
||||
- *From your project's page:*
|
||||
1. Go to your project, then go to the page you want to edit.
|
||||
1. Select the caret (**{chevron-lg-down}**) next to **Web IDE**, and select **Gitpod**
|
||||
from the list:
|
||||
- **From a project repository:**
|
||||
1. On the top bar, select **Main menu > Projects** and find your project.
|
||||
1. In the upper right, select **Edit > Gitpod**.
|
||||
|
||||

|
||||
|
||||
1. Select **Open in Gitpod**.
|
||||
- *From a merge request:*
|
||||
- **From a merge request:**
|
||||
1. Go to your merge request.
|
||||
1. In the upper-right corner, select **Code**, then select **Open in Gitpod**.
|
||||
1. In the upper-right corner, select **Code > Open in Gitpod**.
|
||||
|
||||
Gitpod builds your development environment for your branch.
|
||||
|
|
|
|||
|
|
@ -125,8 +125,8 @@ To see your new project in the list, refresh the page.
|
|||
|
||||
1. Save the configuration file.
|
||||
1. For the changes to take effect:
|
||||
- If you installed via Omnibus, [reconfigure GitLab](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
- If you installed from source, [restart GitLab](../administration/restart_gitlab.md#installations-from-source).
|
||||
- If you installed using the Linux package, [reconfigure GitLab](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
- If you self-compiled your installation, [restart GitLab](../administration/restart_gitlab.md#installations-from-source).
|
||||
|
||||
On the sign in page there should now be a Google icon below the regular sign in
|
||||
form. Select the icon to begin the authentication process. Google asks the
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 25 KiB |
|
|
@ -82,7 +82,7 @@ For source installations, make sure the `kerberos` gem group
|
|||
To avoid GitLab creating users automatically on their first sign in through Kerberos,
|
||||
don't set `kerberos` for `gitlab_rails['omniauth_allow_single_sign_on']`.
|
||||
|
||||
1. [Reconfigure GitLab](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
GitLab now offers the `negotiate` authentication method for signing in and
|
||||
HTTP Git access, enabling Git clients that support this authentication protocol
|
||||
|
|
@ -193,7 +193,7 @@ ignored and an LDAP identity is not linked.
|
|||
gitlab_rails['kerberos_simple_ldap_linking_allowed_realms'] = ['example.com','kerberos.example.com']
|
||||
```
|
||||
|
||||
1. Save the file and [reconfigure](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure)
|
||||
1. Save the file and [reconfigure](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation)
|
||||
GitLab for the changes to take effect.
|
||||
|
||||
---
|
||||
|
|
@ -284,7 +284,7 @@ this can happen in GitLab CI/CD jobs that [authenticate with the CI/CD job token
|
|||
gitlab_rails['kerberos_https'] = true
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
After this change, Git remote URLs have to be updated to
|
||||
`https://gitlab.example.com:8443/mygroup/myproject.git` to use
|
||||
|
|
@ -332,7 +332,7 @@ To disable password-based Kerberos sign-ins, remove the OmniAuth provider
|
|||
]
|
||||
```
|
||||
|
||||
1. [Reconfigure GitLab](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
|
||||
1. [Reconfigure GitLab](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation) for the changes to take effect.
|
||||
|
||||
NOTE:
|
||||
Removing the `kerberos` OmniAuth provider can also resolve a rare
|
||||
|
|
|
|||
|
|
@ -85,8 +85,8 @@ To get the credentials (a pair of Client ID and Client Secret), you must [create
|
|||
1. Save the configuration file.
|
||||
|
||||
1. For the changes to take effect:
|
||||
- If you installed via Omnibus, [reconfigure GitLab](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
- If you installed from source, [restart GitLab](../administration/restart_gitlab.md#installations-from-source).
|
||||
- If you installed using the Linux package, [reconfigure GitLab](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
- If you self-compiled your installation, [restart GitLab](../administration/restart_gitlab.md#installations-from-source).
|
||||
|
||||
On the sign in page, there should now be a Salesforce icon below the regular sign in form.
|
||||
Select the icon to begin the authentication process. Salesforce asks the user to sign in and authorize the GitLab application.
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ To enable Shibboleth:
|
|||
|
||||
If some of your users appear to be authenticated by Shibboleth and Apache, but GitLab rejects their account with a URI that contains "e-mail is invalid" then your Shibboleth Identity Provider or Attribute Authority may be asserting multiple email addresses. In this instance, consider setting the `multi_values` argument to `first`.
|
||||
1. For the changes to take effect:
|
||||
- For Omnibus GitLab, [reconfigure](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure) GitLab.
|
||||
- For installations from source, [restart](../administration/restart_gitlab.md#installations-from-source) GitLab.
|
||||
- For Linux package installations, [reconfigure](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation) GitLab.
|
||||
- For self-compiled installations, [restart](../administration/restart_gitlab.md#installations-from-source) GitLab.
|
||||
|
||||
On the sign in page, there should now be a **Sign in with: Shibboleth** icon below the regular sign-in form. Select the icon to begin the authentication process. You are redirected to the appropriate IdP server for your Shibboleth module configuration. If everything goes well, you are returned to GitLab and signed in.
|
||||
|
|
|
|||
|
|
@ -96,10 +96,9 @@ Twitter. Twitter generates a client ID and secret key for you to use.
|
|||
|
||||
1. Save the configuration file.
|
||||
|
||||
1. For the changes to take effect, if you installed:
|
||||
|
||||
- Using Omnibus, [reconfigure GitLab](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure).
|
||||
- From source, [restart GitLab](../administration/restart_gitlab.md#installations-from-source).
|
||||
1. For the changes to take effect:
|
||||
- For Linux package installations, [reconfigure GitLab](../administration/restart_gitlab.md#reconfigure-a-linux-package-installation).
|
||||
- For self-compiled installations, [restart GitLab](../administration/restart_gitlab.md#installations-from-source).
|
||||
|
||||
On the sign-in page, find the Twitter option below the regular sign-in form. Select the option to begin the authentication process. Twitter asks you to sign in and authorize the GitLab application. After authorization,
|
||||
you are returned to GitLab and signed in.
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue