shipit-engine 0.26.0 → 0.27.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +5 -5
  2. data/app/assets/images/faulty.svg +9 -0
  3. data/app/assets/images/validating.svg +13 -0
  4. data/app/assets/stylesheets/_pages/_commits.scss +18 -0
  5. data/app/controllers/shipit/api/commits_controller.rb +6 -1
  6. data/app/controllers/shipit/api/deploys_controller.rb +4 -0
  7. data/app/controllers/shipit/release_statuses_controller.rb +2 -10
  8. data/app/jobs/shipit/mark_deploy_healty_job.rb +13 -0
  9. data/app/jobs/shipit/perform_task_job.rb +1 -1
  10. data/app/models/shipit/check_run.rb +8 -0
  11. data/app/models/shipit/deploy.rb +39 -16
  12. data/app/models/shipit/deploy_spec.rb +1 -1
  13. data/app/models/shipit/deploy_spec/lerna_discovery.rb +10 -7
  14. data/app/models/shipit/rollback.rb +10 -1
  15. data/app/models/shipit/stack.rb +7 -5
  16. data/app/models/shipit/task.rb +20 -6
  17. data/app/views/layouts/merge_status.html.erb +1 -1
  18. data/config/routes.rb +1 -1
  19. data/lib/shipit/version.rb +1 -1
  20. data/test/controllers/api/commits_controller_test.rb +10 -0
  21. data/test/controllers/api/deploys_controller_test.rb +11 -0
  22. data/test/controllers/merge_status_controller_test.rb +6 -1
  23. data/test/controllers/release_statuses_controller_test.rb +17 -3
  24. data/test/controllers/stacks_controller_test.rb +5 -0
  25. data/test/dummy/config/application.rb +1 -13
  26. data/test/dummy/config/initializers/0_load_development_secrets.rb +2 -2
  27. data/test/dummy/db/schema.rb +1 -1
  28. data/test/fixtures/shipit/commits.yml +65 -0
  29. data/test/fixtures/shipit/release_statuses.yml +4 -4
  30. data/test/fixtures/shipit/stacks.yml +57 -2
  31. data/test/fixtures/shipit/statuses.yml +9 -0
  32. data/test/fixtures/shipit/tasks.yml +48 -0
  33. data/test/jobs/mark_deploy_healthy_job_test.rb +23 -0
  34. data/test/jobs/perform_task_job_test.rb +30 -0
  35. data/test/models/commits_test.rb +1 -1
  36. data/test/models/deploy_spec_test.rb +2 -2
  37. data/test/models/deploys_test.rb +40 -14
  38. data/test/models/pull_request_test.rb +4 -4
  39. data/test/models/release_statuses_test.rb +2 -2
  40. data/test/models/stacks_test.rb +58 -0
  41. metadata +127 -125
  42. data/app/jobs/shipit/append_delayed_release_status_job.rb +0 -17
  43. data/test/jobs/append_delayed_release_status_job_test.rb +0 -25
@@ -467,16 +467,18 @@ module Shipit
467
467
  end
468
468
 
469
469
  test "triggering a deploy sets the release status as pending" do
470
- @commit = shipit_commits(:fifth)
470
+ @commit = shipit_commits(:canaries_fifth)
471
+ @stack = @commit.stack
472
+
471
473
  assert_difference -> { ReleaseStatus.count }, +1 do
472
474
  assert_equal 'unknown', @commit.last_release_status.state
473
- @deploy = @stack.trigger_deploy(@commit, AnonymousUser.new)
475
+ @deploy = @stack.trigger_deploy(@commit, AnonymousUser.new, force: true)
474
476
  assert_equal 'pending', @commit.last_release_status.state
475
477
  end
476
478
  end
477
479
 
478
480
  test "failing a deploy sets the release status as error" do
479
- @deploy = shipit_deploys(:shipit_running)
481
+ @deploy = shipit_deploys(:canaries_running)
480
482
  assert_difference -> { ReleaseStatus.count }, +1 do
481
483
  assert_not_equal 'error', @deploy.last_release_status.state
482
484
  @deploy.report_failure!(StandardError.new)
@@ -485,8 +487,8 @@ module Shipit
485
487
  end
486
488
 
487
489
  test "succeeding a deploy sets the release status as success if the status delay is 0s" do
