shipit-engine 0.32.0 → 0.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/magic-solid.svg +1 -0
- data/app/assets/javascripts/shipit/repositories_search.js.coffee +60 -0
- data/app/assets/javascripts/shipit/{search.js.coffee → stack_search.js.coffee} +0 -0
- data/app/assets/stylesheets/_pages/_repositories.scss +148 -0
- data/app/assets/stylesheets/_pages/_stacks.scss +19 -0
- data/app/assets/stylesheets/shipit.scss +1 -0
- data/app/controllers/shipit/api/{pull_requests_controller.rb → merge_requests_controller.rb} +8 -8
- data/app/controllers/shipit/api/stacks_controller.rb +14 -1
- data/app/controllers/shipit/deploys_controller.rb +2 -2
- data/app/controllers/shipit/merge_requests_controller.rb +31 -0
- data/app/controllers/shipit/merge_status_controller.rb +15 -15
- data/app/controllers/shipit/repositories_controller.rb +74 -0
- data/app/controllers/shipit/tasks_controller.rb +4 -4
- data/app/helpers/shipit/chunks_helper.rb +2 -2
- data/app/helpers/shipit/github_url_helper.rb +8 -0
- data/app/helpers/shipit/stacks_helper.rb +4 -0
- data/app/jobs/shipit/create_on_github_job.rb +1 -0
- data/app/jobs/shipit/destroy_repository_job.rb +24 -0
- data/app/jobs/shipit/destroy_stack_job.rb +2 -2
- data/app/jobs/shipit/perform_task_job.rb +4 -98
- data/app/jobs/shipit/process_merge_requests_job.rb +32 -0
- data/app/jobs/shipit/refresh_merge_request_job.rb +11 -0
- data/app/models/shipit/anonymous_user.rb +4 -0
- data/app/models/shipit/check_run.rb +2 -2
- data/app/models/shipit/command_line_user.rb +4 -0
- data/app/models/shipit/commit.rb +11 -11
- data/app/models/shipit/commit_checks.rb +1 -0
- data/app/models/shipit/deploy.rb +1 -0
- data/app/models/shipit/deploy_spec.rb +16 -4
- data/app/models/shipit/deploy_spec/file_system.rb +11 -5
- data/app/models/shipit/hook.rb +2 -0
- data/app/models/shipit/merge_request.rb +302 -0
- data/app/models/shipit/provisioning_handler.rb +32 -0
- data/app/models/shipit/provisioning_handler/base.rb +30 -0
- data/app/models/shipit/provisioning_handler/unregistered_provisioning_handler.rb +35 -0
- data/app/models/shipit/pull_request.rb +25 -264
- data/app/models/shipit/pull_request_assignment.rb +10 -0
- data/app/models/shipit/repository.rb +54 -0
- data/app/models/shipit/review_stack.rb +116 -0
- data/app/models/shipit/review_stack_provisioning_queue.rb +39 -0
- data/app/models/shipit/stack.rb +22 -8
- data/app/models/shipit/task.rb +56 -7
- data/app/models/shipit/task_execution_strategy/base.rb +20 -0
- data/app/models/shipit/task_execution_strategy/default.rb +110 -0
- data/app/models/shipit/user.rb +6 -1
- data/app/models/shipit/webhooks.rb +10 -0
- data/app/models/shipit/webhooks/handlers/pull_request/assigned_handler.rb +74 -0
- data/app/models/shipit/webhooks/handlers/pull_request/closed_handler.rb +68 -0
- data/app/models/shipit/webhooks/handlers/pull_request/edited_handler.rb +74 -0
- data/app/models/shipit/webhooks/handlers/pull_request/label_capturing_handler.rb +127 -0
- data/app/models/shipit/webhooks/handlers/pull_request/labeled_handler.rb +106 -0
- data/app/models/shipit/webhooks/handlers/pull_request/opened_handler.rb +83 -0
- data/app/models/shipit/webhooks/handlers/pull_request/reopened_handler.rb +88 -0
- data/app/models/shipit/webhooks/handlers/pull_request/review_stack_adapter.rb +103 -0
- data/app/models/shipit/webhooks/handlers/pull_request/unlabeled_handler.rb +107 -0
- data/app/serializers/shipit/deploy_serializer.rb +6 -0
- data/app/serializers/shipit/merge_request_serializer.rb +21 -0
- data/app/serializers/shipit/pull_request_serializer.rb +5 -8
- data/app/serializers/shipit/review_stack_serializer.rb +7 -0
- data/app/serializers/shipit/stack_serializer.rb +7 -6
- data/app/serializers/shipit/tail_task_serializer.rb +10 -2
- data/app/serializers/shipit/task_serializer.rb +1 -1
- data/app/views/shipit/merge_requests/_merge_request.html.erb +29 -0
- data/app/views/shipit/{pull_requests → merge_requests}/index.html.erb +2 -2
- data/app/views/shipit/merge_requests/merge_requests/_pull_request.html.erb +29 -0
- data/app/views/shipit/merge_requests/merge_requests/index.html.erb +20 -0
- data/app/views/shipit/merge_status/_merge_queue_button.html.erb +3 -3
- data/app/views/shipit/merge_status/backlogged.html.erb +1 -1
- data/app/views/shipit/merge_status/failure.html.erb +1 -1
- data/app/views/shipit/merge_status/locked.html.erb +1 -1
- data/app/views/shipit/merge_status/success.html.erb +2 -2
- data/app/views/shipit/repositories/_header.html.erb +19 -0
- data/app/views/shipit/repositories/index.html.erb +31 -0
- data/app/views/shipit/repositories/new.html.erb +23 -0
- data/app/views/shipit/repositories/settings.html.erb +53 -0
- data/app/views/shipit/repositories/show.html.erb +30 -0
- data/app/views/shipit/stacks/_banners.html.erb +13 -0
- data/app/views/shipit/stacks/_header.html.erb +5 -2
- data/app/views/shipit/stacks/_stack.html.erb +8 -0
- data/app/views/shipit/stacks/index.html.erb +2 -1
- data/app/views/shipit/stacks/settings.html.erb +5 -5
- data/app/views/shipit/stacks/show.html.erb +1 -1
- data/app/views/shipit/tasks/_task_output.html.erb +1 -1
- data/config/routes.rb +15 -5
- data/db/migrate/20200706145406_add_review_stacks.rb +12 -0
- data/db/migrate/20200804144639_rename_pull_request_to_merge_request.rb +7 -0
- data/db/migrate/20200804161512_rename_commits_pull_request_id_to_merge_request_id.rb +5 -0
- data/db/migrate/20200813134712_recreate_shipit_pull_requests.rb +22 -0
- data/db/migrate/20200813194056_create_pull_request_assignments.rb +8 -0
- data/db/migrate/20201001125502_add_provision_pr_stacks_flag_to_repositories.rb +7 -0
- data/db/migrate/20201008145809_add_retry_attempt_to_tasks.rb +5 -0
- data/db/migrate/20201008152744_add_max_retries_to_tasks.rb +5 -0
- data/lib/shipit.rb +11 -1
- data/lib/shipit/github_app.rb +1 -1
- data/lib/shipit/review_stack_commands.rb +8 -0
- data/lib/shipit/stack_commands.rb +6 -1
- data/lib/shipit/task_commands.rb +1 -0
- data/lib/shipit/version.rb +1 -1
- data/lib/tasks/cron.rake +11 -2
- data/test/controllers/api/{pull_requests_controller_test.rb → merge_requests_controller_test.rb} +12 -12
- data/test/controllers/api/outputs_controller_test.rb +1 -0
- data/test/controllers/api/rollback_controller_test.rb +1 -1
- data/test/controllers/api/stacks_controller_test.rb +21 -1
- data/test/controllers/{pull_requests_controller_test.rb → merge_requests_controller_test.rb} +6 -6
- data/test/controllers/repositories_controller_test.rb +71 -0
- data/test/controllers/stacks_controller_test.rb +9 -1
- data/test/controllers/tasks_controller_test.rb +14 -2
- data/test/controllers/webhooks_controller_test.rb +1 -1
- data/test/dummy/config/application.rb +6 -1
- data/test/dummy/config/environments/development.rb +0 -3
- data/test/dummy/config/environments/test.rb +0 -5
- data/test/dummy/db/schema.rb +52 -14
- data/test/dummy/db/seeds.rb +1 -1
- data/test/fixtures/payloads/check_suite_master.json +2 -2
- data/test/fixtures/payloads/invalid_pull_request.json +117 -0
- data/test/fixtures/payloads/provision_disabled_pull_request.json +454 -0
- data/test/fixtures/payloads/pull_request_assigned.json +480 -0
- data/test/fixtures/payloads/pull_request_closed.json +454 -0
- data/test/fixtures/payloads/pull_request_labeled.json +461 -0
- data/test/fixtures/payloads/pull_request_opened.json +454 -0
- data/test/fixtures/payloads/pull_request_reopened.json +454 -0
- data/test/fixtures/payloads/pull_request_unlabeled.json +454 -0
- data/test/fixtures/payloads/pull_request_with_no_repo.json +454 -0
- data/test/fixtures/shipit/commits.yml +15 -2
- data/test/fixtures/shipit/merge_requests.yml +141 -0
- data/test/fixtures/shipit/pull_request_assignments.yml +3 -0
- data/test/fixtures/shipit/pull_requests.yml +10 -131
- data/test/fixtures/shipit/repositories.yml +1 -0
- data/test/fixtures/shipit/stacks.yml +145 -0
- data/test/fixtures/shipit/statuses.yml +9 -0
- data/test/fixtures/shipit/tasks.yml +3 -0
- data/test/fixtures/shipit/users.yml +7 -0
- data/test/helpers/payloads_helper.rb +4 -0
- data/test/jobs/chunk_rollup_job_test.rb +15 -1
- data/test/jobs/destroy_repository_job_test.rb +27 -0
- data/test/jobs/perform_task_job_test.rb +8 -8
- data/test/jobs/{merge_pull_requests_job_test.rb → process_merge_requests_job_test.rb} +18 -18
- data/test/lib/shipit/deploy_commands_test.rb +16 -0
- data/test/lib/shipit/task_commands_test.rb +17 -0
- data/test/models/commits_test.rb +22 -13
- data/test/models/deploy_spec_test.rb +57 -24
- data/test/models/deploys_test.rb +148 -14
- data/test/models/{pull_request_test.rb → merge_request_test.rb} +30 -30
- data/test/models/pull_request_assignment_test.rb +16 -0
- data/test/models/shipit/provisioning_handler/base_test.rb +33 -0
- data/test/models/shipit/provisioning_handler/unregistered_provisioning_handler_test.rb +49 -0
- data/test/models/shipit/provisioning_handler_test.rb +64 -0
- data/test/models/shipit/pull_request_test.rb +52 -0
- data/test/models/shipit/repository_test.rb +5 -1
- data/test/models/shipit/review_stack_provision_status_test.rb +77 -0
- data/test/models/shipit/review_stack_provisioning_queue_test.rb +63 -0
- data/test/models/shipit/review_stack_test.rb +59 -0
- data/test/models/{stacks_test.rb → shipit/stacks_test.rb} +10 -4
- data/test/models/shipit/webhooks/handlers/pull_request/assigned_handler_test.rb +45 -0
- data/test/models/shipit/webhooks/handlers/pull_request/closed_handler_test.rb +192 -0
- data/test/models/shipit/webhooks/handlers/pull_request/edited_handler_test.rb +47 -0
- data/test/models/shipit/webhooks/handlers/pull_request/label_capturing_handler_test.rb +209 -0
- data/test/models/shipit/webhooks/handlers/pull_request/labeled_handler_test.rb +332 -0
- data/test/models/shipit/webhooks/handlers/pull_request/opened_handler_test.rb +238 -0
- data/test/models/shipit/webhooks/handlers/pull_request/reopened_handler_test.rb +282 -0
- data/test/models/shipit/webhooks/handlers/pull_request/review_stack_adapter_test.rb +83 -0
- data/test/models/shipit/webhooks/handlers/pull_request/unlabeled_handler_test.rb +324 -0
- data/test/models/shipit/{wehbooks → webhooks}/handlers_test.rb +0 -0
- data/test/models/tasks_test.rb +44 -3
- data/test/serializers/shipit/pull_request_serializer_test.rb +29 -0
- data/test/unit/command_test.rb +3 -3
- data/test/unit/github_url_helper_test.rb +5 -0
- data/test/unit/shipit_task_execution_strategy_test.rb +47 -0
- metadata +260 -154
- data/app/controllers/shipit/pull_requests_controller.rb +0 -31
- data/app/jobs/shipit/merge_pull_requests_job.rb +0 -32
- data/app/jobs/shipit/refresh_pull_request_job.rb +0 -11
- data/app/views/shipit/pull_requests/_pull_request.html.erb +0 -29
- data/test/fixtures/shipit/output_chunks.yml +0 -47
- data/test/models/output_chunk_test.rb +0 -21
@@ -0,0 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "test_helper"
|
4
|
+
|
5
|
+
module Shipit
|
6
|
+
class PulLRequestSerializerTest < ActiveSupport::TestCase
|
7
|
+
test "structure" do
|
8
|
+
pull_request = shipit_pull_requests(:review_stack_review)
|
9
|
+
|
10
|
+
serialized = serializer.new(pull_request).as_json
|
11
|
+
|
12
|
+
assert_includes serialized.keys, :id
|
13
|
+
assert_includes serialized.keys, :number
|
14
|
+
assert_includes serialized.keys, :title
|
15
|
+
assert_includes serialized.keys, :github_id
|
16
|
+
assert_includes serialized.keys, :additions
|
17
|
+
assert_includes serialized.keys, :deletions
|
18
|
+
assert_includes serialized.keys, :state
|
19
|
+
assert_includes serialized.keys, :html_url
|
20
|
+
assert_includes serialized.keys, :user
|
21
|
+
assert_includes serialized.keys, :assignees
|
22
|
+
assert_includes serialized.keys, :head
|
23
|
+
end
|
24
|
+
|
25
|
+
def serializer
|
26
|
+
Shipit::PullRequestSerializer
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
data/test/unit/command_test.rb
CHANGED
@@ -59,14 +59,14 @@ module Shipit
|
|
59
59
|
end
|
60
60
|
|
61
61
|
test "command not found" do
|
62
|
-
error = assert_raises
|
62
|
+
error = assert_raises(Command::NotFound) do
|
63
63
|
Command.new('does-not-exist foo bar', env: {}, chdir: '.').run
|
64
64
|
end
|
65
65
|
assert_equal 'does-not-exist: command not found', error.message
|
66
66
|
end
|
67
67
|
|
68
68
|
test "permission denied" do
|
69
|
-
error = assert_raises
|
69
|
+
error = assert_raises(Command::Denied) do
|
70
70
|
Command.new('/etc/passwd foo bar', env: {}, chdir: '.').run
|
71
71
|
end
|
72
72
|
assert_equal '/etc/passwd: Permission denied', error.message
|
@@ -121,7 +121,7 @@ module Shipit
|
|
121
121
|
signalled = true
|
122
122
|
break
|
123
123
|
end
|
124
|
-
sleep
|
124
|
+
sleep(0.1)
|
125
125
|
end
|
126
126
|
signalled
|
127
127
|
end
|
@@ -17,5 +17,10 @@ module Shipit
|
|
17
17
|
expected = 'https://github.com/shopify/shipit-engine/commit/6d9278037b872fd9a6690523e411ecb3aa181355'
|
18
18
|
assert_equal expected, github_commit_url(shipit_commits(:first))
|
19
19
|
end
|
20
|
+
|
21
|
+
test "#github_pull_request_url returns a PR url" do
|
22
|
+
expected = 'https://github.com/shopify/shipit-engine/pull/62'
|
23
|
+
assert_equal expected, github_pull_request_url(shipit_merge_requests(:shipit_pending))
|
24
|
+
end
|
20
25
|
end
|
21
26
|
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'test_helper'
|
4
|
+
|
5
|
+
module Shipit
|
6
|
+
class ShipitTaskExecutionStrategyTest < ActiveSupport::TestCase
|
7
|
+
setup do
|
8
|
+
class FakeExecutionStrategy < Shipit::TaskExecutionStrategy::Base
|
9
|
+
def execute; end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
teardown do
|
14
|
+
Shipit.task_execution_strategy = nil
|
15
|
+
|
16
|
+
Object.send(:remove_const, :FakeExecutionStrategy) if Object.const_defined?(:FakeExecutionStrategy)
|
17
|
+
end
|
18
|
+
|
19
|
+
test "uses the default strategy" do
|
20
|
+
Shipit.task_execution_strategy = nil
|
21
|
+
|
22
|
+
assert_equal Shipit::TaskExecutionStrategy::Default, Shipit.task_execution_strategy
|
23
|
+
end
|
24
|
+
|
25
|
+
test "allows registration of an execution strategy" do
|
26
|
+
strategy = FakeExecutionStrategy
|
27
|
+
|
28
|
+
Shipit.task_execution_strategy = strategy
|
29
|
+
|
30
|
+
assert_equal(
|
31
|
+
strategy,
|
32
|
+
Shipit.task_execution_strategy
|
33
|
+
)
|
34
|
+
end
|
35
|
+
|
36
|
+
test "the registered execution strategy is invoked during execution of a task" do
|
37
|
+
task_type = Shipit::Deploy
|
38
|
+
task = task_type.new
|
39
|
+
strategy = FakeExecutionStrategy
|
40
|
+
strategy.any_instance.expects(:execute)
|
41
|
+
|
42
|
+
Shipit.task_execution_strategy = strategy
|
43
|
+
|
44
|
+
Shipit::PerformTaskJob.new.perform(task)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
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.
|
4
|
+
version: 0.33.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:
|
11
|
+
date: 2021-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|
@@ -418,6 +418,7 @@ files:
|
|
418
418
|
- app/assets/images/flapping.svg
|
419
419
|
- app/assets/images/lock.svg
|
420
420
|
- app/assets/images/logo.svg
|
421
|
+
- app/assets/images/magic-solid.svg
|
421
422
|
- app/assets/images/pending-small.svg
|
422
423
|
- app/assets/images/pending.gif
|
423
424
|
- app/assets/images/search-active.svg
|
@@ -437,7 +438,8 @@ files:
|
|
437
438
|
- app/assets/javascripts/shipit/deploy.js.coffee
|
438
439
|
- app/assets/javascripts/shipit/flash.js.coffee
|
439
440
|
- app/assets/javascripts/shipit/page_updater.js.coffee
|
440
|
-
- app/assets/javascripts/shipit/
|
441
|
+
- app/assets/javascripts/shipit/repositories_search.js.coffee
|
442
|
+
- app/assets/javascripts/shipit/stack_search.js.coffee
|
441
443
|
- app/assets/javascripts/shipit/stacks.js.coffee
|
442
444
|
- app/assets/javascripts/task.js.coffee
|
443
445
|
- app/assets/javascripts/task/ansi_colors.js.coffee
|
@@ -459,6 +461,7 @@ files:
|
|
459
461
|
- app/assets/stylesheets/_base/_utility.scss
|
460
462
|
- app/assets/stylesheets/_pages/_commits.scss
|
461
463
|
- app/assets/stylesheets/_pages/_deploy.scss
|
464
|
+
- app/assets/stylesheets/_pages/_repositories.scss
|
462
465
|
- app/assets/stylesheets/_pages/_settings.scss
|
463
466
|
- app/assets/stylesheets/_pages/_stacks.scss
|
464
467
|
- app/assets/stylesheets/_structure/_layout.scss
|
@@ -482,8 +485,8 @@ files:
|
|
482
485
|
- app/controllers/shipit/api/deploys_controller.rb
|
483
486
|
- app/controllers/shipit/api/hooks_controller.rb
|
484
487
|
- app/controllers/shipit/api/locks_controller.rb
|
488
|
+
- app/controllers/shipit/api/merge_requests_controller.rb
|
485
489
|
- app/controllers/shipit/api/outputs_controller.rb
|
486
|
-
- app/controllers/shipit/api/pull_requests_controller.rb
|
487
490
|
- app/controllers/shipit/api/release_statuses_controller.rb
|
488
491
|
- app/controllers/shipit/api/rollbacks_controller.rb
|
489
492
|
- app/controllers/shipit/api/stacks_controller.rb
|
@@ -494,9 +497,10 @@ files:
|
|
494
497
|
- app/controllers/shipit/commits_controller.rb
|
495
498
|
- app/controllers/shipit/deploys_controller.rb
|
496
499
|
- app/controllers/shipit/github_authentication_controller.rb
|
500
|
+
- app/controllers/shipit/merge_requests_controller.rb
|
497
501
|
- app/controllers/shipit/merge_status_controller.rb
|
498
|
-
- app/controllers/shipit/pull_requests_controller.rb
|
499
502
|
- app/controllers/shipit/release_statuses_controller.rb
|
503
|
+
- app/controllers/shipit/repositories_controller.rb
|
500
504
|
- app/controllers/shipit/rollbacks_controller.rb
|
501
505
|
- app/controllers/shipit/shipit_controller.rb
|
502
506
|
- app/controllers/shipit/stacks_controller.rb
|
@@ -521,20 +525,21 @@ files:
|
|
521
525
|
- app/jobs/shipit/deferred_touch_job.rb
|
522
526
|
- app/jobs/shipit/deliver_hook_job.rb
|
523
527
|
- app/jobs/shipit/destroy_job.rb
|
528
|
+
- app/jobs/shipit/destroy_repository_job.rb
|
524
529
|
- app/jobs/shipit/destroy_stack_job.rb
|
525
530
|
- app/jobs/shipit/emit_event_job.rb
|
526
531
|
- app/jobs/shipit/fetch_commit_stats_job.rb
|
527
532
|
- app/jobs/shipit/fetch_deployed_revision_job.rb
|
528
533
|
- app/jobs/shipit/github_sync_job.rb
|
529
534
|
- app/jobs/shipit/mark_deploy_healthy_job.rb
|
530
|
-
- app/jobs/shipit/merge_pull_requests_job.rb
|
531
535
|
- app/jobs/shipit/perform_commit_checks_job.rb
|
532
536
|
- app/jobs/shipit/perform_task_job.rb
|
537
|
+
- app/jobs/shipit/process_merge_requests_job.rb
|
533
538
|
- app/jobs/shipit/purge_old_deliveries_job.rb
|
534
539
|
- app/jobs/shipit/reap_dead_tasks_job.rb
|
535
540
|
- app/jobs/shipit/refresh_check_runs_job.rb
|
536
541
|
- app/jobs/shipit/refresh_github_user_job.rb
|
537
|
-
- app/jobs/shipit/
|
542
|
+
- app/jobs/shipit/refresh_merge_request_job.rb
|
538
543
|
- app/jobs/shipit/refresh_statuses_job.rb
|
539
544
|
- app/jobs/shipit/setup_github_hook_job.rb
|
540
545
|
- app/jobs/shipit/update_estimated_deploy_duration_job.rb
|
@@ -568,11 +573,18 @@ files:
|
|
568
573
|
- app/models/shipit/github_status.rb
|
569
574
|
- app/models/shipit/hook.rb
|
570
575
|
- app/models/shipit/membership.rb
|
576
|
+
- app/models/shipit/merge_request.rb
|
571
577
|
- app/models/shipit/output_chunk.rb
|
578
|
+
- app/models/shipit/provisioning_handler.rb
|
579
|
+
- app/models/shipit/provisioning_handler/base.rb
|
580
|
+
- app/models/shipit/provisioning_handler/unregistered_provisioning_handler.rb
|
572
581
|
- app/models/shipit/pull_request.rb
|
582
|
+
- app/models/shipit/pull_request_assignment.rb
|
573
583
|
- app/models/shipit/record.rb
|
574
584
|
- app/models/shipit/release_status.rb
|
575
585
|
- app/models/shipit/repository.rb
|
586
|
+
- app/models/shipit/review_stack.rb
|
587
|
+
- app/models/shipit/review_stack_provisioning_queue.rb
|
576
588
|
- app/models/shipit/rollback.rb
|
577
589
|
- app/models/shipit/stack.rb
|
578
590
|
- app/models/shipit/status.rb
|
@@ -582,6 +594,8 @@ files:
|
|
582
594
|
- app/models/shipit/status/unknown.rb
|
583
595
|
- app/models/shipit/task.rb
|
584
596
|
- app/models/shipit/task_definition.rb
|
597
|
+
- app/models/shipit/task_execution_strategy/base.rb
|
598
|
+
- app/models/shipit/task_execution_strategy/default.rb
|
585
599
|
- app/models/shipit/team.rb
|
586
600
|
- app/models/shipit/undeployed_commit.rb
|
587
601
|
- app/models/shipit/unlimited_api_client.rb
|
@@ -591,6 +605,15 @@ files:
|
|
591
605
|
- app/models/shipit/webhooks/handlers/check_suite_handler.rb
|
592
606
|
- app/models/shipit/webhooks/handlers/handler.rb
|
593
607
|
- app/models/shipit/webhooks/handlers/membership_handler.rb
|
608
|
+
- app/models/shipit/webhooks/handlers/pull_request/assigned_handler.rb
|
609
|
+
- app/models/shipit/webhooks/handlers/pull_request/closed_handler.rb
|
610
|
+
- app/models/shipit/webhooks/handlers/pull_request/edited_handler.rb
|
611
|
+
- app/models/shipit/webhooks/handlers/pull_request/label_capturing_handler.rb
|
612
|
+
- app/models/shipit/webhooks/handlers/pull_request/labeled_handler.rb
|
613
|
+
- app/models/shipit/webhooks/handlers/pull_request/opened_handler.rb
|
614
|
+
- app/models/shipit/webhooks/handlers/pull_request/reopened_handler.rb
|
615
|
+
- app/models/shipit/webhooks/handlers/pull_request/review_stack_adapter.rb
|
616
|
+
- app/models/shipit/webhooks/handlers/pull_request/unlabeled_handler.rb
|
594
617
|
- app/models/shipit/webhooks/handlers/push_handler.rb
|
595
618
|
- app/models/shipit/webhooks/handlers/status_handler.rb
|
596
619
|
- app/serializers/concerns/shipit/conditional_attributes.rb
|
@@ -599,7 +622,9 @@ files:
|
|
599
622
|
- app/serializers/shipit/commit_serializer.rb
|
600
623
|
- app/serializers/shipit/deploy_serializer.rb
|
601
624
|
- app/serializers/shipit/hook_serializer.rb
|
625
|
+
- app/serializers/shipit/merge_request_serializer.rb
|
602
626
|
- app/serializers/shipit/pull_request_serializer.rb
|
627
|
+
- app/serializers/shipit/review_stack_serializer.rb
|
603
628
|
- app/serializers/shipit/rollback_serializer.rb
|
604
629
|
- app/serializers/shipit/short_commit_serializer.rb
|
605
630
|
- app/serializers/shipit/stack_serializer.rb
|
@@ -628,6 +653,10 @@ files:
|
|
628
653
|
- app/views/shipit/deploys/rollback.html.erb
|
629
654
|
- app/views/shipit/deploys/show.html.erb
|
630
655
|
- app/views/shipit/github_authentication/failed.html.erb
|
656
|
+
- app/views/shipit/merge_requests/_merge_request.html.erb
|
657
|
+
- app/views/shipit/merge_requests/index.html.erb
|
658
|
+
- app/views/shipit/merge_requests/merge_requests/_pull_request.html.erb
|
659
|
+
- app/views/shipit/merge_requests/merge_requests/index.html.erb
|
631
660
|
- app/views/shipit/merge_status/_anchor.html.erb
|
632
661
|
- app/views/shipit/merge_status/_commit_count_warning.html.erb
|
633
662
|
- app/views/shipit/merge_status/_merge_queue_button.html.erb
|
@@ -638,12 +667,16 @@ files:
|
|
638
667
|
- app/views/shipit/merge_status/logged_out.erb
|
639
668
|
- app/views/shipit/merge_status/success.html.erb
|
640
669
|
- app/views/shipit/missing_settings.html.erb
|
641
|
-
- app/views/shipit/
|
642
|
-
- app/views/shipit/
|
670
|
+
- app/views/shipit/repositories/_header.html.erb
|
671
|
+
- app/views/shipit/repositories/index.html.erb
|
672
|
+
- app/views/shipit/repositories/new.html.erb
|
673
|
+
- app/views/shipit/repositories/settings.html.erb
|
674
|
+
- app/views/shipit/repositories/show.html.erb
|
643
675
|
- app/views/shipit/shared/_author.html.erb
|
644
676
|
- app/views/shipit/stacks/_banners.html.erb
|
645
677
|
- app/views/shipit/stacks/_header.html.erb
|
646
678
|
- app/views/shipit/stacks/_links.html.erb
|
679
|
+
- app/views/shipit/stacks/_stack.html.erb
|
647
680
|
- app/views/shipit/stacks/all_tasks.html.erb
|
648
681
|
- app/views/shipit/stacks/index.html.erb
|
649
682
|
- app/views/shipit/stacks/new.html.erb
|
@@ -725,6 +758,14 @@ files:
|
|
725
758
|
- db/migrate/20200226211925_add_index_to_tasks_status.rb
|
726
759
|
- db/migrate/20200427135152_add_pull_request_head_sha_to_commit.rb
|
727
760
|
- db/migrate/20200615181558_add_rollback_once_aborted_to.rb
|
761
|
+
- db/migrate/20200706145406_add_review_stacks.rb
|
762
|
+
- db/migrate/20200804144639_rename_pull_request_to_merge_request.rb
|
763
|
+
- db/migrate/20200804161512_rename_commits_pull_request_id_to_merge_request_id.rb
|
764
|
+
- db/migrate/20200813134712_recreate_shipit_pull_requests.rb
|
765
|
+
- db/migrate/20200813194056_create_pull_request_assignments.rb
|
766
|
+
- db/migrate/20201001125502_add_provision_pr_stacks_flag_to_repositories.rb
|
767
|
+
- db/migrate/20201008145809_add_retry_attempt_to_tasks.rb
|
768
|
+
- db/migrate/20201008152744_add_max_retries_to_tasks.rb
|
728
769
|
- lib/shipit-engine.rb
|
729
770
|
- lib/shipit.rb
|
730
771
|
- lib/shipit/cast_value.rb
|
@@ -743,6 +784,7 @@ files:
|
|
743
784
|
- lib/shipit/octokit_check_runs.rb
|
744
785
|
- lib/shipit/octokit_iterator.rb
|
745
786
|
- lib/shipit/paginator.rb
|
787
|
+
- lib/shipit/review_stack_commands.rb
|
746
788
|
- lib/shipit/rollback_commands.rb
|
747
789
|
- lib/shipit/same_site_cookie_middleware.rb
|
748
790
|
- lib/shipit/simple_message_verifier.rb
|
@@ -775,8 +817,8 @@ files:
|
|
775
817
|
- test/controllers/api/deploys_controller_test.rb
|
776
818
|
- test/controllers/api/hooks_controller_test.rb
|
777
819
|
- test/controllers/api/locks_controller_test.rb
|
820
|
+
- test/controllers/api/merge_requests_controller_test.rb
|
778
821
|
- test/controllers/api/outputs_controller_test.rb
|
779
|
-
- test/controllers/api/pull_requests_controller_test.rb
|
780
822
|
- test/controllers/api/release_statuses_controller_test.rb
|
781
823
|
- test/controllers/api/rollback_controller_test.rb
|
782
824
|
- test/controllers/api/stacks_controller_test.rb
|
@@ -787,9 +829,10 @@ files:
|
|
787
829
|
- test/controllers/commits_controller_test.rb
|
788
830
|
- test/controllers/deploys_controller_test.rb
|
789
831
|
- test/controllers/github_authentication_controller_test.rb
|
832
|
+
- test/controllers/merge_requests_controller_test.rb
|
790
833
|
- test/controllers/merge_status_controller_test.rb
|
791
|
-
- test/controllers/pull_requests_controller_test.rb
|
792
834
|
- test/controllers/release_statuses_controller_test.rb
|
835
|
+
- test/controllers/repositories_controller_test.rb
|
793
836
|
- test/controllers/rollbacks_controller_test.rb
|
794
837
|
- test/controllers/stacks_controller_test.rb
|
795
838
|
- test/controllers/status_controller_test.rb
|
@@ -834,6 +877,15 @@ files:
|
|
834
877
|
- test/dummy/public/500.html
|
835
878
|
- test/dummy/public/favicon.ico
|
836
879
|
- test/fixtures/payloads/check_suite_master.json
|
880
|
+
- test/fixtures/payloads/invalid_pull_request.json
|
881
|
+
- test/fixtures/payloads/provision_disabled_pull_request.json
|
882
|
+
- test/fixtures/payloads/pull_request_assigned.json
|
883
|
+
- test/fixtures/payloads/pull_request_closed.json
|
884
|
+
- test/fixtures/payloads/pull_request_labeled.json
|
885
|
+
- test/fixtures/payloads/pull_request_opened.json
|
886
|
+
- test/fixtures/payloads/pull_request_reopened.json
|
887
|
+
- test/fixtures/payloads/pull_request_unlabeled.json
|
888
|
+
- test/fixtures/payloads/pull_request_with_no_repo.json
|
837
889
|
- test/fixtures/payloads/push_master.json
|
838
890
|
- test/fixtures/payloads/push_not_master.json
|
839
891
|
- test/fixtures/payloads/status_master.json
|
@@ -846,7 +898,8 @@ files:
|
|
846
898
|
- test/fixtures/shipit/github_hooks.yml
|
847
899
|
- test/fixtures/shipit/hooks.yml
|
848
900
|
- test/fixtures/shipit/memberships.yml
|
849
|
-
- test/fixtures/shipit/
|
901
|
+
- test/fixtures/shipit/merge_requests.yml
|
902
|
+
- test/fixtures/shipit/pull_request_assignments.yml
|
850
903
|
- test/fixtures/shipit/pull_requests.yml
|
851
904
|
- test/fixtures/shipit/release_statuses.yml
|
852
905
|
- test/fixtures/shipit/repositories.yml
|
@@ -866,20 +919,23 @@ files:
|
|
866
919
|
- test/jobs/cache_deploy_spec_job_test.rb
|
867
920
|
- test/jobs/chunk_rollup_job_test.rb
|
868
921
|
- test/jobs/deliver_hook_job_test.rb
|
922
|
+
- test/jobs/destroy_repository_job_test.rb
|
869
923
|
- test/jobs/destroy_stack_job_test.rb
|
870
924
|
- test/jobs/emit_event_job_test.rb
|
871
925
|
- test/jobs/fetch_commit_stats_job_test.rb
|
872
926
|
- test/jobs/fetch_deployed_revision_job_test.rb
|
873
927
|
- test/jobs/github_sync_job_test.rb
|
874
928
|
- test/jobs/mark_deploy_healthy_job_test.rb
|
875
|
-
- test/jobs/merge_pull_requests_job_test.rb
|
876
929
|
- test/jobs/perform_task_job_test.rb
|
930
|
+
- test/jobs/process_merge_requests_job_test.rb
|
877
931
|
- test/jobs/purge_old_deliveries_job_test.rb
|
878
932
|
- test/jobs/reap_dead_tasks_job_test.rb
|
879
933
|
- test/jobs/refresh_github_user_job_test.rb
|
880
934
|
- test/jobs/refresh_status_job_test.rb
|
881
935
|
- test/jobs/unique_job_test.rb
|
882
936
|
- test/jobs/update_github_last_deployed_ref_job_test.rb
|
937
|
+
- test/lib/shipit/deploy_commands_test.rb
|
938
|
+
- test/lib/shipit/task_commands_test.rb
|
883
939
|
- test/middleware/same_site_cookie_middleware_test.rb
|
884
940
|
- test/models/api_client_test.rb
|
885
941
|
- test/models/commit_checks_test.rb
|
@@ -894,14 +950,30 @@ files:
|
|
894
950
|
- test/models/github_hook_test.rb
|
895
951
|
- test/models/hook_test.rb
|
896
952
|
- test/models/membership_test.rb
|
897
|
-
- test/models/
|
898
|
-
- test/models/
|
953
|
+
- test/models/merge_request_test.rb
|
954
|
+
- test/models/pull_request_assignment_test.rb
|
899
955
|
- test/models/release_statuses_test.rb
|
900
956
|
- test/models/rollbacks_test.rb
|
901
957
|
- test/models/shipit/check_run_test.rb
|
958
|
+
- test/models/shipit/provisioning_handler/base_test.rb
|
959
|
+
- test/models/shipit/provisioning_handler/unregistered_provisioning_handler_test.rb
|
960
|
+
- test/models/shipit/provisioning_handler_test.rb
|
961
|
+
- test/models/shipit/pull_request_test.rb
|
902
962
|
- test/models/shipit/repository_test.rb
|
903
|
-
- test/models/shipit/
|
904
|
-
- test/models/
|
963
|
+
- test/models/shipit/review_stack_provision_status_test.rb
|
964
|
+
- test/models/shipit/review_stack_provisioning_queue_test.rb
|
965
|
+
- test/models/shipit/review_stack_test.rb
|
966
|
+
- test/models/shipit/stacks_test.rb
|
967
|
+
- test/models/shipit/webhooks/handlers/pull_request/assigned_handler_test.rb
|
968
|
+
- test/models/shipit/webhooks/handlers/pull_request/closed_handler_test.rb
|
969
|
+
- test/models/shipit/webhooks/handlers/pull_request/edited_handler_test.rb
|
970
|
+
- test/models/shipit/webhooks/handlers/pull_request/label_capturing_handler_test.rb
|
971
|
+
- test/models/shipit/webhooks/handlers/pull_request/labeled_handler_test.rb
|
972
|
+
- test/models/shipit/webhooks/handlers/pull_request/opened_handler_test.rb
|
973
|
+
- test/models/shipit/webhooks/handlers/pull_request/reopened_handler_test.rb
|
974
|
+
- test/models/shipit/webhooks/handlers/pull_request/review_stack_adapter_test.rb
|
975
|
+
- test/models/shipit/webhooks/handlers/pull_request/unlabeled_handler_test.rb
|
976
|
+
- test/models/shipit/webhooks/handlers_test.rb
|
905
977
|
- test/models/status/group_test.rb
|
906
978
|
- test/models/status/missing_test.rb
|
907
979
|
- test/models/status_test.rb
|
@@ -910,6 +982,7 @@ files:
|
|
910
982
|
- test/models/team_test.rb
|
911
983
|
- test/models/undeployed_commits_test.rb
|
912
984
|
- test/models/users_test.rb
|
985
|
+
- test/serializers/shipit/pull_request_serializer_test.rb
|
913
986
|
- test/test_command_integration.rb
|
914
987
|
- test/test_helper.rb
|
915
988
|
- test/unit/anonymous_user_serializer_test.rb
|
@@ -925,6 +998,7 @@ files:
|
|
925
998
|
- test/unit/line_buffer_test.rb
|
926
999
|
- test/unit/rollback_commands_test.rb
|
927
1000
|
- test/unit/shipit_helper_test.rb
|
1001
|
+
- test/unit/shipit_task_execution_strategy_test.rb
|
928
1002
|
- test/unit/shipit_test.rb
|
929
1003
|
- test/unit/user_serializer_test.rb
|
930
1004
|
- test/unit/variable_definition_test.rb
|
@@ -959,162 +1033,194 @@ signing_key:
|
|
959
1033
|
specification_version: 4
|
960
1034
|
summary: Application deployment software
|
961
1035
|
test_files:
|
962
|
-
- test/
|
963
|
-
- test/
|
964
|
-
- test/
|
965
|
-
- test/
|
966
|
-
- test/
|
967
|
-
- test/
|
968
|
-
- test/
|
969
|
-
- test/
|
970
|
-
- test/
|
971
|
-
- test/
|
972
|
-
- test/
|
973
|
-
- test/
|
974
|
-
- test/
|
975
|
-
- test/
|
976
|
-
- test/
|
977
|
-
- test/
|
978
|
-
- test/
|
979
|
-
- test/
|
980
|
-
- test/
|
981
|
-
- test/
|
982
|
-
- test/
|
983
|
-
- test/
|
984
|
-
- test/
|
985
|
-
- test/
|
986
|
-
- test/
|
987
|
-
- test/
|
988
|
-
- test/
|
989
|
-
- test/
|
990
|
-
- test/
|
991
|
-
- test/
|
992
|
-
- test/
|
993
|
-
- test/
|
994
|
-
- test/
|
995
|
-
- test/
|
996
|
-
- test/
|
997
|
-
- test/
|
998
|
-
- test/
|
999
|
-
- test/
|
1000
|
-
- test/
|
1036
|
+
- test/jobs/deliver_hook_job_test.rb
|
1037
|
+
- test/jobs/chunk_rollup_job_test.rb
|
1038
|
+
- test/jobs/cache_deploy_spec_job_test.rb
|
1039
|
+
- test/jobs/mark_deploy_healthy_job_test.rb
|
1040
|
+
- test/jobs/fetch_commit_stats_job_test.rb
|
1041
|
+
- test/jobs/purge_old_deliveries_job_test.rb
|
1042
|
+
- test/jobs/perform_task_job_test.rb
|
1043
|
+
- test/jobs/unique_job_test.rb
|
1044
|
+
- test/jobs/destroy_repository_job_test.rb
|
1045
|
+
- test/jobs/destroy_stack_job_test.rb
|
1046
|
+
- test/jobs/update_github_last_deployed_ref_job_test.rb
|
1047
|
+
- test/jobs/refresh_status_job_test.rb
|
1048
|
+
- test/jobs/github_sync_job_test.rb
|
1049
|
+
- test/jobs/reap_dead_tasks_job_test.rb
|
1050
|
+
- test/jobs/refresh_github_user_job_test.rb
|
1051
|
+
- test/jobs/process_merge_requests_job_test.rb
|
1052
|
+
- test/jobs/fetch_deployed_revision_job_test.rb
|
1053
|
+
- test/jobs/emit_event_job_test.rb
|
1054
|
+
- test/lib/shipit/deploy_commands_test.rb
|
1055
|
+
- test/lib/shipit/task_commands_test.rb
|
1056
|
+
- test/unit/shipit_helper_test.rb
|
1057
|
+
- test/unit/shipit_test.rb
|
1058
|
+
- test/unit/github_app_test.rb
|
1059
|
+
- test/unit/rollback_commands_test.rb
|
1060
|
+
- test/unit/command_test.rb
|
1061
|
+
- test/unit/variable_definition_test.rb
|
1062
|
+
- test/unit/csv_serializer_test.rb
|
1063
|
+
- test/unit/line_buffer_test.rb
|
1064
|
+
- test/unit/environment_variables_test.rb
|
1065
|
+
- test/unit/user_serializer_test.rb
|
1066
|
+
- test/unit/github_url_helper_test.rb
|
1067
|
+
- test/unit/commands_test.rb
|
1068
|
+
- test/unit/anonymous_user_serializer_test.rb
|
1069
|
+
- test/unit/deploy_commands_test.rb
|
1070
|
+
- test/unit/shipit_task_execution_strategy_test.rb
|
1071
|
+
- test/unit/commit_serializer_test.rb
|
1072
|
+
- test/unit/deploy_serializer_test.rb
|
1073
|
+
- test/fixtures/payloads/push_not_master.json
|
1074
|
+
- test/fixtures/payloads/pull_request_opened.json
|
1075
|
+
- test/fixtures/payloads/pull_request_assigned.json
|
1076
|
+
- test/fixtures/payloads/pull_request_closed.json
|
1077
|
+
- test/fixtures/payloads/pull_request_unlabeled.json
|
1078
|
+
- test/fixtures/payloads/pull_request_reopened.json
|
1079
|
+
- test/fixtures/payloads/push_master.json
|
1080
|
+
- test/fixtures/payloads/provision_disabled_pull_request.json
|
1081
|
+
- test/fixtures/payloads/status_master.json
|
1082
|
+
- test/fixtures/payloads/check_suite_master.json
|
1083
|
+
- test/fixtures/payloads/pull_request_labeled.json
|
1084
|
+
- test/fixtures/payloads/pull_request_with_no_repo.json
|
1085
|
+
- test/fixtures/payloads/invalid_pull_request.json
|
1086
|
+
- test/fixtures/timeout
|
1087
|
+
- test/fixtures/shipit/tasks.yml
|
1088
|
+
- test/fixtures/shipit/teams.yml
|
1089
|
+
- test/fixtures/shipit/release_statuses.yml
|
1090
|
+
- test/fixtures/shipit/deliveries.yml
|
1091
|
+
- test/fixtures/shipit/commit_deployments.yml
|
1092
|
+
- test/fixtures/shipit/commits.yml
|
1093
|
+
- test/fixtures/shipit/statuses.yml
|
1094
|
+
- test/fixtures/shipit/api_clients.yml
|
1095
|
+
- test/fixtures/shipit/memberships.yml
|
1096
|
+
- test/fixtures/shipit/repositories.yml
|
1097
|
+
- test/fixtures/shipit/stacks.yml
|
1098
|
+
- test/fixtures/shipit/commit_deployment_statuses.yml
|
1099
|
+
- test/fixtures/shipit/github_hooks.yml
|
1100
|
+
- test/fixtures/shipit/check_runs.yml
|
1101
|
+
- test/fixtures/shipit/merge_requests.yml
|
1102
|
+
- test/fixtures/shipit/pull_request_assignments.yml
|
1103
|
+
- test/fixtures/shipit/hooks.yml
|
1104
|
+
- test/fixtures/shipit/pull_requests.yml
|
1105
|
+
- test/fixtures/shipit/users.yml
|
1001
1106
|
- test/controllers/rollbacks_controller_test.rb
|
1002
|
-
- test/controllers/github_authentication_controller_test.rb
|
1003
|
-
- test/controllers/merge_status_controller_test.rb
|
1004
|
-
- test/controllers/commit_checks_controller_test.rb
|
1005
1107
|
- test/controllers/ccmenu_controller_test.rb
|
1006
1108
|
- test/controllers/stacks_controller_test.rb
|
1007
1109
|
- test/controllers/deploys_controller_test.rb
|
1008
|
-
- test/controllers/
|
1110
|
+
- test/controllers/merge_status_controller_test.rb
|
1009
1111
|
- test/controllers/api/ccmenu_controller_test.rb
|
1010
1112
|
- test/controllers/api/stacks_controller_test.rb
|
1113
|
+
- test/controllers/api/rollback_controller_test.rb
|
1011
1114
|
- test/controllers/api/base_controller_test.rb
|
1012
|
-
- test/controllers/api/locks_controller_test.rb
|
1013
1115
|
- test/controllers/api/deploys_controller_test.rb
|
1014
|
-
- test/controllers/api/
|
1116
|
+
- test/controllers/api/hooks_controller_test.rb
|
1117
|
+
- test/controllers/api/locks_controller_test.rb
|
1015
1118
|
- test/controllers/api/release_statuses_controller_test.rb
|
1016
|
-
- test/controllers/api/
|
1017
|
-
- test/controllers/api/pull_requests_controller_test.rb
|
1018
|
-
- test/controllers/api/tasks_controller_test.rb
|
1119
|
+
- test/controllers/api/merge_requests_controller_test.rb
|
1019
1120
|
- test/controllers/api/outputs_controller_test.rb
|
1020
|
-
- test/controllers/
|
1021
|
-
- test/controllers/commits_controller_test.rb
|
1121
|
+
- test/controllers/api/tasks_controller_test.rb
|
1122
|
+
- test/controllers/api/commits_controller_test.rb
|
1022
1123
|
- test/controllers/release_statuses_controller_test.rb
|
1023
|
-
- test/controllers/
|
1124
|
+
- test/controllers/status_controller_test.rb
|
1125
|
+
- test/controllers/github_authentication_controller_test.rb
|
1126
|
+
- test/controllers/merge_requests_controller_test.rb
|
1024
1127
|
- test/controllers/tasks_controller_test.rb
|
1128
|
+
- test/controllers/commits_controller_test.rb
|
1025
1129
|
- test/controllers/api_clients_controller_test.rb
|
1026
|
-
- test/
|
1027
|
-
- test/
|
1028
|
-
- test/
|
1029
|
-
- test/
|
1030
|
-
- test/
|
1031
|
-
- test/
|
1032
|
-
- test/
|
1033
|
-
- test/
|
1034
|
-
- test/
|
1035
|
-
- test/
|
1036
|
-
- test/
|
1037
|
-
- test/unit/commit_serializer_test.rb
|
1038
|
-
- test/unit/variable_definition_test.rb
|
1039
|
-
- test/unit/github_url_helper_test.rb
|
1040
|
-
- test/unit/environment_variables_test.rb
|
1041
|
-
- test/unit/github_app_test.rb
|
1042
|
-
- test/models/release_statuses_test.rb
|
1043
|
-
- test/models/deploys_test.rb
|
1044
|
-
- test/models/undeployed_commits_test.rb
|
1130
|
+
- test/controllers/repositories_controller_test.rb
|
1131
|
+
- test/controllers/commit_checks_controller_test.rb
|
1132
|
+
- test/controllers/webhooks_controller_test.rb
|
1133
|
+
- test/helpers/payloads_helper.rb
|
1134
|
+
- test/helpers/api_helper.rb
|
1135
|
+
- test/helpers/hooks_helper.rb
|
1136
|
+
- test/helpers/links_helper.rb
|
1137
|
+
- test/helpers/queries_helper.rb
|
1138
|
+
- test/helpers/fixture_aliases_helper.rb
|
1139
|
+
- test/helpers/json_helper.rb
|
1140
|
+
- test/middleware/same_site_cookie_middleware_test.rb
|
1045
1141
|
- test/models/team_test.rb
|
1046
|
-
- test/models/rollbacks_test.rb
|
1047
|
-
- test/models/commit_checks_test.rb
|
1048
|
-
- test/models/github_hook_test.rb
|
1049
|
-
- test/models/task_definitions_test.rb
|
1050
|
-
- test/models/tasks_test.rb
|
1051
|
-
- test/models/output_chunk_test.rb
|
1052
|
-
- test/models/commit_deployment_status_test.rb
|
1053
|
-
- test/models/delivery_test.rb
|
1054
|
-
- test/models/users_test.rb
|
1055
|
-
- test/models/commit_deployment_test.rb
|
1056
|
-
- test/models/duration_test.rb
|
1057
1142
|
- test/models/api_client_test.rb
|
1058
|
-
- test/models/shipit/wehbooks/handlers_test.rb
|
1059
|
-
- test/models/shipit/repository_test.rb
|
1060
|
-
- test/models/shipit/check_run_test.rb
|
1061
1143
|
- test/models/commits_test.rb
|
1062
|
-
- test/models/
|
1063
|
-
- test/models/
|
1144
|
+
- test/models/membership_test.rb
|
1145
|
+
- test/models/rollbacks_test.rb
|
1064
1146
|
- test/models/deploy_spec_test.rb
|
1065
|
-
- test/models/
|
1147
|
+
- test/models/commit_deployment_status_test.rb
|
1148
|
+
- test/models/commit_checks_test.rb
|
1066
1149
|
- test/models/deploy_stats_test.rb
|
1150
|
+
- test/models/pull_request_assignment_test.rb
|
1067
1151
|
- test/models/hook_test.rb
|
1068
|
-
- test/models/
|
1152
|
+
- test/models/merge_request_test.rb
|
1153
|
+
- test/models/release_statuses_test.rb
|
1154
|
+
- test/models/task_definitions_test.rb
|
1069
1155
|
- test/models/status_test.rb
|
1070
|
-
- test/models/
|
1071
|
-
- test/
|
1156
|
+
- test/models/status/group_test.rb
|
1157
|
+
- test/models/status/missing_test.rb
|
1158
|
+
- test/models/github_hook_test.rb
|
1159
|
+
- test/models/commit_deployment_test.rb
|
1160
|
+
- test/models/delivery_test.rb
|
1161
|
+
- test/models/deploys_test.rb
|
1162
|
+
- test/models/duration_test.rb
|
1163
|
+
- test/models/tasks_test.rb
|
1164
|
+
- test/models/undeployed_commits_test.rb
|
1165
|
+
- test/models/users_test.rb
|
1166
|
+
- test/models/shipit/check_run_test.rb
|
1167
|
+
- test/models/shipit/provisioning_handler_test.rb
|
1168
|
+
- test/models/shipit/review_stack_provisioning_queue_test.rb
|
1169
|
+
- test/models/shipit/review_stack_test.rb
|
1170
|
+
- test/models/shipit/provisioning_handler/unregistered_provisioning_handler_test.rb
|
1171
|
+
- test/models/shipit/provisioning_handler/base_test.rb
|
1172
|
+
- test/models/shipit/stacks_test.rb
|
1173
|
+
- test/models/shipit/repository_test.rb
|
1174
|
+
- test/models/shipit/review_stack_provision_status_test.rb
|
1175
|
+
- test/models/shipit/webhooks/handlers_test.rb
|
1176
|
+
- test/models/shipit/webhooks/handlers/pull_request/edited_handler_test.rb
|
1177
|
+
- test/models/shipit/webhooks/handlers/pull_request/review_stack_adapter_test.rb
|
1178
|
+
- test/models/shipit/webhooks/handlers/pull_request/assigned_handler_test.rb
|
1179
|
+
- test/models/shipit/webhooks/handlers/pull_request/unlabeled_handler_test.rb
|
1180
|
+
- test/models/shipit/webhooks/handlers/pull_request/label_capturing_handler_test.rb
|
1181
|
+
- test/models/shipit/webhooks/handlers/pull_request/labeled_handler_test.rb
|
1182
|
+
- test/models/shipit/webhooks/handlers/pull_request/opened_handler_test.rb
|
1183
|
+
- test/models/shipit/webhooks/handlers/pull_request/reopened_handler_test.rb
|
1184
|
+
- test/models/shipit/webhooks/handlers/pull_request/closed_handler_test.rb
|
1185
|
+
- test/models/shipit/pull_request_test.rb
|
1072
1186
|
- test/test_command_integration.rb
|
1073
|
-
- test/
|
1074
|
-
- test/helpers/queries_helper.rb
|
1075
|
-
- test/helpers/json_helper.rb
|
1076
|
-
- test/helpers/fixture_aliases_helper.rb
|
1077
|
-
- test/helpers/payloads_helper.rb
|
1078
|
-
- test/helpers/links_helper.rb
|
1079
|
-
- test/helpers/api_helper.rb
|
1080
|
-
- test/jobs/emit_event_job_test.rb
|
1081
|
-
- test/jobs/unique_job_test.rb
|
1082
|
-
- test/jobs/merge_pull_requests_job_test.rb
|
1083
|
-
- test/jobs/deliver_hook_job_test.rb
|
1084
|
-
- test/jobs/update_github_last_deployed_ref_job_test.rb
|
1085
|
-
- test/jobs/refresh_status_job_test.rb
|
1086
|
-
- test/jobs/fetch_deployed_revision_job_test.rb
|
1087
|
-
- test/jobs/purge_old_deliveries_job_test.rb
|
1088
|
-
- test/jobs/refresh_github_user_job_test.rb
|
1089
|
-
- test/jobs/chunk_rollup_job_test.rb
|
1090
|
-
- test/jobs/mark_deploy_healthy_job_test.rb
|
1091
|
-
- test/jobs/reap_dead_tasks_job_test.rb
|
1092
|
-
- test/jobs/fetch_commit_stats_job_test.rb
|
1093
|
-
- test/jobs/cache_deploy_spec_job_test.rb
|
1094
|
-
- test/jobs/perform_task_job_test.rb
|
1095
|
-
- test/jobs/github_sync_job_test.rb
|
1096
|
-
- test/jobs/destroy_stack_job_test.rb
|
1097
|
-
- test/fixtures/timeout
|
1098
|
-
- test/fixtures/shipit/check_runs.yml
|
1099
|
-
- test/fixtures/shipit/release_statuses.yml
|
1100
|
-
- test/fixtures/shipit/users.yml
|
1101
|
-
- test/fixtures/shipit/output_chunks.yml
|
1102
|
-
- test/fixtures/shipit/deliveries.yml
|
1103
|
-
- test/fixtures/shipit/hooks.yml
|
1104
|
-
- test/fixtures/shipit/github_hooks.yml
|
1105
|
-
- test/fixtures/shipit/statuses.yml
|
1106
|
-
- test/fixtures/shipit/memberships.yml
|
1107
|
-
- test/fixtures/shipit/teams.yml
|
1108
|
-
- test/fixtures/shipit/tasks.yml
|
1109
|
-
- test/fixtures/shipit/api_clients.yml
|
1110
|
-
- test/fixtures/shipit/stacks.yml
|
1111
|
-
- test/fixtures/shipit/commits.yml
|
1112
|
-
- test/fixtures/shipit/repositories.yml
|
1113
|
-
- test/fixtures/shipit/pull_requests.yml
|
1114
|
-
- test/fixtures/shipit/commit_deployments.yml
|
1115
|
-
- test/fixtures/shipit/commit_deployment_statuses.yml
|
1116
|
-
- test/fixtures/payloads/status_master.json
|
1117
|
-
- test/fixtures/payloads/push_master.json
|
1118
|
-
- test/fixtures/payloads/push_not_master.json
|
1119
|
-
- test/fixtures/payloads/check_suite_master.json
|
1187
|
+
- test/serializers/shipit/pull_request_serializer_test.rb
|
1120
1188
|
- test/test_helper.rb
|
1189
|
+
- test/dummy/db/seeds.rb
|
1190
|
+
- test/dummy/db/schema.rb
|
1191
|
+
- test/dummy/app/assets/stylesheets/application.css
|
1192
|
+
- test/dummy/app/assets/javascripts/application.js
|
1193
|
+
- test/dummy/app/controllers/application_controller.rb
|
1194
|
+
- test/dummy/app/helpers/application_helper.rb
|
1195
|
+
- test/dummy/app/views/layouts/application.html.erb
|
1196
|
+
- test/dummy/config/database.postgresql.yml
|
1197
|
+
- test/dummy/config/secrets.yml
|
1198
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
1199
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
1200
|
+
- test/dummy/config/initializers/mime_types.rb
|
1201
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
1202
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
1203
|
+
- test/dummy/config/initializers/inflections.rb
|
1204
|
+
- test/dummy/config/initializers/session_store.rb
|
1205
|
+
- test/dummy/config/initializers/0_load_development_secrets.rb
|
1206
|
+
- test/dummy/config/initializers/assets.rb
|
1207
|
+
- test/dummy/config/routes.rb
|
1208
|
+
- test/dummy/config/database.yml
|
1209
|
+
- test/dummy/config/database.mysql.yml
|
1210
|
+
- test/dummy/config/environment.rb
|
1211
|
+
- test/dummy/config/locales/en.yml
|
1212
|
+
- test/dummy/config/environments/development.rb
|
1213
|
+
- test/dummy/config/environments/test.rb
|
1214
|
+
- test/dummy/config/environments/production.rb
|
1215
|
+
- test/dummy/config/boot.rb
|
1216
|
+
- test/dummy/config/application.rb
|
1217
|
+
- test/dummy/config.ru
|
1218
|
+
- test/dummy/bin/rails
|
1219
|
+
- test/dummy/bin/rake
|
1220
|
+
- test/dummy/bin/setup
|
1221
|
+
- test/dummy/bin/bundle
|
1222
|
+
- test/dummy/Rakefile
|
1223
|
+
- test/dummy/public/404.html
|
1224
|
+
- test/dummy/public/422.html
|
1225
|
+
- test/dummy/public/favicon.ico
|
1226
|
+
- test/dummy/public/500.html
|