Ci Services migrate
Merge request reports
Activity
Added 136 commits:
- 466ce463...abf54f23 - 134 commits from branch
master
- 4799d1c3 - Remove WebHooks
- 6f1bace2 - Merge remote-tracking branch 'origin/master' into ci-services-migrate
- 466ce463...abf54f23 - 134 commits from branch
- This migrates Ci::Services and Ci::WebHooks to Services and WebHooks,
- It exposes a new
build_event
, - It will migrate existing WebHooks,
- It doesn't migrate existing services (not sure how to do this),
- It doesn't migrate mail settings (not sure how to do this),
- It renames EmailsOnPush service adding build_events,
- It extends Slack and HipChat services to support build events,
- It removes Ci::Services and Ci::WebHooks completely - it leaves DB data intact for now,
- The migrations can be done online,
- It removes WebHook specific API,
- Almost all tests are done,
Edited by Kamil TrzcińśkiI had a call with @ayufan about this and !1987 (merged) merge requests. We should merge both in one release since it will require offline migration. Some data can not be properly migrated - it should be mentioned in blog post. We want to finish and merge it in 8.3. This is the last big CI cleanup after 8.0. Estimate for merge !1985 (merged) and !1987 (merged) is next Wednesday. @DouweM @rspeicher please find a bit of time to make review of it
@rspeicher I will also handle merge to EE.
Reassigned to @ayufan
Added 76 commits:
- 6f1bace2...104df74f - 75 commits from branch
master
- 50a2c373 - Migrate CI::Services and CI::WebHooks to Services and WebHooks
- 6f1bace2...104df74f - 75 commits from branch
Added 26 commits:
- 9aa0b7ae...e88fd586 - 25 commits from branch
master
- 4a53b503 - Migrate CI::Services and CI::WebHooks to Services and WebHooks
- 9aa0b7ae...e88fd586 - 25 commits from branch
@dzaporozhets @DouweM it's green!
@ayufan I cannot review line-by-line since I loose focus with such big diff pretty fast
😃 . But changes in general looks good. Please proceed with db migration since it requires most of attentionmentioned in issue #3474 (closed)
- File renamed with no changes. Show file contents
250 268 def is_update?(data) 251 269 data[:object_attributes][:action] == 'update' 252 270 end 271 272 def should_build_be_notified?(data) - File renamed with no changes. Show file contents
- app/workers/build_email_worker.rb 0 → 100644
1 class BuildEmailWorker 2 include Sidekiq::Worker 3 4 def perform(build_id, recipients, push_data) 5 recipients.split(' ').each do |recipient| 6 begin 7 case push_data['build_status'] 8 when 'success' 9 Notify.build_success_email(build_id, recipient).deliver_now Added 212 commits:
- 4a53b503...9bfd6c44 - 210 commits from branch
master
- 7aff5dc6 - Migrate CI::Services and CI::WebHooks to Services and WebHooks
- cc696eec - Migrate CI WebHooks and Emails to new tables
- 4a53b503...9bfd6c44 - 210 commits from branch
@DouweM Please let me know what you think. I added migrations to migrate all CI::WebHook and CI::EmailService data.
Added 73 commits:
- 8e8f9fcf...bdc62d70 - 70 commits from branch
master
- 609d40a0 - Migrate CI::Services and CI::WebHooks to Services and WebHooks
- d8d544b3 - Migrate CI WebHooks and Emails to new tables
- 8c83e6ba - Migrate SlackService and HipChat service
Toggle commit list- 8e8f9fcf...bdc62d70 - 70 commits from branch
Added 1 commit:
- dc4e2744 - Fix issue tracker service
@ayufan Two tiny little things, but otherwise looks good. You can merge after those are fixed.
Added 1 commit:
- 8b4cdc50 - Fix indentation and BuildsEmailService
Added 1 commit:
- a0c2a7b0 - Fix migrations [ci skip]
mentioned in commit e81ae1e6
mentioned in issue #19158 (closed)
Mentioned in commit 04def4d8
Mentioned in commit 8a866bfc