488
- @deploy = shipit_deploys(:shipit_running)
489
- @deploy.stack.expects(:release_status_delay).returns(Duration.parse(0))
490
+ @deploy = shipit_deploys(:canaries_running)
491
+ @deploy.stack.expects(:release_status_delay).at_least_once.returns(Duration.parse(0))
490
492
 
491
493
  assert_difference -> { ReleaseStatus.count }, +1 do
492
494
  assert_not_equal 'success', @deploy.last_release_status.state
@@ -496,25 +498,49 @@ module Shipit
496
498
  end
497
499
 
498
500
  test "succeeding a deploy sets the release status as pending if the status delay is longer than 0s" do
499
- @deploy = shipit_deploys(:shipit_running)
500
- @deploy.stack.expects(:release_status_delay).returns(Duration.parse(1))
501
+ @deploy = shipit_deploys(:canaries_running)
502
+ @deploy.stack.expects(:release_status_delay).at_least_once.returns(Duration.parse(1))
501
503
 
502
504
  assert_difference -> { ReleaseStatus.count }, +1 do
503
505
  assert_not_equal 'success', @deploy.last_release_status.state
504
- assert_enqueued_with(job: AppendDelayedReleaseStatusJob) do
505
- @deploy.complete!
506
+ assert_enqueued_with(job: MarkDeployHealthyJob) do
507
+ @deploy.report_complete!
508
+ assert_equal 'validating', @deploy.status
506
509
  end
507
510
  assert_equal 'pending', @deploy.last_release_status.state
508
511
  end
509
512
  end
510
513
 
511
- test "triggering a rollback sets the release status as failure" do
512
- @deploy = shipit_deploys(:shipit_complete)
514
+ test "triggering a rollback via abort! sets the release status as failure" do
515
+ @deploy = shipit_deploys(:canaries_running)
516
+ @deploy.ping
513
517
 
514
- assert_difference -> { ReleaseStatus.count }, +1 do
518
+ assert_difference -> { ReleaseStatus.count }, +3 do
519
+ assert_equal 'running', @deploy.status
515
520
  assert_not_equal 'failure', @deploy.last_release_status.state
516
- @deploy.trigger_rollback
517
- assert_equal 'failure', @deploy.reload.last_release_status.state
521
+
522
+ @deploy.abort!(rollback_once_aborted: true, aborted_by: shipit_users(:walrus))
523
+
524
+ @deploy.reload
525
+ assert_equal 'aborting', @deploy.status
526
+ assert_equal 'failure', @deploy.last_release_status.state
527
+
528
+ @deploy.aborted!
529
+
530
+ @deploy.reload
531
+ assert_equal 'aborted', @deploy.status
532
+ assert_equal 'failure', @deploy.last_release_status.state
533
+ end
534
+ end
535
+
536
+ test "manually triggered rollbacks sets the release status as failure on the previously deployed revision" do
537
+ @deploy = shipit_deploys(:canaries_faulty)
538
+ last_deployed_commit = @deploy.stack.last_deployed_commit
539
+
540
+ assert_difference -> { ReleaseStatus.count }, +1 do
541
+ assert_not_equal 'failure', last_deployed_commit.release_statuses.last&.state
542
+ @deploy.trigger_rollback(force: true)
543
+ assert_equal 'failure', last_deployed_commit.release_statuses.last.state
518
544
  end
519
545
  end
520
546
 
@@ -225,10 +225,10 @@ module Shipit
225
225
  @pr.reject!('merge_conflict')
226
226
  end
227
227
  params = job.arguments.first
228
- assert_equal 'merge', params['event']
229
- assert_json 'status', 'rejected', document: params['payload']
230
- assert_json 'pull_request.rejection_reason', 'merge_conflict', document: params['payload']
231
- assert_json 'pull_request.number', @pr.number, document: params['payload']
228
+ assert_equal 'merge', params[:event]
229
+ assert_json 'status', 'rejected', document: params[:payload]
230
+ assert_json 'pull_request.rejection_reason', 'merge_conflict', document: params[:payload]
231
+ assert_json 'pull_request.number', @pr.number, document: params[:payload]
232
232
  end
233
233
 
234
234
  test "#merge! doesnt delete the branch if there are open PRs against it" do
@@ -5,9 +5,9 @@ module Shipit
5
5
  test "#create_status_on_github! calls GitHub API" do
6
6
  Shipit.github.api.expects(:create_status).once.with(
7
7
  'shopify/shipit-engine',
8
- shipit_commits(:fourth).sha,
8
+ shipit_commits(:canaries_fourth).sha,
9
9
  'pending',
10
- context: 'shipit/production',
10
+ context: 'shipit/canaries',
11
11
  target_url: 'https://example.com/deploys/42',
12
12
  description: 'Deploy started',
13
13
  ).returns(resource(id: 42))
@@ -524,6 +524,30 @@ module Shipit
524
524
  end
525
525
  end
526
526
 
527
+ test "#trigger_continuous_delivery bails out if the previous deploy is still validating" do
528
+ @stack = shipit_stacks(:shipit_canaries)
529
+ shipit_tasks(:canaries_running).delete
530
+
531
+ assert_predicate @stack, :deployable?
532
+ assert_predicate @stack, :deployed_too_recently?
533
+ assert_predicate @stack.last_active_task, :validating?
534
+
535
+ assert_no_enqueued_jobs(only: Shipit::PerformTaskJob) do
536
+ assert_no_difference -> { Deploy.count } do
537
+ @stack.trigger_continuous_delivery
538
+ end
539
+ end
540
+
541
+ @stack.last_active_task.complete!
542
+ refute_predicate @stack, :deployed_too_recently?
543
+
544
+ assert_enqueued_with(job: Shipit::PerformTaskJob) do
545
+ assert_difference -> { Deploy.count }, +1 do
546
+ @stack.trigger_continuous_delivery
547
+ end
548
+ end
549
+ end
550
+
527
551
  test "#trigger_continuous_delivery trigger a deploy if all conditions are met" do
528
552
  @stack.tasks.delete_all
529
553
  assert_predicate @stack, :deployable?
@@ -541,6 +565,16 @@ module Shipit
541
565
  assert_equal({'SAFETY_DISABLED' => '0'}, deploy.env)
542
566
  end
543
567
 
568
+ test "#continuous_delivery_delayed! bumps updated_at" do
569
+ old_updated_at = @stack.updated_at - 3.minutes
570
+ @stack.update_column(:updated_at, old_updated_at)
571
+ @stack.reload
572
+
573
+ @stack.continuous_delivery_delayed!
574
+
575
+ assert_not_equal old_updated_at, @stack.updated_at
576
+ end
577
+
544
578
  test "#next_commit_to_deploy returns the last deployable commit" do
545
579
  @stack.tasks.where.not(until_commit_id: shipit_commits(:second).id).destroy_all
546
580
  assert_equal shipit_commits(:second), @stack.last_deployed_commit
@@ -611,5 +645,29 @@ module Shipit
611
645
  @stack.deploy_url = "ssh://abc"
612
646
  assert_predicate @stack, :valid?
613
647
  end
648
+
649
+ test "#ci_enabled? is true if there are any commits with a status" do
650
+ Shipit::CheckRun.where(stack_id: @stack.id).delete_all
651
+ Rails.cache.clear
652
+
653
+ assert_predicate Shipit::Status.where(stack_id: @stack.id), :any?
654
+ assert @stack.ci_enabled?
655
+ end
656
+
657
+ test "#ci_enabled? is true if there are any check runs" do
658
+ Shipit::Status.where(stack_id: @stack.id).delete_all
659
+ Rails.cache.clear
660
+
661
+ assert_predicate Shipit::CheckRun.where(stack_id: @stack.id), :any?
662
+ assert_predicate @stack, :ci_enabled?
663
+ end
664
+
665
+ test "#ci_enabled? is false if there are no check_runs or statuses" do
666
+ Shipit::Status.where(stack_id: @stack.id).delete_all
667
+ Shipit::CheckRun.where(stack_id: @stack.id).delete_all
668
+
669
+ Rails.cache.clear
670
+ refute_predicate @stack, :ci_enabled?
671
+ end
614
672
  end
615
673
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shipit-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Boussier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-02 00:00:00.000000000 Z
11
+ date: 2018-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_serializers
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.9.1
103
+ version: 0.12.2
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.9.1
110
+ version: 0.12.2
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: faraday-http-cache
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -212,14 +212,14 @@ dependencies:
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: 5.1.0
215
+ version: 5.2.1
216
216
  type: :runtime
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: 5.1.0
222
+ version: 5.2.1
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: rails-timeago
225
225
  requirement: !ruby/object:Gem::Requirement
@@ -412,6 +412,7 @@ files:
412
412
  - app/assets/images/error.svg
413
413
  - app/assets/images/failure-small.svg
