diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-04 15:09:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-04 15:09:33 +0300 |
commit | 46b08e61d27f9b3f45b130f9204084ffcf50c304 (patch) | |
tree | 96ef84fc43b41e8d1f8539fe085dc01496e29427 /danger/database | |
parent | 54cd986c9f16b5f7587b072ee8eb84bbf6642e8c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger/database')
-rw-r--r-- | danger/database/Dangerfile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/danger/database/Dangerfile b/danger/database/Dangerfile index f94184263ad..7b3a32358fe 100644 --- a/danger/database/Dangerfile +++ b/danger/database/Dangerfile @@ -30,6 +30,12 @@ If you no longer require a database review, you can remove this suggestion by removing the ~database label and re-running the [`danger-review` job](#{ENV['CI_JOB_URL']}). MSG +DB_MIGRATION_TESTING_REQUIRED_MESSAGE = <<~MSG +1. If this is not a ~"Community contribution" or from a Fork, kick off the + `db:gitlabcom-database-testing` manual job. + +MSG + DATABASE_APPROVED_LABEL = 'database::approved' non_geo_db_schema_updated = !git.modified_files.grep(%r{\Adb/structure\.sql}).empty? @@ -58,9 +64,10 @@ if helper.mr_labels.include?('database') || db_paths_to_review.any? 'review from the [Database team](https://gitlab.com/groups/gl-database/-/group_members).' markdown(DB_MESSAGE) + markdown(DB_MIGRATION_TESTING_REQUIRED_MESSAGE) if non_geo_migration_created if db_paths_to_review.any? - markdown(DB_FILES_MESSAGE + helper.markdown_list(db_paths_to_review)) + markdown(DB_FILES_MESSAGE + helper.markdown_list(db_paths_to_review.to_set)) else markdown(DB_REMOVE_MESSAGE) end |