Commit Graph

34 Commits

Author SHA1 Message Date
GitLab Bot 66d4203791 Add latest changes from gitlab-org/gitlab@master 2020-02-26 09:08:47 +00:00
GitLab Bot ae78b85a25 Add latest changes from gitlab-org/gitlab@master 2020-02-24 12:09:00 +00:00
GitLab Bot a89cb5cbdd Add latest changes from gitlab-org/gitlab@master 2020-02-06 21:08:48 +00:00
GitLab Bot 6755df108b Add latest changes from gitlab-org/gitlab@master 2020-01-21 00:08:46 +00:00
GitLab Bot aa0f0e9921 Add latest changes from gitlab-org/gitlab@master 2020-01-16 18:08:46 +00:00
GitLab Bot 9671f01956 Add latest changes from gitlab-org/gitlab@master 2020-01-04 00:07:49 +00:00
GitLab Bot 27859ed5ea Add latest changes from gitlab-org/gitlab@master 2019-12-12 15:08:41 +00:00
GitLab Bot 69a23cbee1 Add latest changes from gitlab-org/gitlab@master 2019-11-22 21:06:19 +00:00
GitLab Bot 0be510a49f Add latest changes from gitlab-org/gitlab@master 2019-10-31 12:06:26 +00:00
GitLab Bot 25989ab7ef Add latest changes from gitlab-org/gitlab@master 2019-10-18 11:11:44 +00:00
GitLab Bot e924e9e7cb Add latest changes from gitlab-org/gitlab@master 2019-10-16 21:07:22 +00:00
GitLab Bot 914ea32e0e Add latest changes from gitlab-org/gitlab@master 2019-10-16 09:07:51 +00:00
GitLab Bot f1a5755898 Add latest changes from gitlab-org/gitlab@master 2019-09-24 15:06:34 +00:00
GitLab Bot 89861e72b7 Add latest changes from gitlab-org/gitlab@master 2019-09-23 06:06:19 +00:00
GitLab Bot f610aa7c6d Add latest changes from gitlab-org/gitlab@master 2019-09-21 03:06:07 +00:00
Ash McKenzie 9fc9ab2ba2 Add new GitlabDanger class
This class encapsulates our use of the Danger gem.
2019-09-06 11:21:53 +00:00
Kyle Wiebers 79ec54c39e Add Danger Roulette rules for pipeline files 2019-09-05 09:02:47 -05:00
Rémy Coutable e17ba8d9e3
Fix a nil error in Gitlab::Danger::Teammate
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-08-27 19:15:19 +02:00
Rémy Coutable cfef583e94
Detect the new stage labels in Gitlab::Danger::Teammate
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-08-27 12:16:44 +02:00
Mayra Cabrera 157b047e9d Removes db/fixtures from database files
This will avoid Danger to suggest a database review for files inside
db/fixtures
2019-08-15 17:42:13 +00:00
Lin Jen-Shin 0c7e13f912
Update regular expression to extract stage name
Since now the role name can be:

"<a href=\"/job-families/engineering/test-automation-engineer/\">Senior Test Automation Engineer</a>, Create:Source Code"

We need to cope with </a> in the middle.
2019-07-30 22:29:02 +08:00
Toon Claes 34a5f77e77 Document database review process
See https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/6069
2019-07-19 17:33:48 +00:00
Toon Claes 37e4d6d991 DRY up conditions for files require DB review
Stop using two separate lists for the conditions which files require a
database review.

Related discussion:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/30156#note_187732053
2019-07-04 18:47:16 +00:00
Yorick Peterse 8469f59d78
Backport the EE schema and migrations to CE
This backports all EE schema changes to CE, including EE migrations,
ensuring both use the same schema.

== Updated tests

A spec related to ghost and support bot users had to be modified to make
it pass. The spec in question assumes that the "support_bot" column
exists when defining the spec. In the single codebase setup this is not
the case, as the column is backported in a later migration. Any attempt
to use a different schema version or use of "around" blocks to
conditionally disable specs won't help, as reverting the backport
migration would also drop the "support_bot" column. Removing the
"support_bot" tests entirely appears to be the only solution.

We also need to update some foreign key tests now that we have
backported the EE columns. Fortunately, these changes are very minor.

== Backporting migrations

This commit moves EE specific migrations (except those for the Geo
tracking database) and related files to CE, and also removes any traces
of the ee/db directory.

Some migrations had to be modified or removed, as they no longer work
with the schema being backported. These migrations were all quite old,
so we opted for removing them where modifying them would take too much
time and effort.

Some old migrations were modified in EE, while also existing in CE. In
these cases we took the EE code, and in one case removed them entirely.
It's not worth spending time trying to merge these changes somehow as we
plan to remove old migrations around the release of 12.0, see
https://gitlab.com/gitlab-org/gitlab-ce/issues/59177 for more details.
2019-06-17 17:09:05 +02:00
Jacopo cef127e107 Excludes MR author from Review roulette
Excludes MR author from gitlab_ui and single_codebase Review roulette
results.
2019-06-12 21:32:35 +02:00
Lin Jen-Shin 74399a9098
Show Test Automation Engineer for spec/feature as
reviewers.
2019-06-06 21:11:57 +08:00
Lin Jen-Shin c90ba127bf Extract roulette to its own module
So it's more modular and extensible
2019-05-30 19:24:28 +08:00
Evan Read c5305a02e3 Docs aren't reviewed using roulette 2019-04-30 10:38:46 +00:00
Andreas Brandl 7f0ec9d8ce
Support multiple roulette roles per project 2019-03-11 13:37:29 +01:00
Nick Thomas f497c0f236
Danger ignores gitlab.pot 2019-02-27 10:52:19 +00:00
Winnie Hellmann fc6cbcbb9b Add spec/frontend/ to frontend roulette 2019-02-21 15:58:01 +01:00
Nick Thomas 9afc4f9d11
Reviewer roulette ignores changelogs 2019-02-14 23:52:30 +00:00
Rémy Coutable e3b79499f5
Make Danger as for backend review for .gitlab-ci.yml
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-02-14 16:49:29 +01:00
Nick Thomas 77b2ecd2b1
Reviewer roulette via Danger
Make danger pick reviewers and maintainers at random, for feontend,
backend, database, etc, changes, whenever files belonging to those
teams get changed.
2019-02-13 16:41:28 +00:00