414
414
  - app/assets/images/failure.svg
415
+ - app/assets/images/faulty.svg
415
416
  - app/assets/images/favicon.ico
416
417
  - app/assets/images/flapping.svg
417
418
  - app/assets/images/lock.svg
@@ -425,6 +426,7 @@ files:
425
426
  - app/assets/images/success.svg
426
427
  - app/assets/images/timedout.svg
427
428
  - app/assets/images/unknown.svg
429
+ - app/assets/images/validating.svg
428
430
  - app/assets/images/validation/invalid.png
429
431
  - app/assets/images/validation/required.png
430
432
  - app/assets/images/validation/valid.png
@@ -503,7 +505,6 @@ files:
503
505
  - app/helpers/shipit/shipit_helper.rb
504
506
  - app/helpers/shipit/stacks_helper.rb
505
507
  - app/helpers/shipit/tasks_helper.rb
506
- - app/jobs/shipit/append_delayed_release_status_job.rb
507
508
  - app/jobs/shipit/background_job.rb
508
509
  - app/jobs/shipit/background_job/unique.rb
509
510
  - app/jobs/shipit/cache_deploy_spec_job.rb
@@ -520,6 +521,7 @@ files:
520
521
  - app/jobs/shipit/fetch_commit_stats_job.rb
521
522
  - app/jobs/shipit/fetch_deployed_revision_job.rb
522
523
  - app/jobs/shipit/github_sync_job.rb
524
+ - app/jobs/shipit/mark_deploy_healty_job.rb
523
525
  - app/jobs/shipit/merge_pull_requests_job.rb
524
526
  - app/jobs/shipit/perform_commit_checks_job.rb
525
527
  - app/jobs/shipit/perform_task_job.rb
@@ -817,7 +819,6 @@ files:
817
819
  - test/helpers/links_helper.rb
818
820
  - test/helpers/payloads_helper.rb
819
821
  - test/helpers/queries_helper.rb
820
- - test/jobs/append_delayed_release_status_job_test.rb
821
822
  - test/jobs/cache_deploy_spec_job_test.rb
822
823
  - test/jobs/chunk_rollup_job_test.rb
823
824
  - test/jobs/deliver_hook_job_test.rb
@@ -826,6 +827,7 @@ files:
826
827
  - test/jobs/fetch_commit_stats_job_test.rb
827
828
  - test/jobs/fetch_deployed_revision_job_test.rb
828
829
  - test/jobs/github_sync_job_test.rb
830
+ - test/jobs/mark_deploy_healthy_job_test.rb
829
831
  - test/jobs/merge_pull_requests_job_test.rb
830
832
  - test/jobs/perform_task_job_test.rb
831
833
  - test/jobs/purge_old_deliveries_job_test.rb
@@ -896,151 +898,151 @@ required_rubygems_version: !ruby/object:Gem::Requirement
896
898
  version: '0'
897
899
  requirements: []
898
900
  rubyforge_project:
899
- rubygems_version: 2.6.14
901
+ rubygems_version: 2.7.6
900
902
  signing_key:
901
903
  specification_version: 4
902
904
  summary: Application deployment software
903
905
  test_files:
904
- - test/controllers/release_statuses_controller_test.rb
905
- - test/controllers/status_controller_test.rb
906
+ - test/dummy/public/favicon.ico
907
+ - test/dummy/public/500.html
908
+ - test/dummy/public/422.html
909
+ - test/dummy/public/404.html
910
+ - test/dummy/db/seeds.rb
911
+ - test/dummy/db/schema.rb
912
+ - test/dummy/bin/rake
913
+ - test/dummy/bin/bundle
914
+ - test/dummy/bin/rails
915
+ - test/dummy/bin/setup
916
+ - test/dummy/app/views/layouts/application.html.erb
917
+ - test/dummy/app/assets/stylesheets/application.css
918
+ - test/dummy/app/assets/javascripts/application.js
919
+ - test/dummy/app/controllers/application_controller.rb
920
+ - test/dummy/app/helpers/application_helper.rb
921
+ - test/dummy/config.ru
922
+ - test/dummy/Rakefile
923
+ - test/dummy/config/application.rb
924
+ - test/dummy/config/database.yml
925
+ - test/dummy/config/locales/en.yml
926
+ - test/dummy/config/secrets.yml
927
+ - test/dummy/config/boot.rb
928
+ - test/dummy/config/database.mysql.yml
929
+ - test/dummy/config/initializers/filter_parameter_logging.rb
930
+ - test/dummy/config/initializers/session_store.rb
931
+ - test/dummy/config/initializers/backtrace_silencers.rb
932
+ - test/dummy/config/initializers/mime_types.rb
933
+ - test/dummy/config/initializers/cookies_serializer.rb
934
+ - test/dummy/config/initializers/0_load_development_secrets.rb
935
+ - test/dummy/config/initializers/assets.rb
936
+ - test/dummy/config/initializers/wrap_parameters.rb
937
+ - test/dummy/config/initializers/inflections.rb
938
+ - test/dummy/config/environment.rb
939
+ - test/dummy/config/routes.rb
940
+ - test/dummy/config/database.postgresql.yml
941
+ - test/dummy/config/environments/test.rb
942
+ - test/dummy/config/environments/development.rb
943
+ - test/dummy/config/environments/production.rb
944
+ - test/controllers/webhooks_controller_test.rb
945
+ - test/controllers/rollbacks_controller_test.rb
906
946
  - test/controllers/github_authentication_controller_test.rb
907
- - test/controllers/pull_requests_controller_test.rb
908
- - test/controllers/tasks_controller_test.rb
909
- - test/controllers/commits_controller_test.rb
910
947
  - test/controllers/merge_status_controller_test.rb
911
- - test/controllers/webhooks_controller_test.rb
912
- - test/controllers/deploys_controller_test.rb
948
+ - test/controllers/commit_checks_controller_test.rb
913
949
  - test/controllers/ccmenu_controller_test.rb
914
- - test/controllers/api/locks_controller_test.rb
915
- - test/controllers/api/base_controller_test.rb
916
- - test/controllers/api/outputs_controller_test.rb
917
- - test/controllers/api/pull_requests_controller_test.rb
918
- - test/controllers/api/tasks_controller_test.rb
950
+ - test/controllers/stacks_controller_test.rb
951
+ - test/controllers/deploys_controller_test.rb
919
952
  - test/controllers/api/hooks_controller_test.rb
920
- - test/controllers/api/commits_controller_test.rb
921
- - test/controllers/api/deploys_controller_test.rb
922
953
  - test/controllers/api/ccmenu_controller_test.rb
923
954
  - test/controllers/api/stacks_controller_test.rb
924
- - test/controllers/rollbacks_controller_test.rb
925
- - test/controllers/commit_checks_controller_test.rb
926
- - test/controllers/stacks_controller_test.rb
927
- - test/unit/csv_serializer_test.rb
928
- - test/unit/variable_definition_test.rb
955
+ - test/controllers/api/base_controller_test.rb
956
+ - test/controllers/api/locks_controller_test.rb
957
+ - test/controllers/api/deploys_controller_test.rb
958
+ - test/controllers/api/commits_controller_test.rb
959
+ - test/controllers/api/pull_requests_controller_test.rb
960
+ - test/controllers/api/tasks_controller_test.rb
961
+ - test/controllers/api/outputs_controller_test.rb
962
+ - test/controllers/status_controller_test.rb
963
+ - test/controllers/commits_controller_test.rb
964
+ - test/controllers/release_statuses_controller_test.rb
965
+ - test/controllers/pull_requests_controller_test.rb
966
+ - test/controllers/tasks_controller_test.rb
967
+ - test/unit/command_test.rb
929
968
  - test/unit/commands_test.rb
969
+ - test/unit/deploy_commands_test.rb
930
970
  - test/unit/shipit_test.rb
931
- - test/unit/command_test.rb
932
- - test/unit/environment_variables_test.rb
971
+ - test/unit/rollback_commands_test.rb
972
+ - test/unit/csv_serializer_test.rb
973
+ - test/unit/variable_definition_test.rb
933
974
  - test/unit/github_url_helper_test.rb
975
+ - test/unit/environment_variables_test.rb
934
976
  - test/unit/github_app_test.rb
935
- - test/unit/deploy_commands_test.rb
936
- - test/unit/rollback_commands_test.rb
937
- - test/test_helper.rb
938
- - test/jobs/refresh_status_job_test.rb
939
- - test/jobs/chunk_rollup_job_test.rb
940
- - test/jobs/deliver_hook_job_test.rb
941
- - test/jobs/emit_event_job_test.rb
942
- - test/jobs/perform_task_job_test.rb
943
- - test/jobs/destroy_stack_job_test.rb
944
- - test/jobs/purge_old_deliveries_job_test.rb
945
- - test/jobs/github_sync_job_test.rb
946
- - test/jobs/unique_job_test.rb
947
- - test/jobs/refresh_github_user_job_test.rb
948
- - test/jobs/merge_pull_requests_job_test.rb
949
- - test/jobs/fetch_deployed_revision_job_test.rb
950
- - test/jobs/fetch_commit_stats_job_test.rb
951
- - test/jobs/append_delayed_release_status_job_test.rb
952
- - test/jobs/cache_deploy_spec_job_test.rb
953
- - test/models/status/missing_test.rb
954
- - test/models/status/group_test.rb
955
- - test/models/tasks_test.rb
956
- - test/models/github_hook_test.rb
957
- - test/models/duration_test.rb
958
- - test/models/output_chunk_test.rb
959
- - test/models/task_definitions_test.rb
960
- - test/models/team_test.rb
961
977
  - test/models/release_statuses_test.rb
962
- - test/models/commits_test.rb
963
- - test/models/commit_deployment_test.rb
964
- - test/models/deploy_spec_test.rb
965
- - test/models/commit_deployment_status_test.rb
966
- - test/models/api_client_test.rb
967
- - test/models/membership_test.rb
978
+ - test/models/deploys_test.rb
968
979
  - test/models/undeployed_commits_test.rb
980
+ - test/models/team_test.rb
981
+ - test/models/rollbacks_test.rb
969
982
  - test/models/commit_checks_test.rb
983
+ - test/models/github_hook_test.rb
984
+ - test/models/task_definitions_test.rb
985
+ - test/models/tasks_test.rb
986
+ - test/models/output_chunk_test.rb
987
+ - test/models/commit_deployment_status_test.rb
970
988
  - test/models/delivery_test.rb
971
- - test/models/status_test.rb
989
+ - test/models/users_test.rb
990
+ - test/models/commit_deployment_test.rb
991
+ - test/models/duration_test.rb
992
+ - test/models/api_client_test.rb
993
+ - test/models/shipit/check_run_test.rb
994
+ - test/models/commits_test.rb
995
+ - test/models/status/group_test.rb
996
+ - test/models/status/missing_test.rb
997
+ - test/models/deploy_spec_test.rb
972
998
  - test/models/stacks_test.rb
973
- - test/models/deploys_test.rb
974
999
  - test/models/hook_test.rb
975
- - test/models/shipit/check_run_test.rb
1000
+ - test/models/membership_test.rb
1001
+ - test/models/status_test.rb
976
1002
  - test/models/pull_request_test.rb
977
- - test/models/users_test.rb
978
- - test/models/rollbacks_test.rb
979
- - test/helpers/fixture_aliases_helper.rb
1003
+ - test/test_command_integration.rb
1004
+ - test/helpers/hooks_helper.rb
980
1005
  - test/helpers/queries_helper.rb
981
- - test/helpers/api_helper.rb
1006
+ - test/helpers/json_helper.rb
1007
+ - test/helpers/fixture_aliases_helper.rb
982
1008
  - test/helpers/payloads_helper.rb
983
1009
  - test/helpers/links_helper.rb
