Commit f285de09 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'migrate-ee-changelog-files' into 'master'

Migrate EE changelog files to commits and fix static analysis  [RUN ALL RSPEC] [RUN AS-IF-FOSS]

See merge request gitlab-org/gitlab!62299
parents b30db443 f0aa86d7
......@@ -10,5 +10,4 @@ lint-yaml:
variables:
LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates changelogs
script:
- '[[ ! -d "ee/" ]] || export LINT_PATHS="$LINT_PATHS ee/changelogs"'
- yamllint -f colored $LINT_PATHS
---
title: SCIM get users API to search for email fragment as username
merge_request: 38807
author:
type: changed
---
title: Allow overnight shifts for oncall rotations
merge_request: 57202
author:
type: added
---
title: Add oncall schedule data to member user API
merge_request: 58848
author:
type: added
---
title: 'Geo: Fix sign in on secondary with relative URL'
merge_request: 37445
author:
type: fixed
---
title: Fix permissions for modifying issue metric images
merge_request:
author:
type: security
---
title: Add rake geo:replication:pause to pause replication from a secondary node
merge_request: 29515
author:
type: added
---
title: Update node ui to have status indicator instead of button for replication
merge_request: 34571
author:
type: added
---
title: Update Operations settings forms to be UX consistent
merge_request: 62034
author:
type: changed
---
title: Add GraphQL types for escalation policies and rules
merge_request: 61439
author:
type: added
---
title: Remove threat_monitoring_alerts feature flag
merge_request: 62148
author:
type: other
---
title: Only check index status if modifying Advanced Search form
merge_request: 62135
author:
type: fixed
---
title: 'Advanced Search: Allow indexing workers to use replicas'
merge_request: 61993
author:
type: performance
---
title: Remove code owner ribbon move announcement from settings
merge_request: 62069
author:
type: changed
---
title: 'VSA: Add decimal places to metrics'
merge_request: 62188
author:
type: other
---
title: Move gosec to alphabetical order
merge_request: 61948
author:
type: changed
---
title: Preserve epic labels association during Group Import/Export
merge_request: 62074
author:
type: fixed
---
title: Add dast_runner_site_validation feature flag
merge_request: 61649
author:
type: added
---
title: Check for credit card when playing manual jobs
merge_request: 62124
author:
type: fixed
---
title: Hide billing plans with truthy hide_card attribute
merge_request: 61990
author:
type: fixed
#!/bin/sh
lint_paths="changelogs/unreleased"
[ -d "ee/" ] && lint_paths="$lint_paths ee/changelogs/unreleased"
invalid_files=$(find $lint_paths -type f -not -name "*.yml" -not -name ".gitkeep")
if [ -n "$invalid_files" ]; then
echo "Changelog files must end in .yml, but these did not:"
echo "$invalid_files" | sed -e "s/^/* /"
exit 1
fi
......@@ -38,8 +38,7 @@ class StaticAnalysis
%w[yarn run block-dependencies] => 0.35,
%w[scripts/lint-rugged] => 0.23,
%w[scripts/gemfile_lock_changed.sh] => 0.02,
%w[scripts/frontend/check_no_partial_karma_jest.sh] => 0.01,
%w[scripts/lint-changelog-filenames] => 0.01
%w[scripts/frontend/check_no_partial_karma_jest.sh] => 0.01
}.reject { |k| k.nil? }.sort_by { |a| -a[1] }.to_h.keys.freeze
def run_tasks!
......
......@@ -162,8 +162,6 @@ RSpec.describe Tooling::Danger::ProjectHelper do
'workhorse/main.go' | [:workhorse]
'workhorse/internal/upload/upload.go' | [:workhorse]
'changelogs/foo' | [:none]
'ee/changelogs/foo' | [:none]
'locale/gitlab.pot' | [:none]
'FOO' | [:unknown]
......
......@@ -38,8 +38,6 @@ module Tooling
%r{\A(ee/)?config/feature_flags/} => :feature_flag,
%r{\A(ee/)?(changelogs/unreleased)(-ee)?/} => :changelog,
%r{\Adoc/development/usage_ping/dictionary\.md\z} => [:docs, :product_intelligence],
%r{\Adoc/.*(\.(md|png|gif|jpg))\z} => :docs,
%r{\A(CONTRIBUTING|LICENSE|MAINTENANCE|PHILOSOPHY|PROCESS|README)(\.md)?\z} => :docs,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment