Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
a8281ac434
commit
b330f7f0bf
158 changed files with 1924 additions and 447 deletions
|
@ -77,15 +77,16 @@ ui-docs-links lint:
|
|||
script:
|
||||
- bundle exec haml-lint -i DocumentationLinks
|
||||
|
||||
docs-lint deprecations:
|
||||
docs-lint deprecations-and-removals:
|
||||
variables:
|
||||
SETUP_DB: "false"
|
||||
extends:
|
||||
- .default-retry
|
||||
- .rails-cache
|
||||
- .default-before_script
|
||||
- .docs:rules:deprecations
|
||||
- .docs:rules:deprecations-and-removals
|
||||
stage: lint
|
||||
needs: []
|
||||
script:
|
||||
- bundle exec rake gitlab:docs:check_deprecations
|
||||
- bundle exec rake gitlab:docs:check_removals
|
||||
|
|
|
@ -171,12 +171,13 @@
|
|||
- ".markdownlint.yml"
|
||||
- "scripts/lint-doc.sh"
|
||||
|
||||
.docs-deprecations-patterns: &docs-deprecations-patterns
|
||||
.docs-deprecations-and-removals-patterns: &docs-deprecations-and-removals-patterns
|
||||
- "doc/update/deprecations.md"
|
||||
- "data/deprecations/*.yml"
|
||||
- "data/deprecations/templates/_deprecation_template.md.erb"
|
||||
- "doc/update/removals.md"
|
||||
- "data/deprecations/**/*"
|
||||
- "data/removals/**/*"
|
||||
- "tooling/docs/**/*"
|
||||
- "lib/tasks/gitlab/docs/compile_deprecations.rake"
|
||||
- "tooling/deprecations/docs.rb"
|
||||
|
||||
.bundler-patterns: &bundler-patterns
|
||||
- '{Gemfile.lock,*/Gemfile.lock,*/*/Gemfile.lock}'
|
||||
|
@ -541,10 +542,10 @@
|
|||
changes: *docs-patterns
|
||||
when: on_success
|
||||
|
||||
.docs:rules:deprecations:
|
||||
.docs:rules:deprecations-and-removals:
|
||||
rules:
|
||||
- <<: *if-default-refs
|
||||
changes: *docs-deprecations-patterns
|
||||
changes: *docs-deprecations-and-removals-patterns
|
||||
|
||||
##################
|
||||
# GraphQL rules #
|
||||
|
|
|
@ -6,7 +6,3 @@ GraphQL/FieldMethod:
|
|||
- app/graphql/types/metrics/dashboards/annotation_type.rb
|
||||
- app/graphql/types/packages/package_details_type.rb
|
||||
- app/graphql/types/project_type.rb
|
||||
- ee/app/graphql/types/dast/profile_type.rb
|
||||
- ee/app/graphql/types/dast_site_validation_type.rb
|
||||
- ee/app/graphql/types/group_release_stats_type.rb
|
||||
- ee/app/graphql/types/incident_management/oncall_rotation_type.rb
|
||||
|
|
1
Gemfile
1
Gemfile
|
@ -149,6 +149,7 @@ gem 'aws-sdk-core', '~> 3'
|
|||
gem 'aws-sdk-cloudformation', '~> 1'
|
||||
gem 'aws-sdk-s3', '~> 1'
|
||||
gem 'faraday_middleware-aws-sigv4', '~>0.3.0'
|
||||
gem 'typhoeus', '~> 1.4.0' # Used with Elasticsearch to support http keep-alive connections
|
||||
|
||||
# Markdown and HTML processing
|
||||
gem 'html-pipeline', '~> 2.13.2'
|
||||
|
|
|
@ -333,6 +333,8 @@ GEM
|
|||
escape_utils (1.2.1)
|
||||
et-orbi (1.2.1)
|
||||
tzinfo
|
||||
ethon (0.15.0)
|
||||
ffi (>= 1.15.0)
|
||||
eventmachine (1.2.7)
|
||||
excon (0.71.1)
|
||||
execjs (2.8.1)
|
||||
|
@ -1311,6 +1313,8 @@ GEM
|
|||
tty-screen (~> 0.8)
|
||||
wisper (~> 2.0)
|
||||
tty-screen (0.8.1)
|
||||
typhoeus (1.4.0)
|
||||
ethon (>= 0.9.0)
|
||||
tzinfo (2.0.4)
|
||||
concurrent-ruby (~> 1.0)
|
||||
u2f (0.2.1)
|
||||
|
@ -1655,6 +1659,7 @@ DEPENDENCIES
|
|||
timecop (~> 0.9.1)
|
||||
toml-rb (~> 2.0)
|
||||
truncato (~> 0.7.11)
|
||||
typhoeus (~> 1.4.0)
|
||||
u2f (~> 0.2.1)
|
||||
undercover (~> 0.4.4)
|
||||
unf (~> 0.1.4)
|
||||
|
|
|
@ -29,7 +29,7 @@ class CopyCodeButton extends HTMLElement {
|
|||
}
|
||||
|
||||
function addCodeButton() {
|
||||
[...document.querySelectorAll('pre.code.js-syntax-highlight')]
|
||||
[...document.querySelectorAll('pre.code.js-syntax-highlight:not(.content-editor-code-block)')]
|
||||
.filter((el) => el.attr('lang') !== 'mermaid')
|
||||
.filter((el) => !el.closest('.js-markdown-code'))
|
||||
.forEach((el) => {
|
||||
|
|
|
@ -106,7 +106,7 @@ export const I18N_AGENT_MODAL = {
|
|||
empty_state: {
|
||||
modalTitle: s__('ClusterAgents|Connect your cluster through the Agent'),
|
||||
modalBody: s__(
|
||||
"ClusterAgents|To install a new agent, first add the agent's configuration file to this repository. %{linkStart}What's the agent's configuration file?%{linkEnd}",
|
||||
"ClusterAgents|To install a new agent, first add the agent's configuration file to this repository. %{linkStart}Learn more about installing GitLab Agent.%{linkEnd}",
|
||||
),
|
||||
enableKasText: s__(
|
||||
"ClusterAgents|Your instance doesn't have the %{linkStart}GitLab Agent Server (KAS)%{linkEnd} set up. Ask a GitLab Administrator to install it.",
|
||||
|
|
|
@ -20,7 +20,7 @@ export default {
|
|||
};
|
||||
</script>
|
||||
<template>
|
||||
<node-view-wrapper class="gl-relative code highlight" as="pre">
|
||||
<node-view-wrapper class="content-editor-code-block gl-relative code highlight" as="pre">
|
||||
<span
|
||||
data-testid="frontmatter-label"
|
||||
class="gl-absolute gl-top-0 gl-right-3"
|
||||
|
|
|
@ -19,7 +19,14 @@ export default CodeBlockLowlight.extend({
|
|||
};
|
||||
},
|
||||
renderHTML({ HTMLAttributes }) {
|
||||
return ['div', ['pre', HTMLAttributes, ['code', {}, 0]]];
|
||||
return [
|
||||
'pre',
|
||||
{
|
||||
...HTMLAttributes,
|
||||
class: `content-editor-code-block ${HTMLAttributes.class}`,
|
||||
},
|
||||
['code', {}, 0],
|
||||
];
|
||||
},
|
||||
}).configure({
|
||||
lowlight,
|
||||
|
|
|
@ -68,15 +68,7 @@ export default {
|
|||
GlModal: GlModalDirective,
|
||||
},
|
||||
mixins: [Tracking.mixin()],
|
||||
inject: [
|
||||
'packageId',
|
||||
'projectName',
|
||||
'canDelete',
|
||||
'svgPath',
|
||||
'npmPath',
|
||||
'projectListUrl',
|
||||
'groupListUrl',
|
||||
],
|
||||
inject: ['packageId', 'svgPath', 'projectListUrl', 'groupListUrl'],
|
||||
trackingActions: {
|
||||
DELETE_PACKAGE_TRACKING_ACTION,
|
||||
REQUEST_DELETE_PACKAGE_TRACKING_ACTION,
|
||||
|
@ -99,7 +91,7 @@ export default {
|
|||
return this.queryVariables;
|
||||
},
|
||||
update(data) {
|
||||
return data.package;
|
||||
return data.package || {};
|
||||
},
|
||||
error(error) {
|
||||
createFlash({
|
||||
|
@ -111,19 +103,22 @@ export default {
|
|||
},
|
||||
},
|
||||
computed: {
|
||||
projectName() {
|
||||
return this.packageEntity.project?.name;
|
||||
},
|
||||
queryVariables() {
|
||||
return {
|
||||
id: convertToGraphQLId('Packages::Package', this.packageId),
|
||||
};
|
||||
},
|
||||
packageFiles() {
|
||||
return this.packageEntity?.packageFiles?.nodes;
|
||||
return this.packageEntity.packageFiles?.nodes;
|
||||
},
|
||||
isLoading() {
|
||||
return this.$apollo.queries.packageEntity.loading;
|
||||
},
|
||||
isValidPackage() {
|
||||
return this.isLoading || Boolean(this.packageEntity?.name);
|
||||
return this.isLoading || Boolean(this.packageEntity.name);
|
||||
},
|
||||
tracking() {
|
||||
return {
|
||||
|
@ -140,7 +135,7 @@ export default {
|
|||
return this.packageEntity.packageType === PACKAGE_TYPE_NUGET;
|
||||
},
|
||||
showFiles() {
|
||||
return this.packageEntity?.packageType !== PACKAGE_TYPE_COMPOSER;
|
||||
return this.packageEntity.packageType !== PACKAGE_TYPE_COMPOSER;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
@ -240,7 +235,7 @@ export default {
|
|||
<package-title :package-entity="packageEntity">
|
||||
<template #delete-button>
|
||||
<gl-button
|
||||
v-if="canDelete"
|
||||
v-if="packageEntity.canDestroy"
|
||||
v-gl-modal="'delete-modal'"
|
||||
variant="danger"
|
||||
category="primary"
|
||||
|
@ -264,6 +259,7 @@ export default {
|
|||
|
||||
<package-files
|
||||
v-if="showFiles"
|
||||
:can-delete="packageEntity.canDestroy"
|
||||
:package-files="packageFiles"
|
||||
@download-file="track($options.trackingActions.PULL_PACKAGE)"
|
||||
@delete-file="handleFileDelete"
|
||||
|
|
|
@ -18,7 +18,7 @@ export default {
|
|||
GlLink,
|
||||
GlSprintf,
|
||||
},
|
||||
inject: ['composerConfigRepositoryName', 'composerPath', 'groupListUrl'],
|
||||
inject: ['groupListUrl'],
|
||||
props: {
|
||||
packageEntity: {
|
||||
type: Object,
|
||||
|
@ -28,7 +28,7 @@ export default {
|
|||
computed: {
|
||||
composerRegistryInclude() {
|
||||
// eslint-disable-next-line @gitlab/require-i18n-strings
|
||||
return `composer config repositories.${this.composerConfigRepositoryName} '{"type": "composer", "url": "${this.composerPath}"}'`;
|
||||
return `composer config repositories.${this.packageEntity.composerConfigRepositoryUrl} '{"type": "composer", "url": "${this.packageEntity.composerUrl}"}'`;
|
||||
},
|
||||
composerPackageInclude() {
|
||||
// eslint-disable-next-line @gitlab/require-i18n-strings
|
||||
|
|
|
@ -18,7 +18,6 @@ export default {
|
|||
GlLink,
|
||||
GlSprintf,
|
||||
},
|
||||
inject: ['conanPath'],
|
||||
props: {
|
||||
packageEntity: {
|
||||
type: Object,
|
||||
|
@ -32,7 +31,7 @@ export default {
|
|||
},
|
||||
conanSetupCommand() {
|
||||
// eslint-disable-next-line @gitlab/require-i18n-strings
|
||||
return `conan remote add gitlab ${this.conanPath}`;
|
||||
return `conan remote add gitlab ${this.packageEntity.conanUrl}`;
|
||||
},
|
||||
},
|
||||
i18n: {
|
||||
|
|
|
@ -24,7 +24,6 @@ export default {
|
|||
GlLink,
|
||||
GlSprintf,
|
||||
},
|
||||
inject: ['mavenPath'],
|
||||
props: {
|
||||
packageEntity: {
|
||||
type: Object,
|
||||
|
@ -37,6 +36,9 @@ export default {
|
|||
};
|
||||
},
|
||||
computed: {
|
||||
mavenUrl() {
|
||||
return this.packageEntity.mavenUrl;
|
||||
},
|
||||
appGroup() {
|
||||
return this.packageEntity.metadata.appGroup;
|
||||
},
|
||||
|
@ -62,19 +64,19 @@ export default {
|
|||
return `<repositories>
|
||||
<repository>
|
||||
<id>gitlab-maven</id>
|
||||
<url>${this.mavenPath}</url>
|
||||
<url>${this.mavenUrl}</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>gitlab-maven</id>
|
||||
<url>${this.mavenPath}</url>
|
||||
<url>${this.mavenUrl}</url>
|
||||
</repository>
|
||||
|
||||
<snapshotRepository>
|
||||
<id>gitlab-maven</id>
|
||||
<url>${this.mavenPath}</url>
|
||||
<url>${this.mavenUrl}</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>`;
|
||||
},
|
||||
|
@ -87,7 +89,7 @@ export default {
|
|||
gradleGroovyAddSourceCommand() {
|
||||
// eslint-disable-next-line @gitlab/require-i18n-strings
|
||||
return `maven {
|
||||
url '${this.mavenPath}'
|
||||
url '${this.mavenUrl}'
|
||||
}`;
|
||||
},
|
||||
|
||||
|
@ -96,7 +98,7 @@ export default {
|
|||
},
|
||||
|
||||
gradleKotlinAddSourceCommand() {
|
||||
return `maven("${this.mavenPath}")`;
|
||||
return `maven("${this.mavenUrl}")`;
|
||||
},
|
||||
showMaven() {
|
||||
return this.instructionType === 'maven';
|
||||
|
|
|
@ -26,7 +26,7 @@ export default {
|
|||
GlSprintf,
|
||||
GlFormRadioGroup,
|
||||
},
|
||||
inject: ['npmPath', 'npmProjectPath'],
|
||||
inject: ['npmPath'],
|
||||
props: {
|
||||
packageEntity: {
|
||||
type: Object,
|
||||
|
@ -66,7 +66,7 @@ export default {
|
|||
npmSetupCommand(type, endpointType) {
|
||||
const scope = this.packageEntity.name.substring(0, this.packageEntity.name.indexOf('/'));
|
||||
const npmPathForEndpoint =
|
||||
endpointType === INSTANCE_PACKAGE_ENDPOINT_TYPE ? this.npmPath : this.npmProjectPath;
|
||||
endpointType === INSTANCE_PACKAGE_ENDPOINT_TYPE ? this.npmPath : this.packageEntity.npmUrl;
|
||||
|
||||
if (type === NPM_PACKAGE_MANAGER) {
|
||||
return `echo ${scope}:registry=${npmPathForEndpoint}/ >> .npmrc`;
|
||||
|
|
|
@ -18,7 +18,6 @@ export default {
|
|||
GlLink,
|
||||
GlSprintf,
|
||||
},
|
||||
inject: ['nugetPath'],
|
||||
props: {
|
||||
packageEntity: {
|
||||
type: Object,
|
||||
|
@ -30,7 +29,7 @@ export default {
|
|||
return `nuget install ${this.packageEntity.name} -Source "GitLab"`;
|
||||
},
|
||||
nugetSetupCommand() {
|
||||
return `nuget source Add -Name "GitLab" -Source "${this.nugetPath}" -UserName <your_username> -Password <your_token>`;
|
||||
return `nuget source Add -Name "GitLab" -Source "${this.packageEntity.nugetUrl}" -UserName <your_username> -Password <your_token>`;
|
||||
},
|
||||
},
|
||||
tracking: {
|
||||
|
|
|
@ -22,8 +22,12 @@ export default {
|
|||
FileSha,
|
||||
},
|
||||
mixins: [Tracking.mixin()],
|
||||
inject: ['canDelete'],
|
||||
props: {
|
||||
canDelete: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false,
|
||||
},
|
||||
packageFiles: {
|
||||
type: Array,
|
||||
required: false,
|
||||
|
|
|
@ -19,7 +19,6 @@ export default {
|
|||
GlLink,
|
||||
GlSprintf,
|
||||
},
|
||||
inject: ['pypiPath', 'pypiSetupPath'],
|
||||
props: {
|
||||
packageEntity: {
|
||||
type: Object,
|
||||
|
@ -29,11 +28,11 @@ export default {
|
|||
computed: {
|
||||
pypiPipCommand() {
|
||||
// eslint-disable-next-line @gitlab/require-i18n-strings
|
||||
return `pip install ${this.packageEntity.name} --extra-index-url ${this.pypiPath}`;
|
||||
return `pip install ${this.packageEntity.name} --extra-index-url ${this.packageEntity.pypiUrl}`;
|
||||
},
|
||||
pypiSetupCommand() {
|
||||
return `[gitlab]
|
||||
repository = ${this.pypiSetupPath}
|
||||
repository = ${this.packageEntity.pypiSetupUrl}
|
||||
username = __token__
|
||||
password = <your personal access token>`;
|
||||
},
|
||||
|
|
|
@ -7,9 +7,19 @@ query getPackageDetails($id: ID!) {
|
|||
createdAt
|
||||
updatedAt
|
||||
status
|
||||
canDestroy
|
||||
npmUrl
|
||||
mavenUrl
|
||||
conanUrl
|
||||
nugetUrl
|
||||
pypiUrl
|
||||
pypiSetupUrl
|
||||
composerUrl
|
||||
composerConfigRepositoryUrl
|
||||
project {
|
||||
id
|
||||
path
|
||||
name
|
||||
}
|
||||
tags(first: 10) {
|
||||
nodes {
|
||||
|
|
|
@ -13,6 +13,7 @@ import * as Sentry from '@sentry/browser';
|
|||
import api from '~/api';
|
||||
import { sprintf, s__, __ } from '~/locale';
|
||||
import SmartVirtualList from '~/vue_shared/components/smart_virtual_list.vue';
|
||||
import Poll from '~/lib/utils/poll';
|
||||
import { EXTENSION_ICON_CLASS, EXTENSION_ICONS } from '../../constants';
|
||||
import StatusIcon from './status_icon.vue';
|
||||
import Actions from './actions.vue';
|
||||
|
@ -132,19 +133,50 @@ export default {
|
|||
|
||||
this.triggerRedisTracking();
|
||||
},
|
||||
initExtensionPolling() {
|
||||
const poll = new Poll({
|
||||
resource: {
|
||||
fetchData: () => this.fetchCollapsedData(this.$props),
|
||||
},
|
||||
method: 'fetchData',
|
||||
successCallback: (data) => {
|
||||
if (Object.keys(data).length > 0) {
|
||||
poll.stop();
|
||||
this.setCollapsedData(data);
|
||||
}
|
||||
},
|
||||
errorCallback: (e) => {
|
||||
poll.stop();
|
||||
|
||||
this.setCollapsedError(e);
|
||||
},
|
||||
});
|
||||
|
||||
poll.makeRequest();
|
||||
},
|
||||
loadCollapsedData() {
|
||||
this.loadingState = LOADING_STATES.collapsedLoading;
|
||||
|
||||
this.fetchCollapsedData(this.$props)
|
||||
.then((data) => {
|
||||
this.collapsedData = data;
|
||||
this.loadingState = null;
|
||||
})
|
||||
.catch((e) => {
|
||||
this.loadingState = LOADING_STATES.collapsedError;
|
||||
if (this.$options.enablePolling) {
|
||||
this.initExtensionPolling();
|
||||
} else {
|
||||
this.fetchCollapsedData(this.$props)
|
||||
.then((data) => {
|
||||
this.setCollapsedData(data);
|
||||
})
|
||||
.catch((e) => {
|
||||
this.setCollapsedError(e);
|
||||
});
|
||||
}
|
||||
},
|
||||
setCollapsedData(data) {
|
||||
this.collapsedData = data;
|
||||
this.loadingState = null;
|
||||
},
|
||||
setCollapsedError(e) {
|
||||
this.loadingState = LOADING_STATES.collapsedError;
|
||||
|
||||
Sentry.captureException(e);
|
||||
});
|
||||
Sentry.captureException(e);
|
||||
},
|
||||
loadAllData() {
|
||||
if (this.hasFullData) return;
|
||||
|
|
|
@ -13,6 +13,7 @@ export const registerExtension = (extension) => {
|
|||
props: extension.props,
|
||||
i18n: extension.i18n,
|
||||
expandEvent: extension.expandEvent,
|
||||
enablePolling: extension.enablePolling,
|
||||
computed: {
|
||||
...Object.keys(extension.computed).reduce(
|
||||
(acc, computedKey) => ({
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import { __, n__, s__, sprintf } from '~/locale';
|
||||
import axios from '~/lib/utils/axios_utils';
|
||||
import Poll from '~/lib/utils/poll';
|
||||
import { EXTENSION_ICONS } from '../../constants';
|
||||
|
||||
export default {
|
||||
name: 'WidgetTerraform',
|
||||
enablePolling: true,
|
||||
i18n: {
|
||||
label: s__('Terraform|Terraform reports'),
|
||||
loading: s__('Terraform|Loading Terraform reports...'),
|
||||
|
@ -81,34 +81,17 @@ export default {
|
|||
},
|
||||
// Custom methods
|
||||
fetchPlans() {
|
||||
return new Promise((resolve) => {
|
||||
const poll = new Poll({
|
||||
resource: {
|
||||
fetchPlans: () => axios.get(this.terraformReportsPath),
|
||||
},
|
||||
data: this.terraformReportsPath,
|
||||
method: 'fetchPlans',
|
||||
successCallback: ({ data }) => {
|
||||
if (Object.keys(data).length > 0) {
|
||||
poll.stop();
|
||||
|
||||
const result = Object.keys(data).map((key) => {
|
||||
return data[key];
|
||||
});
|
||||
|
||||
resolve(result);
|
||||
}
|
||||
},
|
||||
errorCallback: () => {
|
||||
const invalidData = { tf_report_error: 'api_error' };
|
||||
poll.stop();
|
||||
const result = [invalidData];
|
||||
resolve(result);
|
||||
},
|
||||
return axios
|
||||
.get(this.terraformReportsPath)
|
||||
.then(({ data }) => {
|
||||
return Object.keys(data).map((key) => {
|
||||
return data[key];
|
||||
});
|
||||
})
|
||||
.catch(() => {
|
||||
const invalidData = { tf_report_error: 'api_error' };
|
||||
return [invalidData];
|
||||
});
|
||||
|
||||
poll.makeRequest();
|
||||
});
|
||||
},
|
||||
createReportRow(report, iconName) {
|
||||
const addNum = Number(report.create);
|
||||
|
|
|
@ -49,10 +49,6 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
|
|||
push_frontend_feature_flag(:diff_searching_usage_data, @project, default_enabled: :yaml)
|
||||
end
|
||||
|
||||
before_action do
|
||||
push_frontend_feature_flag(:show_relevant_approval_rule_approvers, @project, default_enabled: :yaml)
|
||||
end
|
||||
|
||||
around_action :allow_gitaly_ref_name_caching, only: [:index, :show, :discussions]
|
||||
|
||||
after_action :log_merge_request_show, only: [:show]
|
||||
|
|
|
@ -48,7 +48,7 @@ module NotesHelper
|
|||
data[:note_type] = LegacyDiffNote.name
|
||||
else
|
||||
data[:note_type] = DiffNote.name
|
||||
data[:position] = position.to_json
|
||||
data[:position] = Gitlab::Json.dump(position)
|
||||
end
|
||||
|
||||
data
|
||||
|
|
|
@ -436,6 +436,7 @@ class Project < ApplicationRecord
|
|||
prefix: :import, to: :import_state, allow_nil: true
|
||||
delegate :squash_always?, :squash_never?, :squash_enabled_by_default?, :squash_readonly?, to: :project_setting
|
||||
delegate :squash_option, :squash_option=, to: :project_setting
|
||||
delegate :mr_default_target_self, :mr_default_target_self=, to: :project_setting
|
||||
delegate :previous_default_branch, :previous_default_branch=, to: :project_setting
|
||||
delegate :no_import?, to: :import_state, allow_nil: true
|
||||
delegate :name, to: :owner, allow_nil: true, prefix: true
|
||||
|
|
|
@ -22,6 +22,16 @@ class ProjectSetting < ApplicationRecord
|
|||
def squash_readonly?
|
||||
%w[always never].include?(squash_option)
|
||||
end
|
||||
|
||||
validate :validates_mr_default_target_self
|
||||
|
||||
private
|
||||
|
||||
def validates_mr_default_target_self
|
||||
if mr_default_target_self_changed? && !project.forked?
|
||||
errors.add :mr_default_target_self, _('This setting is allowed for forked projects only')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
ProjectSetting.prepend_mod
|
||||
|
|
|
@ -124,7 +124,8 @@ module Auth
|
|||
type: type,
|
||||
name: path.to_s,
|
||||
actions: authorized_actions,
|
||||
migration_eligible: self.class.migration_eligible(project: requested_project)
|
||||
migration_eligible: self.class.migration_eligible(project: requested_project),
|
||||
cdn_redirect: cdn_redirect
|
||||
}.compact
|
||||
end
|
||||
|
||||
|
@ -150,6 +151,13 @@ module Auth
|
|||
false
|
||||
end
|
||||
|
||||
# This is used to determine whether blob download requests using a given JWT token should be redirected to Google
|
||||
# Cloud CDN or not. The intent is to enable a percentage of time rollout for this new feature on the Container
|
||||
# Registry side. See https://gitlab.com/gitlab-org/gitlab/-/issues/349417 for more details.
|
||||
def cdn_redirect
|
||||
Feature.enabled?(:container_registry_cdn_redirect) || nil
|
||||
end
|
||||
|
||||
##
|
||||
# Because we do not have two way communication with registry yet,
|
||||
# we create a container repository image resource when push to the
|
||||
|
|
|
@ -41,6 +41,8 @@ module Projects
|
|||
|
||||
true
|
||||
rescue StandardError => error
|
||||
context = Gitlab::ApplicationContext.current.merge(project_id: project.id)
|
||||
Gitlab::ErrorTracking.track_exception(error, **context)
|
||||
attempt_rollback(project, error.message)
|
||||
false
|
||||
rescue Exception => error # rubocop:disable Lint/RescueException
|
||||
|
|
|
@ -69,6 +69,8 @@ module Projects
|
|||
new_params[:avatar] = @project.avatar
|
||||
end
|
||||
|
||||
new_params[:mr_default_target_self] = target_mr_default_target_self unless target_mr_default_target_self.nil?
|
||||
|
||||
new_params.merge!(@project.object_pool_params)
|
||||
|
||||
new_params
|
||||
|
@ -127,5 +129,9 @@ module Projects
|
|||
|
||||
Gitlab::VisibilityLevel.closest_allowed_level(target_level)
|
||||
end
|
||||
|
||||
def target_mr_default_target_self
|
||||
@target_mr_default_target_self ||= params[:mr_default_target_self]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -26,12 +26,10 @@
|
|||
= stylesheet_link_tag 'mailers/highlighted_diff_email'
|
||||
|
||||
%table
|
||||
= render partial: "projects/diffs/line",
|
||||
= render partial: "projects/diffs/email_line",
|
||||
collection: discussion.truncated_diff_lines(diff_limit: diff_limit),
|
||||
as: :line,
|
||||
locals: { diff_file: discussion.diff_file,
|
||||
plain: true,
|
||||
email: true }
|
||||
locals: { diff_file: discussion.diff_file }
|
||||
|
||||
%div{ style: note_style }
|
||||
= markdown(note.note, pipeline: :email, author: note.author, current_user: @recipient, issuable_reference_expansion_enabled: true)
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
- blob = diff_file.blob
|
||||
- if blob && blob.readable_text?
|
||||
%table.code.white
|
||||
= render partial: "projects/diffs/line", collection: diff_file.highlighted_diff_lines, as: :line, locals: { diff_file: diff_file, plain: true, email: true }
|
||||
= render partial: "projects/diffs/email_line", collection: diff_file.highlighted_diff_lines, as: :line, locals: { diff_file: diff_file }
|
||||
- else
|
||||
No preview for this file type
|
||||
%br
|
||||
|
|
21
app/views/projects/diffs/_email_line.html.haml
Normal file
21
app/views/projects/diffs/_email_line.html.haml
Normal file
|
@ -0,0 +1,21 @@
|
|||
-# This template is used when rendering diffs in email notifications
|
||||
-# Called inside: app/views/notify/repository_push_email.html.haml
|
||||
-# app/views/notify/_note_email.html.haml
|
||||
|
||||
%tr.line_holder{ class: line.type }
|
||||
- case line.type
|
||||
- when 'match'
|
||||
= diff_match_line line.old_pos, line.new_pos, text: line.text
|
||||
- when 'old-nonewline', 'new-nonewline'
|
||||
%td.old_line.diff-line-num
|
||||
%td.new_line.diff-line-num
|
||||
%td.line_content.match= line.text
|
||||
- else
|
||||
%td.old_line.diff-line-num{ class: line.type, data: { linenumber: line.old_pos } }
|
||||
= diff_link_number(line.type, "new", line.old_pos)
|
||||
|
||||
%td.new_line.diff-line-num{ class: line.type, data: { linenumber: line.new_pos } }
|
||||
= diff_link_number(line.type, "old", line.new_pos)
|
||||
|
||||
%td.line_content{ class: line.type }<
|
||||
%pre= line.rich_text
|
|
@ -1,3 +1,5 @@
|
|||
-# This file is deprecated in favour of inline rendering:
|
||||
-# https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57237
|
||||
- plain = local_assigns.fetch(:plain, false)
|
||||
- discussions = local_assigns.fetch(:discussions, nil)
|
||||
- line_code = diff_file.line_code(line)
|
||||
|
|
|
@ -4,10 +4,38 @@
|
|||
%a.show-suppressed-diff.cursor-pointer.js-show-suppressed-diff= _("Changes suppressed. Click to show.")
|
||||
|
||||
%table.text-file.diff-wrap-lines.code.code-commit.js-syntax-highlight.commit-diff{ data: diff_view_data, class: too_big ? 'hide' : '' }
|
||||
= render partial: "projects/diffs/line",
|
||||
collection: diff_file.highlighted_diff_lines,
|
||||
as: :line,
|
||||
locals: { diff_file: diff_file, discussions: @grouped_diff_discussions }
|
||||
- if Feature.enabled?(:inline_haml_diff_line_rendering, @project, default_enabled: :yaml)
|
||||
- diff_file.highlighted_diff_lines.each do |line|
|
||||
- line_code = diff_file.line_code(line)
|
||||
|
||||
%tr.line_holder{ class: line.type, id: line_code }
|
||||
- case line.type
|
||||
- when 'match'
|
||||
= diff_match_line line.old_pos, line.new_pos, text: line.text
|
||||
- when 'old-nonewline', 'new-nonewline'
|
||||
%td.old_line.diff-line-num
|
||||
%td.new_line.diff-line-num
|
||||
%td.line_content.match= line.text
|
||||
- else
|
||||
%td.old_line.diff-line-num{ class: "#{line.type} js-avatar-container", data: { linenumber: line.old_pos } }
|
||||
= add_diff_note_button(line_code, diff_file.position(line), line.type)
|
||||
%a{ href: "##{line_code}", data: { linenumber: diff_link_number(line.type, "new", line.old_pos) } }
|
||||
|
||||
%td.new_line.diff-line-num{ class: line.type, data: { linenumber: line.new_pos } }
|
||||
%a{ href: "##{line_code}", data: { linenumber: diff_link_number(line.type, "old", line.new_pos) } }
|
||||
|
||||
%td.line_content{ class: line.type }<
|
||||
= diff_line_content(line.rich_text)
|
||||
|
||||
- if line.discussable? && @grouped_diff_discussions.present? && @grouped_diff_discussions[line_code]
|
||||
- line_discussions = @grouped_diff_discussions[line_code]
|
||||
= render "discussions/diff_discussion", discussions: line_discussions, expanded: line_discussions.any?(&:expanded?)
|
||||
|
||||
- else
|
||||
= render partial: "projects/diffs/line",
|
||||
collection: diff_file.highlighted_diff_lines,
|
||||
as: :line,
|
||||
locals: { diff_file: diff_file, discussions: @grouped_diff_discussions }
|
||||
|
||||
- if !diff_file.new_file? && !diff_file.deleted_file? && diff_file.highlighted_diff_lines.any?
|
||||
- last_line = diff_file.highlighted_diff_lines.last
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
name: container_registry_cdn_redirect
|
||||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/77705
|
||||
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/349717
|
||||
milestone: '14.7'
|
||||
type: development
|
||||
group: group::package
|
||||
default_enabled: false
|
|
@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/346879
|
|||
milestone: '14.6'
|
||||
type: development
|
||||
group: group::release
|
||||
default_enabled: false
|
||||
default_enabled: true
|
||||
|
|
8
config/feature_flags/development/dast_api_scanner.yml
Normal file
8
config/feature_flags/development/dast_api_scanner.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
name: dast_api_scanner
|
||||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/73564
|
||||
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/345837
|
||||
milestone: '14.7'
|
||||
type: development
|
||||
group: group::dynamic analysis
|
||||
default_enabled: false
|
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
name: show_relevant_approval_rule_approvers
|
||||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60339
|
||||
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/329153
|
||||
milestone: '13.12'
|
||||
name: inline_haml_diff_line_rendering
|
||||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57237
|
||||
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/330582
|
||||
milestone: '14.7'
|
||||
type: development
|
||||
group: group::source code
|
||||
default_enabled: true
|
||||
default_enabled: false
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
name: use_typhoeus_elasticsearch_adapter
|
||||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/76879
|
||||
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/348607
|
||||
milestone: '14.7'
|
||||
type: development
|
||||
group: group::global search
|
||||
default_enabled: false
|
|
@ -4,7 +4,7 @@ group: none
|
|||
info: "See the Technical Writers assigned to Development Guidelines: https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments-to-development-guidelines"
|
||||
---
|
||||
|
||||
# Deprecated features
|
||||
# Deprecations by milestone
|
||||
|
||||
DISCLAIMER:
|
||||
This page contains information related to upcoming products, features, and functionality.
|
||||
|
@ -38,13 +38,12 @@ For deprecation reviewers (Technical Writers only):
|
|||
<% if milestones.any? -%>
|
||||
<%- milestones.each do |milestone| %>
|
||||
## <%= milestone %>
|
||||
<%- deprecations.select{|d| d["removal_milestone"] == milestone}.each do |deprecation| %>
|
||||
<%- entries.select{|d| d["announcement_milestone"] == milestone}.each do |deprecation| %>
|
||||
### <%= deprecation["name"]%>
|
||||
|
||||
<%= deprecation["body"] -%>
|
||||
|
||||
Announced: <%= deprecation["announcement_date"]%>
|
||||
Planned removal: <%= deprecation["removal_date"]%>
|
||||
Planned removal milestone: <%= deprecation["removal_milestone"]%> (<%= deprecation["removal_date"]%>)
|
||||
<%- end -%>
|
||||
<%- end -%>
|
||||
<%- else -%>
|
||||
|
|
10
data/removals/14_0/14_0-ds-deprecations.yml
Normal file
10
data/removals/14_0/14_0-ds-deprecations.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
- name: "Deprecations for Dependency Scanning"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: nicoleschwartz
|
||||
body: |
|
||||
As mentioned in [13.9](https://about.gitlab.com/releases/2021/02/22/gitlab-13-9-released/#deprecations-for-dependency-scanning) and [this blog post](https://about.gitlab.com/blog/2021/02/08/composition-analysis-14-deprecations-and-removals/) several removals for Dependency Scanning take effect.
|
||||
|
||||
Previously, to exclude a DS analyzer, you needed to remove it from the default list of analyzers, and use that to set the `DS_DEFAULT_ANALYZERS` variable in your project’s CI template. We determined it should be easier to avoid running a particular analyzer without losing the benefit of newly added analyzers. As a result, we ask you to migrate from `DS_DEFAULT_ANALYZERS` to `DS_EXCLUDED_ANALYZERS` when it is available. Read about it in [issue #287691](https://gitlab.com/gitlab-org/gitlab/-/issues/287691).
|
||||
|
||||
Previously, to prevent the Gemnasium analyzers to fetch the advisory database at runtime, you needed to set the `GEMNASIUM_DB_UPDATE` variable. However, this is not documented properly, and its naming is inconsistent with the equivalent `BUNDLER_AUDIT_UPDATE_DISABLED` variable. As a result, we ask you to migrate from `GEMNASIUM_DB_UPDATE` to `GEMNASIUM_UPDATE_DISABLED` when it is available. Read about it in [issue #215483](https://gitlab.com/gitlab-org/gitlab/-/issues/215483).
|
6
data/removals/14_0/14_0-lc-deprecations.yml
Normal file
6
data/removals/14_0/14_0-lc-deprecations.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Removals for License Compliance"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: nicoleschwartz
|
||||
body: |
|
||||
In 13.0, we deprecated the License-Management CI template and renamed it License-Scanning. We have been providing backward compatibility by warning users of the old template to switch. Now in 14.0, we are completely removing the License-Management CI template. Read about it in [issue #216261](https://gitlab.com/gitlab-org/gitlab/-/issues/216261) or [this blog post](https://about.gitlab.com/blog/2021/02/08/composition-analysis-14-deprecations-and-removals/).
|
10
data/removals/14_0/change_default_branch_name_to_main.yml
Normal file
10
data/removals/14_0/change_default_branch_name_to_main.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
- name: "Default branch name for new repositories now `main`"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: sarahwaldner
|
||||
body: |
|
||||
Every Git repository has an initial branch, which is named `master` by default. It's the first branch to be created automatically when you create a new repository. Future [Git versions](https://lore.kernel.org/git/pull.656.v4.git.1593009996.gitgitgadget@gmail.com/) will change the default branch name in Git from `master` to `main`. In coordination with the Git project and the broader community, [GitLab has changed the default branch name](https://gitlab.com/gitlab-org/gitlab/-/issues/223789) for new projects on both our SaaS (GitLab.com) and self-managed offerings starting with GitLab 14.0. This will not affect existing projects.
|
||||
|
||||
GitLab has already introduced changes that allow you to change the default branch name both at the [instance level](https://docs.gitlab.com/ee/user/project/repository/branches/default.html#instance-level-custom-initial-branch-name) (for self-managed users) and at the [group level](https://docs.gitlab.com/ee/user/group/#use-a-custom-name-for-the-initial-branch) (for both SaaS and self-managed users). We encourage you to make use of these features to set default branch names on new projects.
|
||||
|
||||
For more information, check out our [blog post](https://about.gitlab.com/blog/2021/03/10/new-git-default-branch-name/).
|
6
data/removals/14_0/create-code-review-draft-wip.yml
Normal file
6
data/removals/14_0/create-code-review-draft-wip.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "WIP merge requests renamed 'draft merge requests'"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: phikai
|
||||
body: |
|
||||
The WIP (work in progress) status for merge requests signaled to reviewers that the merge request in question wasn't ready to merge. We've renamed the WIP feature to **Draft**, a more inclusive and self-explanatory term. **Draft** clearly communicates the merge request in question isn't ready for review, and makes no assumptions about the progress being made toward it. **Draft** also reduces the cognitive load for new users, non-English speakers, and anyone unfamiliar with the WIP acronym.
|
|
@ -0,0 +1,6 @@
|
|||
- name: "Remove `?w=1` URL parameter to ignore whitespace changes"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: phikai
|
||||
body: |
|
||||
To create a consistent experience for users based on their preferences, support for toggling whitespace changes via URL parameter has been removed in GitLab 14.0.
|
|
@ -0,0 +1,6 @@
|
|||
- name: "`CI_PROJECT_CONFIG_PATH` removed in GitLab 14.0"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: stkerr
|
||||
body: |
|
||||
GitLab 14.0 removes the `CI_PROJECT_CONFIG_PATH` pre-defined project variable in favor of `CI_CONFIG_PATH`, which is functionally the same. If you are using `CI_PROJECT_CONFIG_PATH` in your pipeline configurations, update them to use `CI_CONFIG_PATH` instead.
|
|
@ -0,0 +1,18 @@
|
|||
- name: "New Terraform template version"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0" # example
|
||||
issue_url: ""
|
||||
reporter: nagyv-gitlab
|
||||
body: |
|
||||
As we continuously [develop GitLab's Terraform integrations](https://gitlab.com/gitlab-org/gitlab/-/issues/325312), to minimize customer disruption, we maintain two GitLab CI/CD templates for Terraform:
|
||||
|
||||
- The ["latest version" template](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Terraform.latest.gitlab-ci.yml), which is updated frequently between minor releases of GitLab (such as 13.10, 13.11, etc).
|
||||
- The ["major version" template](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Terraform.gitlab-ci.yml), which is updated only at major releases (such as 13.0, 14.0, etc).
|
||||
|
||||
At every major release of GitLab, the "latest version" template becomes the "major version" template, inheriting the "latest template" setup.
|
||||
As we have added many new features to the Terraform integration, the new setup for the "major version" template can be considered a breaking change.
|
||||
|
||||
The latest template supports the [Terraform Merge Request widget](https://docs.gitlab.com/ee/user/infrastructure/mr_integration.html) and
|
||||
doesn't need additional setup to work with the [GitLab managed Terraform state](https://docs.gitlab.com/ee/user/infrastructure/terraform_state.html).
|
||||
|
||||
To check the new changes, see the [new "major version" template](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Terraform.gitlab-ci.yml).
|
17
data/removals/14_0/deprecation_manage_access_14_0.yml
Normal file
17
data/removals/14_0/deprecation_manage_access_14_0.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
- name: Limit projects returned in `GET /groups/:id/`
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: ogolowisnki
|
||||
issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/257829
|
||||
body: |
|
||||
To improve performance, we are limiting the number of projects returned from the `GET /groups/:id/` API call to 100. A complete list of projects can still be retrieved with the `GET /groups/:id/projects` API call.
|
||||
|
||||
- name: "GitLab OAuth implicit grant deprecation"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: ogolowinski
|
||||
issue_url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/288516'
|
||||
body: |
|
||||
GitLab is deprecating the [OAuth 2 implicit grant flow](https://docs.gitlab.com/ee/api/oauth2.html#implicit-grant-flow) as it has been removed for [OAuth 2.1](https://oauth.net/2.1/).
|
||||
|
||||
Beginning in 14.0, new applications can't be created with the OAuth 2 implicit grant flow. Existing OAuth implicit grant flows are no longer supported in 14.4. Migrate your existing applications to other supported [OAuth2 flows](https://docs.gitlab.com/ee/api/oauth2.html#supported-oauth2-flows) before release 14.4.
|
|
@ -0,0 +1,6 @@
|
|||
- name: "Update CI/CD templates to stop using hardcoded `master`"
|
||||
reporter: dhershkovitch
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
body: |
|
||||
Our CI/CD templates have been updated to no longer use hard-coded references to a `master` branch. In 14.0, they all use a variable that points to your project's configured default branch instead. If your CI/CD pipeline relies on our built-in templates, verify that this change works with your current configuration. For example, if you have a `master` branch and a different default branch, the updates to the templates may cause changes to your pipeline behavior. For more information, [read the issue](https://gitlab.com/gitlab-org/gitlab/-/issues/324131).
|
8
data/removals/14_0/deuley_servicetemplates_removal.yml
Normal file
8
data/removals/14_0/deuley_servicetemplates_removal.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
- name: "Service Templates removed"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: deuley
|
||||
body: |
|
||||
Service Templates are [removed in GitLab 14.0](https://gitlab.com/groups/gitlab-org/-/epics/5672). They were used to apply identical settings to a large number of projects, but they only did so at the time of project creation.
|
||||
|
||||
While they solved part of the problem, _updating_ those values later proved to be a major pain point. [Project Integration Management](https://docs.gitlab.com/ee/user/admin_area/settings/project_integration_management.html) solves this problem by enabling you to create settings at the Group or Instance level, and projects within that namespace inheriting those settings.
|
|
@ -0,0 +1,7 @@
|
|||
- name: "Removal of release description in the Tags API"
|
||||
reporter: kbychu
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
issue_url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/300887'
|
||||
body: |
|
||||
GitLab 14.0 removes support for the release description in the Tags API. You can no longer add a release description when [creating a new tag](https://docs.gitlab.com/ee/api/tags.html#create-a-new-tag). You also can no longer [create](https://docs.gitlab.com/ee/api/tags.html#create-a-new-release) or [update](https://docs.gitlab.com/ee/api/tags.html#update-a-release) a release through the Tags API. Please migrate to use the [Releases API](https://docs.gitlab.com/ee/api/releases/#create-a-release) instead.
|
|
@ -0,0 +1,9 @@
|
|||
- name: "Update Auto Deploy template version"
|
||||
reporter: kbychu
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
issue_url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/300862'
|
||||
body: |
|
||||
In GitLab 14.0, we will update the [Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/stages.html#auto-deploy) CI template to the latest version. This includes new features, bug fixes, and performance improvements with a dependency on the v2 [auto-deploy-image](https://gitlab.com/gitlab-org/cluster-integration/auto-deploy-image). Auto Deploy CI tempalte v1 will is deprecated going forward.
|
||||
|
||||
Since the v1 and v2 versions are not backward-compatible, your project might encounter an unexpected failure if you already have a deployed application. Follow the [upgrade guide](https://docs.gitlab.com/ee/topics/autodevops/upgrading_auto_deploy_dependencies.html#upgrade-guide) to upgrade your environments. You can also start using the latest template today by following the [early adoption guide](https://docs.gitlab.com/ee/topics/autodevops/upgrading_auto_deploy_dependencies.html#early-adopters).
|
|
@ -0,0 +1,7 @@
|
|||
- name: "Remove disk source configuration for GitLab Pages"
|
||||
reporter: kbychu
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
issue_url: 'https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/5993'
|
||||
body: |
|
||||
GitLab Pages [API-based configuration](https://docs.gitlab.com/ee/administration/pages/#gitlab-api-based-configuration) has been available since GitLab 13.0. It replaces the unsupported `disk` source configuration removed in GitLab 14.0, which can no longer be chosen. You should stop using `disk` source configuration, and move to `gitlab` for an API-based configuration. To migrate away from the 'disk' source configuration, set `gitlab_pages['domain_config_source'] = "gitlab"` in your `/etc/gitlab/gitlab.rb` file. We recommend you migrate before updating to GitLab 14.0, to identify and troubleshoot any potential problems before upgrading.
|
|
@ -0,0 +1,7 @@
|
|||
- name: "Legacy feature flags removed"
|
||||
reporter: kbychu
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
issue_url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/254324'
|
||||
body: |
|
||||
Legacy feature flags became read-only in GitLab 13.4. GitLab 14.0 removes support for legacy feature flags, so you must migrate them to the [new version](https://docs.gitlab.com/ee/operations/feature_flags.html). You can do this by first taking a note (screenshot) of the legacy flag, then deleting the flag through the API or UI (you don't need to alter the code), and finally create a new Feature Flag with the same name as the legacy flag you deleted. Also, make sure the strategies and environments match the deleted flag. We created a [video tutorial](https://www.youtube.com/watch?v=CAJY2IGep7Y) to help with this migration.
|
|
@ -0,0 +1,7 @@
|
|||
- name: "Remove redundant timestamp field from DORA metrics API payload"
|
||||
reporter: kbychu
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
issue_url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/325931'
|
||||
body: |
|
||||
The [deployment frequency project-level API](https://docs.gitlab.com/ee/api/dora4_project_analytics.html#list-project-deployment-frequencies) endpoint has been deprecated in favor of the [DORA 4 API](https://docs.gitlab.com/ee/api/dora/metrics.html), which consolidates all the metrics under one API with the specific metric as a required field. As a result, the timestamp field, which doesn't allow adding future extensions and causes performance issues, will be removed. With the old API, an example response would be `{ "2021-03-01": 3, "date": "2021-03-01", "value": 3 }`. The first key/value (`"2021-03-01": 3`) will be removed and replaced by the last two (`"date": "2021-03-01", "value": 3`).
|
11
data/removals/14_0/removal-geo-fdw-settings.yml
Normal file
11
data/removals/14_0/removal-geo-fdw-settings.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
- name: "Geo Foreign Data Wrapper settings removed"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: fzimmer
|
||||
body: |
|
||||
As [announced in GitLab 13.3](https://about.gitlab.com/releases/2020/08/22/gitlab-13-3-released/#geo-foreign-data-wrapper-settings-deprecated), the following configuration settings in `/etc/gitlab/gitlab.rb` have been removed in 14.0:
|
||||
|
||||
- `geo_secondary['db_fdw']`
|
||||
- `geo_postgresql['fdw_external_user']`
|
||||
- `geo_postgresql['fdw_external_password']`
|
||||
- `gitlab-_rails['geo_migrated_local_files_clean_up_worker_cron']`
|
13
data/removals/14_0/removal-graphql-fields.yml
Normal file
13
data/removals/14_0/removal-graphql-fields.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
- name: "Deprecated GraphQL fields have been removed"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: gweaver
|
||||
body: |
|
||||
In accordance with our [GraphQL deprecation and removal process](https://docs.gitlab.com/ee/api/graphql/#deprecation-process), the following fields that were deprecated prior to 13.7 are [fully removed in 14.0](https://gitlab.com/gitlab-org/gitlab/-/issues/267966):
|
||||
|
||||
- `Mutations::Todos::MarkAllDone`, `Mutations::Todos::RestoreMany` - `:updated_ids`
|
||||
- `Mutations::DastScannerProfiles::Create`, `Types::DastScannerProfileType` - `:global_id`
|
||||
- `Types::SnippetType` - `:blob`
|
||||
- `EE::Types::GroupType`, `EE::Types::QueryType` - `:vulnerabilities_count_by_day_and_severity`
|
||||
- `DeprecatedMutations (concern**)` - `AddAwardEmoji`, `RemoveAwardEmoji`, `ToggleAwardEmoji`
|
||||
- `EE::Types::DeprecatedMutations (concern***)` - `Mutations::Pipelines::RunDastScan`, `Mutations::Vulnerabilities::Dismiss`, `Mutations::Vulnerabilities::RevertToDetected`
|
6
data/removals/14_0/removal-legacy-storage.yml
Normal file
6
data/removals/14_0/removal-legacy-storage.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Legacy storage removed"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: fzimmer
|
||||
body: |
|
||||
As [announced in GitLab 13.0](https://about.gitlab.com/releases/2020/05/22/gitlab-13-0-released/#planned-removal-of-legacy-storage-in-14.0), [legacy storage](https://docs.gitlab.com/ee/administration/repository_storage_types.html#legacy-storage) has been removed in GitLab 14.0.
|
13
data/removals/14_0/removal-protect-features.yml
Normal file
13
data/removals/14_0/removal-protect-features.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
- name: Container Scanning Engine Clair
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: sam.white
|
||||
body: |
|
||||
Clair, the default container scanning engine, was deprecated in GitLab 13.9 and is removed from GitLab 14.0 and replaced by Trivy. We advise customers who are customizing variables for their container scanning job to [follow these instructions](https://docs.gitlab.com/ee/user/application_security/container_scanning/#change-scanners) to ensure that their container scanning jobs continue to work.
|
||||
|
||||
- name: Web Application Firewall (WAF)
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: sam.white
|
||||
body: |
|
||||
The Web Application Firewall (WAF) was deprecated in GitLab 13.6 and is removed from GitLab 14.0. The WAF had limitations inherent in the architectural design that made it difficult to meet the requirements traditionally expected of a WAF. By removing the WAF, GitLab is able to focus on improving other areas in the product where more value can be provided to users. Users who currently rely on the WAF can continue to use the free and open source [ModSecurity](https://github.com/SpiderLabs/ModSecurity) project, which is independent from GitLab. Additional details are available in the [deprecation issue](https://gitlab.com/gitlab-org/gitlab/-/issues/271276).
|
|
@ -0,0 +1,10 @@
|
|||
- name: Sidekiq queue selector options no longer accept the 'experimental' prefix
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: smcgivern
|
||||
body: |
|
||||
GitLab supports a [queue selector](https://docs.gitlab.com/ee/administration/operations/extra_sidekiq_processes.html#queue-selector) to run only a subset of background jobs for a given process. When it was introduced, this option had an 'experimental' prefix (`experimental_queue_selector` in Omnibus, `experimentalQueueSelector` in Helm charts).
|
||||
|
||||
As announced in the [13.6 release post](https://about.gitlab.com/releases/2020/11/22/gitlab-13-6-released/#sidekiq-cluster-queue-selector-configuration-option-has-been-renamed), the 'experimental' prefix is no longer supported. Instead, `queue_selector` for Omnibus and `queueSelector` in Helm charts should be used.
|
||||
|
||||
|
6
data/removals/14_0/removal-unicorn.yml
Normal file
6
data/removals/14_0/removal-unicorn.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Unicorn removed in favor of Puma for GitLab self-managed"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: fzimmer
|
||||
body: |
|
||||
[Support for Unicorn](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/6078) has been removed in GitLab 14.0 in favor of Puma. [Puma has a multi-threaded architecture](https://docs.gitlab.com/ee/administration/operations/puma.html) which uses less memory than a multi-process application server like Unicorn. On GitLab.com, we saw a 40% reduction in memory consumption by using Puma.
|
11
data/removals/14_0/removal_ci_project_config_path.yml
Normal file
11
data/removals/14_0/removal_ci_project_config_path.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
- name: "`CI_PROJECT_CONFIG_PATH` variable has been removed"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: stkerr
|
||||
body: |
|
||||
The `CI_PROJECT_CONFIG_PATH` [predefined project variable](https://docs.gitlab.com/ee/ci/variables/predefined_variables.html)
|
||||
has been removed in favor of `CI_CONFIG_PATH`, which is functionally the same.
|
||||
|
||||
If you are using `CI_PROJECT_CONFIG_PATH` in your pipeline configurations,
|
||||
please update them to use `CI_CONFIG_PATH` instead.
|
||||
|
8
data/removals/14_0/removal_enablement_helm2.yml
Normal file
8
data/removals/14_0/removal_enablement_helm2.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
- name: "Helm v2 support"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: joshlambert
|
||||
body: |
|
||||
Helm v2 was [officially deprecated](https://helm.sh/blog/helm-v2-deprecation-timeline/) in November of 2020, with the `stable` repository being [de-listed from the Helm Hub](https://about.gitlab.com/blog/2020/11/09/ensure-auto-devops-work-after-helm-stable-repo/) shortly thereafter. With the release of GitLab 14.0, which will include the 5.0 release of the [GitLab Helm chart](https://docs.gitlab.com/charts/), Helm v2 will no longer be supported.
|
||||
|
||||
Users of the chart should [upgrade to Helm v3](https://helm.sh/docs/topics/v2_v3_migration/) to deploy GitLab 14.0 and later.
|
6
data/removals/14_0/removal_enablement_opensuse_15_1.yml
Normal file
6
data/removals/14_0/removal_enablement_opensuse_15_1.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "OpenSUSE Leap 15.1"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: dorrino
|
||||
body: |
|
||||
Support for [OpenSUSE Leap 15.1 is being deprecated](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/5135). Support for 15.1 will be dropped in 14.0. We are now providing support for openSUSE Leap 15.2 packages.
|
10
data/removals/14_0/removal_enablement_pg11.yml
Normal file
10
data/removals/14_0/removal_enablement_pg11.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
- name: "PostgreSQL 11 support"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: joshlambert
|
||||
body: |
|
||||
PostgreSQL 12 will be the minimum required version in GitLab 14.0. It offers [significant improvements](https://www.postgresql.org/about/news/postgresql-12-released-1976/) to indexing, partitioning, and general performance benefits.
|
||||
|
||||
Starting in GitLab 13.7, all new installations default to version 12. From GitLab 13.8, single-node instances are automatically upgraded as well. If you aren't ready to upgrade, you can [opt out of automatic upgrades](https://docs.gitlab.com/omnibus/settings/database.html#opt-out-of-automatic-postgresql-upgrades).
|
||||
|
||||
|
11
data/removals/14_0/removal_enablement_ubuntu_16.yml
Normal file
11
data/removals/14_0/removal_enablement_ubuntu_16.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
- name: "Ubuntu 16.04 support"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: joshlambert
|
||||
body: |
|
||||
Ubuntu 16.04 [reached end-of-life in April 2021](https://ubuntu.com/about/release-cycle), and no longer receives maintenance updates. We strongly recommend users to upgrade to a newer release, such as 20.04.
|
||||
|
||||
GitLab 13.12 will be the last release with Ubuntu 16.04 support.
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
- name: "Migrate from `SAST_DEFAULT_ANALYZERS` to `SAST_EXCLUDED_ANALYZERS`"
|
||||
reporter: tmccaslin
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
issue_url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/229974'
|
||||
body: |
|
||||
Until GitLab 13.9, if you wanted to avoid running one particular GitLab SAST analyzer, you needed to remove it from the [long string of analyzers in the `SAST.gitlab-ci.yml` file](https://gitlab.com/gitlab-org/gitlab/-/blob/390afc431e7ce1ac253b35beb39f19e49c746bff/lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml#L12) and use that to set the [`SAST_DEFAULT_ANALYZERS`](https://docs.gitlab.com/ee/user/application_security/sast/#docker-images) variable in your project's CI file. If you did this, it would exclude you from future new analyzers because this string hard codes the list of analyzers to execute. We avoid this problem by inverting this variable's logic to exclude, rather than choose default analyzers.
|
||||
Beginning with 13.9, [we migrated](https://gitlab.com/gitlab-org/gitlab/-/blob/14fed7a33bfdbd4663d8928e46002a5ef3e3282c/lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml#L13) to `SAST_EXCLUDED_ANALYZERS` in our `SAST.gitlab-ci.yml` file. We encourage anyone who uses a [customized SAST configuration](https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings) in their project CI file to migrate to this new variable. If you have not overridden `SAST_DEFAULT_ANALYZERS`, no action is needed. The CI/CD variable `SAST_DEFAULT_ANALYZERS` has been removed in GitLab 14.0, which released on June 22, 2021.
|
||||
|
||||
- name: "Remove `secret_detection_default_branch` job"
|
||||
reporter: tmccaslin
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
issue_url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/297269'
|
||||
body: |
|
||||
To ensure Secret Detection was scanning both default branches and feature branches, we introduced two separate secret detection CI jobs (`secret_detection_default_branch` and `secret_detection`) in our managed [`Secret-Detection.gitlab-ci.yml`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Security/Secret-Detection.gitlab-ci.yml) template. These two CI jobs created confusion and complexity in the CI rules logic. This deprecation moves the `rule` logic into the `script` section, which then determines how the `secret_detection` job is run (historic, on a branch, commits, etc).
|
||||
If you override or maintain custom versions of `SAST.gitlab-ci.yml` or `Secret-Detection.gitlab-ci.yml`, you must update your CI templates. We strongly encourage [inheriting and overriding our managed CI templates](https://docs.gitlab.com/ee/user/application_security/secret_detection/#custom-settings-example) to future-proof your CI templates. GitLab 14.0 no longer supports the old `secret_detection_default_branch` job.
|
||||
|
||||
- name: "Remove SAST analyzer `SAST_GOSEC_CONFIG` variable in favor of
|
||||
custom rulesets"
|
||||
reporter: tmccaslin
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
issue_url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/301215'
|
||||
body: |
|
||||
With the release of [SAST Custom Rulesets](https://docs.gitlab.com/ee/user/application_security/sast/#customize-rulesets) in GitLab 13.5 we allow greater flexibility in configuration options for our Go analyzer (GoSec). As a result we no longer plan to support our less flexible [`SAST_GOSEC_CONFIG`](https://docs.gitlab.com/ee/user/application_security/sast/#analyzer-settings) analyzer setting. This variable was deprecated in GitLab 13.10.
|
||||
GitLab 14.0 removes the old `SAST_GOSEC_CONFIG variable`. If you use or override `SAST_GOSEC_CONFIG` in your CI file, update your SAST CI configuration or pin to an older version of the GoSec analyzer. We strongly encourage [inheriting and overriding our managed CI templates](https://docs.gitlab.com/ee/user/application_security/sast/#overriding-sast-jobs) to future-proof your CI templates.
|
||||
|
||||
- name: "Removed Global `SAST_ANALYZER_IMAGE_TAG` in SAST CI template"
|
||||
reporter: tmccaslin
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
issue_url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/301216'
|
||||
body: |
|
||||
With the maturity of GitLab Secure scanning tools, we've needed to add more granularity to our release process. Previously, GitLab shared a major version number for [all analyzers and tools](https://docs.gitlab.com/ee/user/application_security/sast/#supported-languages-and-frameworks). This requires all tools to share a major version, and prevents the use of [semantic version numbering](https://semver.org/). In GitLab 14.0, SAST removes the `SAST_ANALYZER_IMAGE_TAG` global variable in our [managed `SAST.gitlab-ci.yml`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Jobs/SAST.gitlab-ci.yml) CI template, in favor of the analyzer job variable setting the `major.minor` tag in the SAST vendored template.
|
||||
|
||||
Each analyzer job now has a scoped `SAST_ANALYZER_IMAGE_TAG` variable, which will be actively managed by GitLab and set to the `major` tag for the respective analyzer. To pin to a specific version, [change the variable value to the specific version tag](https://docs.gitlab.com/ee/user/application_security/sast/#pinning-to-minor-image-version).
|
||||
If you override or maintain custom versions of `SAST.gitlab-ci.yml`, update your CI templates to stop referencing the global `SAST_ANALYZER_IMAGE_TAG`, and move it to a scoped analyzer job tag. We strongly encourage [inheriting and overriding our managed CI templates](https://docs.gitlab.com/ee/user/application_security/sast/#overriding-sast-jobs) to future-proof your CI templates. This change allows you to more granularly control future analyzer updates with a pinned `major.minor` version.
|
||||
This deprecation and removal changes our [previously announced plan](https://about.gitlab.com/releases/2021/02/22/gitlab-13-9-released/#pin-static-analysis-analyzers-and-tools-to-minor-versions) to pin the Static Analysis tools.
|
7
data/removals/14_0/removal_runner_25555.yml
Normal file
7
data/removals/14_0/removal_runner_25555.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
- name: "Remove off peak time mode configuration for Docker Machine autoscaling"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: deastman
|
||||
body: |
|
||||
In GitLab Runner 13.0, [issue #5069](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/5069), we introduced new timing options for the GitLab Docker Machine executor. In GitLab Runner 14.0, we have removed the old configuration option, [off peak time mode](https://docs.gitlab.com/runner/configuration/autoscale.html#off-peak-time-mode-configuration-deprecated).
|
||||
|
6
data/removals/14_0/removal_runner_26036.yml
Normal file
6
data/removals/14_0/removal_runner_26036.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Remove Ubuntu 19.10 (Eoan Ermine) package"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: deastman
|
||||
body: |
|
||||
Ubuntu 19.10 (Eoan Ermine) reached end of life on Friday, July 17, 2020. In GitLab Runner 14.0, Ubuntu 19.10 (Eoan Ermine) is no longer available from our package distribution. Refer to [issue #26036](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/26036) for details.
|
6
data/removals/14_0/removal_runner_26419.yml
Normal file
6
data/removals/14_0/removal_runner_26419.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Make `pwsh` the default shell for newly-registered Windows Runners"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: deastman
|
||||
body: |
|
||||
In GitLab Runner 13.2, PowerShell Core support was added to the Shell executor. In 14.0, PowerShell Core, `pwsh` is now the default shell for newly-registered Windows runners. Windows `CMD` will still be available as a shell option for Windows runners. Refer to [issue #26419](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/26419) for details.
|
6
data/removals/14_0/removal_runner_4845.yml
Normal file
6
data/removals/14_0/removal_runner_4845.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "GitLab Runner installation to ignore the `skel` directory"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: deastman
|
||||
body: |
|
||||
In GitLab Runner 14.0, the installation process will ignore the `skel` directory by default when creating the user home directory. Refer to [issue #4845](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/4845) for details.
|
6
data/removals/14_0/removal_runner_6413.yml
Normal file
6
data/removals/14_0/removal_runner_6413.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Remove `FF_SHELL_EXECUTOR_USE_LEGACY_PROCESS_KILL` feature flag"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: deastman
|
||||
body: |
|
||||
In [GitLab Runner 13.1](https://docs.gitlab.com/runner/executors/shell.html#gitlab-131-and-later), [issue #3376](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/3376), we introduced `sigterm` and then `sigkill` to a process in the Shell executor. We also introduced a new feature flag, `FF_SHELL_EXECUTOR_USE_LEGACY_PROCESS_KILL`, so you can use the previous process termination sequence. In GitLab Runner 14.0, [issue #6413](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/6413), the feature flag has been removed.
|
26
data/removals/14_0/removals-14-testing-team.yml
Normal file
26
data/removals/14_0/removals-14-testing-team.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
- name: "Default Browser Performance testing job renamed in GitLab 14.0"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: jheimbuck_gl
|
||||
body: |
|
||||
Browser Performance Testing has run in a job named `performance` by default. With the introduction of [Load Performance Testing](https://docs.gitlab.com/ee/user/project/merge_requests/load_performance_testing.html) in GitLab 13.2, this naming could be confusing. To make it clear which job is running [Browser Performance Testing](https://docs.gitlab.com/ee/user/project/merge_requests/browser_performance_testing.html), the default job name is changed from `performance` to `browser_performance` in the template in GitLab 14.0.
|
||||
|
||||
Relevant Issue: [Rename default Browser Performance Testing job](https://gitlab.com/gitlab-org/gitlab/-/issues/225914)
|
||||
- name: "Code Quality RuboCop support changed"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: jheimbuck_gl
|
||||
body: |
|
||||
By default, the Code Quality feature has not provided support for Ruby 2.6+ if you're using the Code Quality template. To better support the latest versions of Ruby, the default RuboCop version is updated to add support for Ruby 2.4 through 3.0. As a result, support for Ruby 2.1, 2.2, and 2.3 is removed. You can re-enable support for older versions by [customizing your configuration](https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html#rubocop-errors).
|
||||
|
||||
Relevant Issue: [Default `codeclimate-rubocop` engine does not support Ruby 2.6+](https://gitlab.com/gitlab-org/ci-cd/codequality/-/issues/28)
|
||||
- name: "Ruby version changed in `Ruby.gitlab-ci.yml`"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: jheimbuck_gl
|
||||
body: |
|
||||
By default, the `Ruby.gitlab-ci.yml` file has included Ruby 2.5.
|
||||
|
||||
To better support the latest versions of Ruby, the template is changed to use `ruby:latest`, which is currently 3.0. To better understand the changes in Ruby 3.0, please reference the [Ruby-lang.org release announcement](https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/).
|
||||
|
||||
Relevant Issue: [Updates Ruby version 2.5 to 3.0](https://gitlab.com/gitlab-org/gitlab/-/issues/329160)
|
6
data/removals/14_0/removals_runner_26651.yml
Normal file
6
data/removals/14_0/removals_runner_26651.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Remove `/usr/lib/gitlab-runner` symlink from package"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: deastman
|
||||
body: |
|
||||
In GitLab Runner 13.3, a symlink was added from `/user/lib/gitlab-runner/gitlab-runner` to `/usr/bin/gitlab-runner`. In 14.0, the symlink has been removed and the runner is now installed in `/usr/bin/gitlab-runner`. Refer to [issue #26651](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/26651) for details.
|
6
data/removals/14_0/removals_runner_26679.yml
Normal file
6
data/removals/14_0/removals_runner_26679.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Remove `FF_RESET_HELPER_IMAGE_ENTRYPOINT` feature flag"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: deastman
|
||||
body: |
|
||||
In 14.0, we have deactivated the `FF_RESET_HELPER_IMAGE_ENTRYPOINT` feature flag. Refer to issue [#26679](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/26679) for details.
|
6
data/removals/14_0/removals_runner_26900.yml
Normal file
6
data/removals/14_0/removals_runner_26900.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Remove success and failure for finished build metric conversion"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: deastman
|
||||
body: |
|
||||
In GitLab Runner 13.5, we introduced `failed` and `success` states for a job. To support Prometheus rules, we chose to convert `success/failure` to `finished` for the metric. In 14.0, the conversion has now been removed. Refer to [issue #26900](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/26900) for details.
|
6
data/removals/14_0/removals_runner_27175.yml
Normal file
6
data/removals/14_0/removals_runner_27175.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Remove `FF_USE_GO_CLOUD_WITH_CACHE_ARCHIVER` feature flag"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: deastman
|
||||
body: |
|
||||
GitLab Runner 14.0 removes the `FF_USE_GO_CLOUD_WITH_CACHE_ARCHIVER` feature flag. Refer to [issue #27175](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27175) for details.
|
6
data/removals/14_0/removals_runner_27218.yml
Normal file
6
data/removals/14_0/removals_runner_27218.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "GitLab Runner helper image in GitLab.com Container Registry"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: deastman
|
||||
body: |
|
||||
In 14.0, we are now pulling the GitLab Runner [helper image](https://docs.gitlab.com/runner/configuration/advanced-configuration.html#helper-image) from the GitLab Container Registry instead of Docker Hub. Refer to [issue #27218](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27218) for details.
|
6
data/removals/14_0/removals_runner_27551.yml
Normal file
6
data/removals/14_0/removals_runner_27551.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Remove support for Windows Server 1903 image"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: deastman
|
||||
body: |
|
||||
In 14.0, we have removed Windows Server 1903. Microsoft ended support for this version on 2020-08-12. Refer to [issue #27551](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27551) for details.
|
6
data/removals/14_0/removals_runner_27899.yml
Normal file
6
data/removals/14_0/removals_runner_27899.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Remove support for Windows Server 1909 image"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: deastman
|
||||
body: |
|
||||
In 14.0, we have removed Windows Server 1909. Microsoft ended support for this version on 2021-05-11. Refer to [issue #27899](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27899) for details.
|
9
data/removals/14_0/remove-sql-elector.yml
Normal file
9
data/removals/14_0/remove-sql-elector.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
- name: "Gitaly Cluster SQL primary elector has been removed"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: mjwood
|
||||
body: |
|
||||
Now that Praefect supports a [primary election strategy](https://docs.gitlab.com/ee/administration/gitaly/praefect.html#repository-specific-primary-nodes) for each repository, we have removed the `sql` election strategy.
|
||||
The `per_repository` election strategy is the new default, which is automatically used if no election strategy was specified.
|
||||
|
||||
If you had configured the `sql` election strategy, you must follow the [migration instructions](https://docs.gitlab.com/ee/administration/gitaly/praefect.html#migrate-to-repository-specific-primary-gitaly-nodes) before upgrading to 14.0.
|
15
data/removals/14_0/remove_dast_env_variables.yml
Normal file
15
data/removals/14_0/remove_dast_env_variables.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
- name: "DAST environment variable renaming and removal"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: derekferguson
|
||||
body: |
|
||||
GitLab 13.8 renamed multiple environment variables to support their broader usage in different workflows. In GitLab 14.0, the old variables have been permanently removed and will no longer work. Any configurations using these variables must be updated to the new variable names. Any scans using these variables in GitLab 14.0 and later will fail to be configured correctly. These variables are:
|
||||
|
||||
- `DAST_AUTH_EXCLUDE_URLS` becomes `DAST_EXCLUDE_URLS`.
|
||||
- `AUTH_EXCLUDE_URLS` becomes `DAST_EXCLUDE_URLS`.
|
||||
- `AUTH_USERNAME` becomes `DAST_USERNAME`.
|
||||
- `AUTH_PASSWORD` becomes `DAST_PASSWORD`.
|
||||
- `AUTH_USERNAME_FIELD` becomes `DAST_USERNAME_FIELD`.
|
||||
- `AUTH_PASSWORD_FIELD` becomes `DAST_PASSWORD_FIELD`.
|
||||
- `DAST_ZAP_USE_AJAX_SPIDER` will now be `DAST_USE_AJAX_SPIDER`.
|
||||
- `DAST_FULL_SCAN_DOMAIN_VALIDATION_REQUIRED` will be removed, since the feature is being removed.
|
|
@ -0,0 +1,8 @@
|
|||
- name: "Remove legacy DAST domain validation"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: derekferguson
|
||||
body: |
|
||||
The legacy method of DAST Domain Validation for CI/CD scans was deprecated in GitLab 13.8, and is removed in GitLab 14.0. This method of domain validation only disallows scans if the `DAST_FULL_SCAN_DOMAIN_VALIDATION_REQUIRED` environment variable is set to `true` in the `gitlab-ci.yml` file, and a `Gitlab-DAST-Permission` header on the site is not set to `allow`. This two-step method required users to opt in to using the variable before they could opt out from using the header.
|
||||
|
||||
For more information, see the [removal issue](https://gitlab.com/gitlab-org/gitlab/-/issues/293595).
|
8
data/removals/14_0/remove_dast_legacy_report_fields.yml
Normal file
8
data/removals/14_0/remove_dast_legacy_report_fields.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
- name: "Removal of legacy fields from DAST report"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: derekferguson
|
||||
body: |
|
||||
As a part of the migration to a common report format for all of the Secure scanners in GitLab, DAST is making changes to the DAST JSON report. Certain legacy fields were deprecated in 13.8 and have been completely removed in 14.0. These fields are `@generated`, `@version`, `site`, and `spider`. This should not affect any normal DAST operation, but does affect users who consume the JSON report in an automated way and use these fields. Anyone affected by these changes, and needs these fields for business reasons, is encouraged to open a new GitLab issue and explain the need.
|
||||
|
||||
For more information, see [the removal issue](https://gitlab.com/gitlab-org/gitlab/-/issues/33915).
|
6
data/removals/14_0/remove_dast_spider_host_reset.yml
Normal file
6
data/removals/14_0/remove_dast_spider_host_reset.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Default DAST spider begins crawling at target URL"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: derekferguson
|
||||
body: |
|
||||
In GitLab 14.0, DAST has removed the current method of resetting the scan to the hostname when starting to spider. Prior to GitLab 14.0, the spider would not begin at the specified target path for the URL but would instead reset the URL to begin crawling at the host root. GitLab 14.0 changes the default for the new variable `DAST_SPIDER_START_AT_HOST` to `false` to better support users' intention of beginning spidering and scanning at the specified target URL, rather than the host root URL. This change has an added benefit: scans can take less time, if the specified path does not contain links to the entire site. This enables easier scanning of smaller sections of an application, rather than crawling the entire app during every scan.
|
6
data/removals/14_0/remove_dast_template_stages.yml
Normal file
6
data/removals/14_0/remove_dast_template_stages.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Remove DAST default template stages"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: derekferguson
|
||||
body: |
|
||||
In GitLab 14.0, we've removed the stages defined in the current `DAST.gitlab-ci.yml` template to avoid the situation where the template overrides manual changes made by DAST users. We're making this change in response to customer issues where the stages in the template cause problems when used with customized DAST configurations. Because of this removal, `gitlab-ci.yml` configurations that do not specify a `dast` stage must be updated to include this stage.
|
6
data/removals/14_0/remove_optimize_api.yml
Normal file
6
data/removals/14_0/remove_optimize_api.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Segments removed from DevOps Adoption API "
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: ljlane
|
||||
body: |
|
||||
The first release of the DevOps Adoption report had a concept of **Segments**. Segments were [quickly removed from the report](https://gitlab.com/groups/gitlab-org/-/epics/5251) because they introduced an additional layer of complexity on top of **Groups** and **Projects**. Subsequent iterations of the DevOps Adoption report focus on comparing adoption across groups rather than segments. GitLab 14.0 removes all references to **Segments** [from the GraphQL API](https://gitlab.com/gitlab-org/gitlab/-/issues/324414) and replaces them with **Enabled groups**.
|
9
data/removals/14_0/remove_terraform_template.yml
Normal file
9
data/removals/14_0/remove_terraform_template.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
- name: "Breaking changes to Terraform CI template"
|
||||
reporter: nagyv-gitlab
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
issue_url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/328500'
|
||||
body: |
|
||||
GitLab 14.0 renews the Terraform CI template to the latest version. The new template is set up for the GitLab Managed Terraform state, with a dependency on the GitLab `terraform-images` image, to provide a good user experience around GitLab's Infrastructure-as-Code features.
|
||||
|
||||
The current stable and latest templates are not compatible, and the current latest template becomes the stable template beginning with GitLab 14.0, your Terraform pipeline might encounter an unexpected failure if you run a custom `init` job.
|
8
data/removals/14_0/verify-ci-removal-parametertrace.yml
Normal file
8
data/removals/14_0/verify-ci-removal-parametertrace.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
- name: "Removal of deprecated `trace` parameter from `jobs` API endpoint"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: jreporter
|
||||
body: |
|
||||
GitLab Runner was updated in GitLab 13.4 to internally stop passing the `trace` parameter to the `/api/jobs/:id` endpoint. GitLab 14.0 deprecates the `trace` parameter entirely for all other requests of this endpoint. Make sure your [GitLab Runner version matches your GitLab version](https://docs.gitlab.com/runner/#gitlab-runner-versions) to ensure consistent behavior.
|
||||
|
||||
|
6
data/removals/14_0/verify-ci-removalpipelineservice.yml
Normal file
6
data/removals/14_0/verify-ci-removalpipelineservice.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "External Pipeline Validation Service Code Changes"
|
||||
removal_date: "2021-06-22"
|
||||
removal_milestone: "14.0"
|
||||
reporter: jreporter
|
||||
body: |
|
||||
For self-managed instances using the experimental [external pipeline validation service](https://docs.gitlab.com/ee/administration/external_pipeline_validation.html), the range of error codes GitLab accepts will be reduced. Currently, pipelines are invalidated when the validation service returns a response code from `400` to `499`. In GitLab 14.0 and later, pipelines will be invalidated for the `406: Not Accepted` response code only.
|
|
@ -0,0 +1,8 @@
|
|||
- name: "Remove support for `prometheus.listen_address` and `prometheus.enable`"
|
||||
removal_date: July 22, 2021
|
||||
removal_milestone: "14.1"
|
||||
reporter: fzimmer
|
||||
body: |
|
||||
The support for `prometheus.listen_address` and `prometheus.enable` has been removed from `gitlab.yml`. Use `prometheus.enabled` and `prometheus.server_address` to set up Prometheus server that GitLab instance connects to. Refer to [our documentation](https://docs.gitlab.com/ee/install/installation.html#prometheus-server-setup) for details.
|
||||
|
||||
This only affects new installations from source where users might use the old configurations.
|
20
data/removals/14_1/removal-outdated-browser-support.yml
Normal file
20
data/removals/14_1/removal-outdated-browser-support.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
- name: "Remove support for older browsers"
|
||||
removal_date: July 22, 2021
|
||||
removal_milestone: "14.1"
|
||||
reporter: leipert
|
||||
body: |
|
||||
In GitLab 14.1, we are cleaning up and [removing old code](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/63994) that was specific for browsers that we no longer support. This has no impact on users when one of our [supported web browsers](https://docs.gitlab.com/ee/install/requirements.html#supported-web-browsers) is used.
|
||||
|
||||
Most notably, support for the following browsers has been removed:
|
||||
|
||||
- Apple Safari 13 and older.
|
||||
- Mozilla Firefox 68.
|
||||
- Pre-Chromium Microsoft Edge.
|
||||
|
||||
The minimum supported browser versions are:
|
||||
|
||||
- Apple Safari 13.1.
|
||||
- Mozilla Firefox 78.
|
||||
- Google Chrome 84.
|
||||
- Chromium 84.
|
||||
- Microsoft Edge 84.
|
7
data/removals/14_2/removal-verify-build-log.yml
Normal file
7
data/removals/14_2/removal-verify-build-log.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
- name: "Max job log file size of 100 MB"
|
||||
removal_date: August 22, 2021 # day the removal was released
|
||||
removal_milestone: "14.2"
|
||||
reporter: jreporter # GitLab username of the person reporting the removal
|
||||
body: |
|
||||
GitLab values efficiency for all users in our wider community of contributors, so we're always working hard to make sure the application performs at a high level with a lovable UX.
|
||||
In GitLab 14.2, we have introduced a [job log file size limit](https://docs.gitlab.com/ee/administration/instance_limits.html#maximum-file-size-for-job-logs), set to 100 megabytes by default. Administrators of self-managed GitLab instances can customize this to any value. All jobs that exceed this limit are dropped and marked as failed, helping prevent performance impacts or over-use of resources. This ensures that everyone using GitLab has the best possible experience.
|
6
data/removals/14_3/removal-limit-tags-to-50.yml
Normal file
6
data/removals/14_3/removal-limit-tags-to-50.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
- name: "Introduced limit of 50 tags for jobs"
|
||||
removal_date: September 22nd, 2021
|
||||
removal_milestone: "14.3"
|
||||
reporter: jreporter
|
||||
body: |
|
||||
GitLab values efficiency and is prioritizing reliability for [GitLab.com in FY22](https://about.gitlab.com/direction/#gitlab-hosted-first). In 14.3, GitLab CI/CD jobs must have less than 50 [tags](https://docs.gitlab.com/ee/ci/yaml/index.html#tags). If a pipeline contains a job with 50 or more tags, you will receive an error and the pipeline will not be created.
|
|
@ -0,0 +1,6 @@
|
|||
- name: "List project pipelines API endpoint removes `name` support in 14.3"
|
||||
removal_date: September 22, 2021 # day the removal was released
|
||||
removal_milestone: "14.3"
|
||||
reporter: jreporter # GitLab username of the person reporting the removal
|
||||
body: |
|
||||
In GitLab 14.3, we will remove the ability to filter by `name` in the [list project pipelines API endpoint](https://docs.gitlab.com/ee/api/pipelines.html#list-project-pipelines) to improve performance. If you currently use this parameter with this endpoint, you must switch to `username`.
|
8
data/removals/14_3/removal_legacy_storage_setting.yml
Normal file
8
data/removals/14_3/removal_legacy_storage_setting.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
- name: Use of legacy storage setting
|
||||
removal_date: September 22nd, 2021 # day the removal was released
|
||||
removal_milestone: "14.3"
|
||||
reporter: dorrino # GitLab username of the person reporting the removal
|
||||
body: | # example (supports markdown)
|
||||
The support for [`gitlab_pages['use_legacy_storage']` setting](https://docs.gitlab.com/ee/administration/pages/index.html#domain-source-configuration-before-140) in Omnibus installations has been removed.
|
||||
|
||||
In 14.0 we removed [`domain_config_source`](https://docs.gitlab.com/ee/administration/pages/index.html#domain-source-configuration-before-140) which had been previously deprecated, and allowed users to specify disk storage. In 14.0 we added `use_legacy_storage` as a **temporary** flag to unblock upgrades, and allow us to debug issues with our users and it was deprecated and communicated for removal in 14.3.
|
50
data/removals/templates/_removal_template.md.erb
Normal file
50
data/removals/templates/_removal_template.md.erb
Normal file
|
@ -0,0 +1,50 @@
|
|||
---
|
||||
stage: none
|
||||
group: none
|
||||
info: "See the Technical Writers assigned to Development Guidelines: https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments-to-development-guidelines"
|
||||
---
|
||||
|
||||
# Removals by milestone
|
||||
|
||||
DISCLAIMER:
|
||||
This page contains information related to upcoming products, features, and functionality.
|
||||
It is important to note that the information presented is for informational purposes only.
|
||||
Please do not rely on this information for purchasing or planning purposes.
|
||||
As with all projects, the items mentioned on this page are subject to change or delay.
|
||||
The development, release, and timing of any products, features, or functionality remain at the
|
||||
sole discretion of GitLab Inc.
|
||||
|
||||
<!-- vale off -->
|
||||
|
||||
<!--
|
||||
DO NOT EDIT THIS PAGE DIRECTLY
|
||||
|
||||
This page is automatically generated from the YAML files in `/data/removals` by the rake task
|
||||
located at `lib/tasks/gitlab/docs/compile_removals.rake`.
|
||||
|
||||
For removal authors (usually Product Managers and Engineering Managers):
|
||||
|
||||
- To add a removal, use the example.yml file in `/data/removals/templates` as a template.
|
||||
- For more information about authoring removals, check the the removal item guidance:
|
||||
https://about.gitlab.com/handbook/marketing/blog/release-posts/#creating-a-removal-entry
|
||||
|
||||
For removal reviewers (Technical Writers only):
|
||||
|
||||
- To update the removal doc, run: `bin/rake gitlab:docs:compile_removals`
|
||||
- To verify the removals doc is up to date, run: `bin/rake gitlab:docs:check_removals`
|
||||
- For more information about updating the removal doc, see the removal doc update guidance:
|
||||
https://about.gitlab.com/handbook/marketing/blog/release-posts/#update-the-removals-doc
|
||||
-->
|
||||
<% if milestones.any? -%>
|
||||
<%- milestones.each do |milestone| %>
|
||||
## <%= milestone %>
|
||||
<%- entries.select{|entry| entry["removal_milestone"] == milestone}.each do |removal| %>
|
||||
### <%= removal["name"]%>
|
||||
|
||||
<%= removal["body"] -%>
|
||||
<%- end -%>
|
||||
<%- end -%>
|
||||
<%- else -%>
|
||||
|
||||
Features scheduled for removal will be listed here, sorted by GitLab milestone.
|
||||
<% end -%>
|
32
data/removals/templates/example.yml
Normal file
32
data/removals/templates/example.yml
Normal file
|
@ -0,0 +1,32 @@
|
|||
# This is a template for a feature removal
|
||||
# Generally, a feature or configuration should be removed in a major release.
|
||||
# It should be announced at least 2 releases prior to being removed.
|
||||
#
|
||||
# Below is an example of a removal.
|
||||
#
|
||||
# For more information please refer to the handbook documentation here:
|
||||
# https://about.gitlab.com/handbook/marketing/blog/release-posts/#removals
|
||||
#
|
||||
# Please delete this line and above before submitting your merge request.
|
||||
|
||||
- name: "Announcement headline" # The headline announcing the removal. i.e. "`CI_PROJECT_CONFIG_PATH` removed in Gitlab 14.0"
|
||||
announcement_milestone: "XX.YY" # The milestone when this feature was deprecated.
|
||||
announcement_date: "YYYY-MM-DD" # The date of the milestone release when this feature was deprecated. This should almost always be the 22nd of a month (YYYY-MM-DD), unless you did an out of band blog post.
|
||||
removal_milestone: "XX.YY" # The milestone when this feature is being removed.
|
||||
removal_date: "YYYY-MM-DD" # This should almost always be the 22nd of a month (YYYY-MM-DD), the date of the milestone release when this feature will be removed.
|
||||
breaking_change: false # Change to true if this removal is a breaking change.
|
||||
body: | # Do not modify this line, instead modify the lines below.
|
||||
<!-- START OF BODY COMMENT
|
||||
|
||||
This area supports markdown. Delete this entire comment and replace it with your markdown content.
|
||||
|
||||
When ready, assign to your tech writer for review. When ready, they will run `bin/rake gitlab:docs:compile_removals` to update the removals doc, then merge.
|
||||
|
||||
END OF BODY COMMENT -->
|
||||
# The following items are not published on the docs page, but may be used in the future.
|
||||
stage: # (optional - may be required in the future) String value of the stage that the feature was created in. e.g., Growth
|
||||
tiers: # (optional - may be required in the future) An array of tiers that the feature is available in currently. e.g., [Free, Silver, Gold, Core, Premium, Ultimate]
|
||||
issue_url: # (optional) This is a link to the deprecation issue in GitLab
|
||||
documentation_url: # (optional) This is a link to the current documentation page
|
||||
image_url: # (optional) This is a link to a thumbnail image depicting the feature
|
||||
video_url: # (optional) Use the youtube thumbnail URL with the structure of https://img.youtube.com/vi/UNIQUEID/hqdefault.jpg
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Despite this popularity, teams have struggled with the limitation that wikis were only available at the project level. Teams working on multiple projects needed to create separate wikis for each repository, leading to a fragmented experience.
|
||||
|
||||
In Gitlab 13.5, we are so excited to bring you group wikis! With [680 upvotes](https://gitlab.com/gitlab-org/gitlab/-/issues/13195) this was the most upvoted feature in the entire GitLab backlog. While highly requested, making a large project-only feature like wikis available at the group level has been a non-trivial operation.
|
||||
In GitLab 13.5, we are so excited to bring you group wikis! With [680 upvotes](https://gitlab.com/gitlab-org/gitlab/-/issues/13195) this was the most upvoted feature in the entire GitLab backlog. While highly requested, making a large project-only feature like wikis available at the group level has been a non-trivial operation.
|
||||
|
||||
We know a lot of folks have been looking forward to this feature and shared their input pre-release. We hope all of you will continue to weigh in now that group wikis are available and we’ve opened up a [dedicated issue](https://gitlab.com/gitlab-org/gitlab/-/issues/267593) for your feedback.
|
||||
stage: Create
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
release: 14.4
|
||||
- title: Integrated error tracking inside GitLab without a Sentry instance
|
||||
body: |
|
||||
Prior to GitLab 14.4, you could integrate with Sentry Error Tracking by supplying an endpoint for a Sentry backend (either self-deployed or in their cloud service). With Gitlab 14.4, you now have access to a Sentry-compatible backend built into your GitLab instance. This allows you to quickly instrument your apps so your errors show up directly in GitLab without the need for a separate Sentry instance.
|
||||
Prior to GitLab 14.4, you could integrate with Sentry Error Tracking by supplying an endpoint for a Sentry backend (either self-deployed or in their cloud service). With GitLab 14.4, you now have access to a Sentry-compatible backend built into your GitLab instance. This allows you to quickly instrument your apps so your errors show up directly in GitLab without the need for a separate Sentry instance.
|
||||
stage: Manage
|
||||
self-managed: true
|
||||
gitlab-com: true
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- title: Introducing Infrastructure as Code (IaC) security scanning
|
||||
body: |
|
||||
With Gitlab 14.5 we're introducing security scanning for Infrastructure as Code (IaC) configuration files. Like all our SAST scanners, we've chosen to make this capability available for all customers for free to encourage secure coding practices with the rise of IaC. The initial version of this IaC security scanner supports configuration files for Terraform, Ansible, AWS CloudFormation, and Kubernetes and is based on the open-source [Keeping Infrastructure as Code Secure (KICS) project](https://kics.io/). This new IaC scanning capability joins our [existing Kubernetes manifest SAST scanner](https://docs.gitlab.com/ee/user/application_security/sast/#enabling-kubesec-analyzer).
|
||||
With GitLab 14.5 we're introducing security scanning for Infrastructure as Code (IaC) configuration files. Like all our SAST scanners, we've chosen to make this capability available for all customers for free to encourage secure coding practices with the rise of IaC. The initial version of this IaC security scanner supports configuration files for Terraform, Ansible, AWS CloudFormation, and Kubernetes and is based on the open-source [Keeping Infrastructure as Code Secure (KICS) project](https://kics.io/). This new IaC scanning capability joins our [existing Kubernetes manifest SAST scanner](https://docs.gitlab.com/ee/user/application_security/sast/#enabling-kubesec-analyzer).
|
||||
stage: Secure
|
||||
self-managed: true
|
||||
gitlab-com: true
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue