Commit graph

10 commits

Author SHA1 Message Date
Rémy Coutable
1dbd80d190 Fix Gitlab::EeCompatCheck: use ee_branch_found instead of ee_branch
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-28 09:26:47 +02:00
Rémy Coutable
98b87a6ebf Put banners in constants
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-23 23:30:27 +01:00
Rémy Coutable
8720f1d634 Fetch deeper the tested branch before fetching master
The tested branch is clone with a deep of 20 so if it has more than 20
commits, we need to deepen its hitory to be able to find the merge-base
with origin/master.

Also, detect prefixed EE branch as well, i.e. `ee-<branch>`.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-23 23:30:27 +01:00
Rémy Coutable
23e43ec5b1 Improve Gitlab::EeCompatCheck by using the git apply --3way flag
This should solve 99% of the false-positive of the `ee_compat_check` job.
2017-02-22 16:00:49 +00:00
Rémy Coutable
cd78e02096
Ensure we sanitize branch names with path-unfriendly characters
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-23 10:55:28 +01:00
Rémy Coutable
88edbd11a9
Improve EeCompatCheck, cache EE repo and keep artifacts for the ee_compat_check task
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-10 10:40:47 +01:00
Rémy Coutable
d38d4a9e8e
Disable Rails/Output cop since it makes no sense here
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-10-24 21:19:46 +02:00
Rémy Coutable
402dcab4f1
Use File.write instead of File.open + File#write
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-10-24 20:47:50 +02:00
Rémy Coutable
c7af4cf830
Don't print out implementation detail step
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-10-24 20:29:00 +02:00
Rémy Coutable
af669cbea3
Change the approach to check if patches apply cleanly
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-10-21 19:16:56 +02:00