984
- - test/helpers/hooks_helper.rb
985
- - test/helpers/json_helper.rb
986
- - test/dummy/app/controllers/application_controller.rb
987
- - test/dummy/app/helpers/application_helper.rb
988
- - test/dummy/app/views/layouts/application.html.erb
989
- - test/dummy/app/assets/stylesheets/application.css
990
- - test/dummy/app/assets/javascripts/application.js
991
- - test/dummy/bin/bundle
992
- - test/dummy/bin/rake
993
- - test/dummy/bin/rails
994
- - test/dummy/bin/setup
995
- - test/dummy/config/initializers/filter_parameter_logging.rb
996
- - test/dummy/config/initializers/wrap_parameters.rb
997
- - test/dummy/config/initializers/0_load_development_secrets.rb
998
- - test/dummy/config/initializers/backtrace_silencers.rb
999
- - test/dummy/config/initializers/cookies_serializer.rb
1000
- - test/dummy/config/initializers/session_store.rb
1001
- - test/dummy/config/initializers/assets.rb
1002
- - test/dummy/config/initializers/mime_types.rb
1003
- - test/dummy/config/initializers/inflections.rb
1004
- - test/dummy/config/secrets.yml
1005
- - test/dummy/config/database.mysql.yml
1006
- - test/dummy/config/application.rb
1007
- - test/dummy/config/database.postgresql.yml
1008
- - test/dummy/config/database.yml
1009
- - test/dummy/config/environment.rb
1010
- - test/dummy/config/boot.rb
1011
- - test/dummy/config/locales/en.yml
1012
- - test/dummy/config/environments/development.rb
1013
- - test/dummy/config/environments/test.rb
1014
- - test/dummy/config/environments/production.rb
1015
- - test/dummy/config/routes.rb
1016
- - test/dummy/public/500.html
1017
- - test/dummy/public/favicon.ico
1018
- - test/dummy/public/422.html
1019
- - test/dummy/public/404.html
1020
- - test/dummy/db/schema.rb
1021
- - test/dummy/db/seeds.rb
1022
- - test/dummy/Rakefile
1023
- - test/dummy/config.ru
1024
- - test/test_command_integration.rb
1025
- - test/fixtures/payloads/push_not_master.json
1026
- - test/fixtures/payloads/check_suite_master.json
1027
- - test/fixtures/payloads/push_master.json
1028
- - test/fixtures/payloads/status_master.json
1010
+ - test/helpers/api_helper.rb
1011
+ - test/jobs/emit_event_job_test.rb
1012
+ - test/jobs/unique_job_test.rb
1013
+ - test/jobs/merge_pull_requests_job_test.rb
1014
+ - test/jobs/deliver_hook_job_test.rb
1015
+ - test/jobs/refresh_status_job_test.rb
1016
+ - test/jobs/fetch_deployed_revision_job_test.rb
1017
+ - test/jobs/purge_old_deliveries_job_test.rb
1018
+ - test/jobs/refresh_github_user_job_test.rb
1019
+ - test/jobs/chunk_rollup_job_test.rb
1020
+ - test/jobs/mark_deploy_healthy_job_test.rb
1021
+ - test/jobs/fetch_commit_stats_job_test.rb
1022
+ - test/jobs/cache_deploy_spec_job_test.rb
1023
+ - test/jobs/perform_task_job_test.rb
1024
+ - test/jobs/github_sync_job_test.rb
1025
+ - test/jobs/destroy_stack_job_test.rb
1029
1026
  - test/fixtures/timeout
1030
- - test/fixtures/shipit/memberships.yml
1031
1027
  - test/fixtures/shipit/check_runs.yml
1032
- - test/fixtures/shipit/tasks.yml
1028
+ - test/fixtures/shipit/release_statuses.yml
1033
1029
  - test/fixtures/shipit/users.yml
1034
- - test/fixtures/shipit/statuses.yml
1030
+ - test/fixtures/shipit/output_chunks.yml
1035
1031
  - test/fixtures/shipit/deliveries.yml
1036
- - test/fixtures/shipit/stacks.yml
1037
- - test/fixtures/shipit/pull_requests.yml
1038
- - test/fixtures/shipit/teams.yml
1039
- - test/fixtures/shipit/github_hooks.yml
1040
1032
  - test/fixtures/shipit/hooks.yml
1041
- - test/fixtures/shipit/release_statuses.yml
1042
- - test/fixtures/shipit/commit_deployment_statuses.yml
1033
+ - test/fixtures/shipit/github_hooks.yml
1034
+ - test/fixtures/shipit/statuses.yml
1035
+ - test/fixtures/shipit/memberships.yml
1036
+ - test/fixtures/shipit/teams.yml
1037
+ - test/fixtures/shipit/tasks.yml
1038
+ - test/fixtures/shipit/api_clients.yml
1039
+ - test/fixtures/shipit/stacks.yml
1043
1040
  - test/fixtures/shipit/commits.yml
1041
+ - test/fixtures/shipit/pull_requests.yml
1044
1042
  - test/fixtures/shipit/commit_deployments.yml
1045
- - test/fixtures/shipit/api_clients.yml
1046
- - test/fixtures/shipit/output_chunks.yml
1043
+ - test/fixtures/shipit/commit_deployment_statuses.yml
1044
+ - test/fixtures/payloads/status_master.json
1045
+ - test/fixtures/payloads/push_master.json
1046
+ - test/fixtures/payloads/push_not_master.json
1047
+ - test/fixtures/payloads/check_suite_master.json
1048
+ - test/test_helper.rb