shipit-engine 0.34.0 → 0.35.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/stylesheets/_pages/_deploy.scss +2 -1
- data/app/models/shipit/rollback.rb +5 -0
- data/db/migrate/20210504200438_add_github_updated_at_to_check_runs.rb +1 -1
- data/db/migrate/20210823075617_change_check_runs_github_updated_at_default.rb +5 -0
- data/lib/shipit/commands.rb +12 -6
- data/lib/shipit/stack_commands.rb +2 -2
- data/lib/shipit/version.rb +1 -1
- data/test/dummy/db/schema.rb +1 -1
- data/test/models/deploys_test.rb +22 -0
- data/test/unit/deploy_commands_test.rb +5 -5
- metadata +159 -158
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5cbfd599963d1633705290c92ef5c7171619c1350a3a431546061e3521c78a3a
|
4
|
+
data.tar.gz: a588c0fc5bda460eeb99121aaa06d83f2177eaf208f28253bb672eff9ff0c79c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bf7ec4d0a2a7f7e3192bda2e26252677217bf9bbc2f877c27c0b5aa66b9862fbb49fce0737239bb3a537831908deacc7d7e06a35ca7d343d5b9067b5aa98d98
|
7
|
+
data.tar.gz: 8dfd2d78e9ab13f6c04fb95a661979512d0721f983f94aa77b5eba9202609af9ea043e6b382f5cdfc6856928aba755ae91ab0fd79e566e6f224be11b53f2a700
|
@@ -33,6 +33,10 @@ module Shipit
|
|
33
33
|
'deploys/deploy'
|
34
34
|
end
|
35
35
|
|
36
|
+
def report_complete!
|
37
|
+
complete!
|
38
|
+
end
|
39
|
+
|
36
40
|
private
|
37
41
|
|
38
42
|
def update_release_status
|
@@ -40,6 +44,7 @@ module Shipit
|
|
40
44
|
|
41
45
|
# When we rollback to a certain revision, assume that all later deploys were faulty
|
42
46
|
stack.deploys.newer_than(deploy.id).until(stack.last_completed_deploy.id).to_a.each do |deploy|
|
47
|
+
next if deploy.id == id
|
43
48
|
deploy.report_faulty!(description: "A rollback of #{stack.to_param} was triggered")
|
44
49
|
end
|
45
50
|
end
|
data/lib/shipit/commands.rb
CHANGED
@@ -20,20 +20,26 @@ module Shipit
|
|
20
20
|
delegate :git_version, to: :class
|
21
21
|
|
22
22
|
def env
|
23
|
-
|
24
|
-
'GITHUB_DOMAIN' => github.domain,
|
25
|
-
'GITHUB_TOKEN' => github.token,
|
26
|
-
'GIT_ASKPASS' => Shipit::Engine.root.join('lib', 'snippets', 'git-askpass').realpath.to_s,
|
27
|
-
)
|
23
|
+
base_env
|
28
24
|
end
|
29
25
|
|
30
26
|
def git(*args)
|
31
|
-
|
27
|
+
kwargs = args.extract_options!
|
28
|
+
kwargs[:env] ||= base_env
|
29
|
+
Command.new("git", *args, **kwargs)
|
32
30
|
end
|
33
31
|
ruby2_keywords :git if respond_to?(:ruby2_keywords, true)
|
34
32
|
|
35
33
|
private
|
36
34
|
|
35
|
+
def base_env
|
36
|
+
@base_env ||= Shipit.env.merge(
|
37
|
+
'GITHUB_DOMAIN' => github.domain,
|
38
|
+
'GITHUB_TOKEN' => github.token,
|
39
|
+
'GIT_ASKPASS' => Shipit::Engine.root.join('lib', 'snippets', 'git-askpass').realpath.to_s,
|
40
|
+
)
|
41
|
+
end
|
42
|
+
|
37
43
|
def github
|
38
44
|
Shipit.github
|
39
45
|
end
|
@@ -72,7 +72,7 @@ module Shipit
|
|
72
72
|
).run!
|
73
73
|
|
74
74
|
git_dir = File.join(dir, @stack.repo_name)
|
75
|
-
git('checkout', commit.sha, chdir: git_dir).run! if commit
|
75
|
+
git('checkout', '--config', 'advice.detachedHead=false', commit.sha, chdir: git_dir).run! if commit
|
76
76
|
yield Pathname.new(git_dir)
|
77
77
|
end
|
78
78
|
end
|
@@ -90,7 +90,7 @@ module Shipit
|
|
90
90
|
end
|
91
91
|
|
92
92
|
def git_clone(url, path, branch: 'master', **kwargs)
|
93
|
-
git('clone', *modern_git_args, '--recursive', '--branch', branch, url, path, **kwargs)
|
93
|
+
git('clone', '--quiet', *modern_git_args, '--recursive', '--branch', branch, url, path, **kwargs)
|
94
94
|
end
|
95
95
|
|
96
96
|
def modern_git_args
|
data/lib/shipit/version.rb
CHANGED
data/test/dummy/db/schema.rb
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
#
|
11
11
|
# It's strongly recommended that you check this file into your version control system.
|
12
12
|
|
13
|
-
ActiveRecord::Schema.define(version:
|
13
|
+
ActiveRecord::Schema.define(version: 2021_08_23_075617) do
|
14
14
|
|
15
15
|
create_table "api_clients", force: :cascade do |t|
|
16
16
|
t.text "permissions", limit: 65535
|
data/test/models/deploys_test.rb
CHANGED
@@ -1030,6 +1030,28 @@ module Shipit
|
|
1030
1030
|
end
|
1031
1031
|
end
|
1032
1032
|
|
1033
|
+
test "manually triggered rollbacks sets rollbacked deploys as faulty and not the rollback task" do
|
1034
|
+
@deploy = shipit_deploys(:canaries_validating)
|
1035
|
+
@middle_deploy = shipit_deploys(:canaries_faulty)
|
1036
|
+
@rollback_to_deploy = shipit_deploys(:canaries_success)
|
1037
|
+
|
1038
|
+
@rollback_task = @rollback_to_deploy.trigger_rollback(force: true)
|
1039
|
+
|
1040
|
+
@rollback_task.run!
|
1041
|
+
@rollback_task.complete!
|
1042
|
+
@rollback_task.reload
|
1043
|
+
@deploy.reload
|
1044
|
+
@middle_deploy.reload
|
1045
|
+
|
1046
|
+
assert_equal 'faulty', @deploy.status
|
1047
|
+
assert_equal 'failure', @deploy.last_release_status.state
|
1048
|
+
|
1049
|
+
assert_equal 'faulty', @middle_deploy.status
|
1050
|
+
assert_equal 'failure', @middle_deploy.last_release_status.state
|
1051
|
+
|
1052
|
+
assert_equal 'success', @rollback_task.status
|
1053
|
+
end
|
1054
|
+
|
1033
1055
|
test "succeeding a deploy creates CommitDeploymentStatuses" do
|
1034
1056
|
@deploy = shipit_deploys(:shipit_running)
|
1035
1057
|
refute_empty @deploy.commit_deployments
|
@@ -44,7 +44,7 @@ module Shipit
|
|
44
44
|
|
45
45
|
command = @commands.fetch
|
46
46
|
|
47
|
-
expected = %W(git clone --single-branch --recursive --branch master #{@stack.repo_git_url} #{@stack.git_path})
|
47
|
+
expected = %W(git clone --quiet --single-branch --recursive --branch master #{@stack.repo_git_url} #{@stack.git_path})
|
48
48
|
assert_equal expected, command.args.map(&:to_s)
|
49
49
|
end
|
50
50
|
|
@@ -54,7 +54,7 @@ module Shipit
|
|
54
54
|
|
55
55
|
command = @commands.fetch
|
56
56
|
|
57
|
-
expected = %W(git clone --single-branch --recursive --branch master #{@stack.repo_git_url} #{@stack.git_path})
|
57
|
+
expected = %W(git clone --quiet --single-branch --recursive --branch master #{@stack.repo_git_url} #{@stack.git_path})
|
58
58
|
assert_equal expected, command.args
|
59
59
|
end
|
60
60
|
|
@@ -67,7 +67,7 @@ module Shipit
|
|
67
67
|
|
68
68
|
command = @commands.fetch
|
69
69
|
|
70
|
-
expected = %W(git clone --single-branch --recursive --branch master #{@stack.repo_git_url} #{@stack.git_path})
|
70
|
+
expected = %W(git clone --quiet --single-branch --recursive --branch master #{@stack.repo_git_url} #{@stack.git_path})
|
71
71
|
assert_equal expected, command.args
|
72
72
|
end
|
73
73
|
|
@@ -81,7 +81,7 @@ module Shipit
|
|
81
81
|
|
82
82
|
command = @commands.fetch
|
83
83
|
|
84
|
-
expected = %W(git clone --single-branch --recursive --branch master #{@stack.repo_git_url} #{@stack.git_path})
|
84
|
+
expected = %W(git clone --quiet --single-branch --recursive --branch master #{@stack.repo_git_url} #{@stack.git_path})
|
85
85
|
assert_equal expected, command.args
|
86
86
|
end
|
87
87
|
|
@@ -91,7 +91,7 @@ module Shipit
|
|
91
91
|
|
92
92
|
command = @commands.fetch
|
93
93
|
|
94
|
-
expected = %W(git clone --recursive --branch master #{@stack.repo_git_url} #{@stack.git_path})
|
94
|
+
expected = %W(git clone --quiet --recursive --branch master #{@stack.repo_git_url} #{@stack.git_path})
|
95
95
|
assert_equal expected, command.args.map(&:to_s)
|
96
96
|
end
|
97
97
|
|
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.35.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: 2021-
|
11
|
+
date: 2021-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|
@@ -768,6 +768,7 @@ files:
|
|
768
768
|
- db/migrate/20201008152744_add_max_retries_to_tasks.rb
|
769
769
|
- db/migrate/20210325194053_remove_stacks_branch_default.rb
|
770
770
|
- db/migrate/20210504200438_add_github_updated_at_to_check_runs.rb
|
771
|
+
- db/migrate/20210823075617_change_check_runs_github_updated_at_default.rb
|
771
772
|
- lib/shipit-engine.rb
|
772
773
|
- lib/shipit.rb
|
773
774
|
- lib/shipit/cast_value.rb
|
@@ -1040,198 +1041,198 @@ signing_key:
|
|
1040
1041
|
specification_version: 4
|
1041
1042
|
summary: Application deployment software
|
1042
1043
|
test_files:
|
1043
|
-
- test/
|
1044
|
-
- test/
|
1045
|
-
- test/
|
1046
|
-
- test/jobs/github_sync_job_test.rb
|
1047
|
-
- test/jobs/unique_job_test.rb
|
1048
|
-
- test/jobs/cache_deploy_spec_job_test.rb
|
1049
|
-
- test/jobs/destroy_stack_job_test.rb
|
1050
|
-
- test/jobs/perform_task_job_test.rb
|
1051
|
-
- test/jobs/refresh_github_user_job_test.rb
|
1052
|
-
- test/jobs/mark_deploy_healthy_job_test.rb
|
1053
|
-
- test/jobs/purge_old_deliveries_job_test.rb
|
1054
|
-
- test/jobs/process_merge_requests_job_test.rb
|
1055
|
-
- test/jobs/chunk_rollup_job_test.rb
|
1056
|
-
- test/jobs/destroy_repository_job_test.rb
|
1057
|
-
- test/jobs/refresh_status_job_test.rb
|
1058
|
-
- test/jobs/fetch_deployed_revision_job_test.rb
|
1059
|
-
- test/jobs/update_github_last_deployed_ref_job_test.rb
|
1060
|
-
- test/jobs/deliver_hook_job_test.rb
|
1061
|
-
- test/middleware/same_site_cookie_middleware_test.rb
|
1062
|
-
- test/unit/commands_test.rb
|
1063
|
-
- test/unit/github_url_helper_test.rb
|
1064
|
-
- test/unit/shipit_test.rb
|
1065
|
-
- test/unit/deploy_commands_test.rb
|
1066
|
-
- test/unit/shipit_deployment_checks_test.rb
|
1067
|
-
- test/unit/github_app_test.rb
|
1068
|
-
- test/unit/shipit_task_execution_strategy_test.rb
|
1069
|
-
- test/unit/csv_serializer_test.rb
|
1070
|
-
- test/unit/github_apps_test.rb
|
1071
|
-
- test/unit/command_test.rb
|
1072
|
-
- test/unit/anonymous_user_serializer_test.rb
|
1073
|
-
- test/unit/environment_variables_test.rb
|
1074
|
-
- test/unit/line_buffer_test.rb
|
1075
|
-
- test/unit/shipit_helper_test.rb
|
1076
|
-
- test/unit/deploy_serializer_test.rb
|
1077
|
-
- test/unit/variable_definition_test.rb
|
1078
|
-
- test/unit/user_serializer_test.rb
|
1079
|
-
- test/unit/rollback_commands_test.rb
|
1080
|
-
- test/unit/commit_serializer_test.rb
|
1044
|
+
- test/test_helper.rb
|
1045
|
+
- test/models/undeployed_commits_test.rb
|
1046
|
+
- test/models/pull_request_assignment_test.rb
|
1081
1047
|
- test/models/commits_test.rb
|
1082
|
-
- test/models/
|
1083
|
-
- test/models/
|
1084
|
-
- test/models/
|
1085
|
-
- test/models/
|
1048
|
+
- test/models/membership_test.rb
|
1049
|
+
- test/models/status/group_test.rb
|
1050
|
+
- test/models/status/missing_test.rb
|
1051
|
+
- test/models/api_client_test.rb
|
1052
|
+
- test/models/deploys_test.rb
|
1053
|
+
- test/models/shipit/stacks_test.rb
|
1054
|
+
- test/models/shipit/review_stack_provision_status_test.rb
|
1055
|
+
- test/models/shipit/review_stack_provisioning_queue_test.rb
|
1056
|
+
- test/models/shipit/provisioning_handler_test.rb
|
1057
|
+
- test/models/shipit/provisioning_handler/base_test.rb
|
1058
|
+
- test/models/shipit/provisioning_handler/unregistered_provisioning_handler_test.rb
|
1086
1059
|
- test/models/shipit/review_stack_test.rb
|
1087
1060
|
- test/models/shipit/webhooks/handlers_test.rb
|
1088
|
-
- test/models/shipit/webhooks/handlers/pull_request/review_stack_adapter_test.rb
|
1089
|
-
- test/models/shipit/webhooks/handlers/pull_request/opened_handler_test.rb
|
1090
1061
|
- test/models/shipit/webhooks/handlers/pull_request/assigned_handler_test.rb
|
1091
|
-
- test/models/shipit/webhooks/handlers/pull_request/
|
1092
|
-
- test/models/shipit/webhooks/handlers/pull_request/unlabeled_handler_test.rb
|
1062
|
+
- test/models/shipit/webhooks/handlers/pull_request/edited_handler_test.rb
|
1093
1063
|
- test/models/shipit/webhooks/handlers/pull_request/reopened_handler_test.rb
|
1094
|
-
- test/models/shipit/webhooks/handlers/pull_request/
|
1064
|
+
- test/models/shipit/webhooks/handlers/pull_request/opened_handler_test.rb
|
1065
|
+
- test/models/shipit/webhooks/handlers/pull_request/unlabeled_handler_test.rb
|
1095
1066
|
- test/models/shipit/webhooks/handlers/pull_request/closed_handler_test.rb
|
1096
|
-
- test/models/shipit/webhooks/handlers/pull_request/
|
1097
|
-
- test/models/shipit/
|
1098
|
-
- test/models/shipit/
|
1099
|
-
- test/models/shipit/stacks_test.rb
|
1100
|
-
- test/models/shipit/provisioning_handler/unregistered_provisioning_handler_test.rb
|
1101
|
-
- test/models/shipit/provisioning_handler/base_test.rb
|
1102
|
-
- test/models/shipit/pull_request_test.rb
|
1067
|
+
- test/models/shipit/webhooks/handlers/pull_request/label_capturing_handler_test.rb
|
1068
|
+
- test/models/shipit/webhooks/handlers/pull_request/review_stack_adapter_test.rb
|
1069
|
+
- test/models/shipit/webhooks/handlers/pull_request/labeled_handler_test.rb
|
1103
1070
|
- test/models/shipit/check_run_test.rb
|
1071
|
+
- test/models/shipit/pull_request_test.rb
|
1104
1072
|
- test/models/shipit/repository_test.rb
|
1105
|
-
- test/models/shipit/review_stack_provision_status_test.rb
|
1106
1073
|
- test/models/delivery_test.rb
|
1074
|
+
- test/models/deploy_stats_test.rb
|
1075
|
+
- test/models/release_statuses_test.rb
|
1076
|
+
- test/models/team_test.rb
|
1107
1077
|
- test/models/rollbacks_test.rb
|
1108
|
-
- test/models/
|
1078
|
+
- test/models/users_test.rb
|
1079
|
+
- test/models/deploy_spec_test.rb
|
1080
|
+
- test/models/commit_checks_test.rb
|
1109
1081
|
- test/models/status_test.rb
|
1110
|
-
- test/models/
|
1111
|
-
- test/models/commit_deployment_status_test.rb
|
1112
|
-
- test/models/commit_deployment_test.rb
|
1113
|
-
- test/models/hook_test.rb
|
1082
|
+
- test/models/github_hook_test.rb
|
1114
1083
|
- test/models/duration_test.rb
|
1115
|
-
- test/models/deploy_stats_test.rb
|
1116
|
-
- test/models/status/missing_test.rb
|
1117
|
-
- test/models/status/group_test.rb
|
1118
|
-
- test/models/membership_test.rb
|
1119
|
-
- test/models/deploys_test.rb
|
1120
1084
|
- test/models/task_definitions_test.rb
|
1121
|
-
- test/models/
|
1122
|
-
- test/models/
|
1123
|
-
- test/models/
|
1124
|
-
- test/models/
|
1085
|
+
- test/models/commit_deployment_status_test.rb
|
1086
|
+
- test/models/hook_test.rb
|
1087
|
+
- test/models/merge_request_test.rb
|
1088
|
+
- test/models/commit_deployment_test.rb
|
1125
1089
|
- test/models/tasks_test.rb
|
1126
|
-
- test/
|
1127
|
-
- test/dummy/public/422.html
|
1128
|
-
- test/dummy/public/404.html
|
1129
|
-
- test/dummy/public/favicon.ico
|
1130
|
-
- test/dummy/public/500.html
|
1131
|
-
- test/dummy/Rakefile
|
1132
|
-
- test/dummy/config/initializers/assets.rb
|
1133
|
-
- test/dummy/config/initializers/0_load_development_secrets.rb
|
1134
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
1135
|
-
- test/dummy/config/initializers/mime_types.rb
|
1136
|
-
- test/dummy/config/initializers/inflections.rb
|
1137
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
1138
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
1139
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
1140
|
-
- test/dummy/config/initializers/session_store.rb
|
1141
|
-
- test/dummy/config/database.yml
|
1142
|
-
- test/dummy/config/environments/development.rb
|
1143
|
-
- test/dummy/config/environments/production.rb
|
1144
|
-
- test/dummy/config/environments/test.rb
|
1145
|
-
- test/dummy/config/application.rb
|
1146
|
-
- test/dummy/config/boot.rb
|
1147
|
-
- test/dummy/config/database.mysql.yml
|
1148
|
-
- test/dummy/config/locales/en.yml
|
1149
|
-
- test/dummy/config/secrets.yml
|
1150
|
-
- test/dummy/config/environment.rb
|
1151
|
-
- test/dummy/config/database.postgresql.yml
|
1152
|
-
- test/dummy/config/routes.rb
|
1153
|
-
- test/dummy/config/secrets_double_github_app.yml
|
1154
|
-
- test/dummy/config.ru
|
1155
|
-
- test/dummy/bin/rake
|
1156
|
-
- test/dummy/bin/bundle
|
1157
|
-
- test/dummy/bin/rails
|
1158
|
-
- test/dummy/bin/setup
|
1159
|
-
- test/dummy/db/schema.rb
|
1160
|
-
- test/dummy/db/seeds.rb
|
1161
|
-
- test/dummy/app/views/layouts/application.html.erb
|
1162
|
-
- test/dummy/app/controllers/application_controller.rb
|
1163
|
-
- test/dummy/app/helpers/application_helper.rb
|
1164
|
-
- test/dummy/app/assets/config/manifest.js
|
1165
|
-
- test/dummy/app/assets/javascripts/application.js
|
1166
|
-
- test/dummy/app/assets/stylesheets/application.css
|
1167
|
-
- test/serializers/shipit/pull_request_serializer_test.rb
|
1168
|
-
- test/test_command_integration.rb
|
1169
|
-
- test/controllers/stacks_controller_test.rb
|
1170
|
-
- test/controllers/github_authentication_controller_test.rb
|
1171
|
-
- test/controllers/status_controller_test.rb
|
1172
|
-
- test/controllers/api/outputs_controller_test.rb
|
1173
|
-
- test/controllers/api/stacks_controller_test.rb
|
1174
|
-
- test/controllers/api/release_statuses_controller_test.rb
|
1090
|
+
- test/controllers/ccmenu_controller_test.rb
|
1175
1091
|
- test/controllers/api/ccmenu_controller_test.rb
|
1092
|
+
- test/controllers/api/hooks_controller_test.rb
|
1093
|
+
- test/controllers/api/tasks_controller_test.rb
|
1176
1094
|
- test/controllers/api/merge_requests_controller_test.rb
|
1177
|
-
- test/controllers/api/
|
1095
|
+
- test/controllers/api/outputs_controller_test.rb
|
1178
1096
|
- test/controllers/api/base_controller_test.rb
|
1179
|
-
- test/controllers/api/
|
1097
|
+
- test/controllers/api/commits_controller_test.rb
|
1098
|
+
- test/controllers/api/release_statuses_controller_test.rb
|
1099
|
+
- test/controllers/api/rollback_controller_test.rb
|
1180
1100
|
- test/controllers/api/deploys_controller_test.rb
|
1181
|
-
- test/controllers/api/hooks_controller_test.rb
|
1182
1101
|
- test/controllers/api/locks_controller_test.rb
|
1183
|
-
- test/controllers/api/
|
1184
|
-
- test/controllers/
|
1185
|
-
- test/controllers/release_statuses_controller_test.rb
|
1186
|
-
- test/controllers/ccmenu_controller_test.rb
|
1102
|
+
- test/controllers/api/stacks_controller_test.rb
|
1103
|
+
- test/controllers/tasks_controller_test.rb
|
1187
1104
|
- test/controllers/merge_requests_controller_test.rb
|
1188
|
-
- test/controllers/
|
1105
|
+
- test/controllers/rollbacks_controller_test.rb
|
1189
1106
|
- test/controllers/commits_controller_test.rb
|
1190
|
-
- test/controllers/
|
1191
|
-
- test/controllers/
|
1107
|
+
- test/controllers/release_statuses_controller_test.rb
|
1108
|
+
- test/controllers/webhooks_controller_test.rb
|
1109
|
+
- test/controllers/github_authentication_controller_test.rb
|
1110
|
+
- test/controllers/status_controller_test.rb
|
1192
1111
|
- test/controllers/api_clients_controller_test.rb
|
1193
|
-
- test/controllers/
|
1112
|
+
- test/controllers/commit_checks_controller_test.rb
|
1194
1113
|
- test/controllers/repositories_controller_test.rb
|
1195
|
-
- test/controllers/
|
1196
|
-
- test/
|
1197
|
-
- test/
|
1198
|
-
- test/
|
1199
|
-
- test/helpers/json_helper.rb
|
1200
|
-
- test/helpers/payloads_helper.rb
|
1201
|
-
- test/helpers/queries_helper.rb
|
1202
|
-
- test/helpers/fixture_aliases_helper.rb
|
1203
|
-
- test/fixtures/shipit/deliveries.yml
|
1204
|
-
- test/fixtures/shipit/stacks.yml
|
1205
|
-
- test/fixtures/shipit/users.yml
|
1114
|
+
- test/controllers/deploys_controller_test.rb
|
1115
|
+
- test/controllers/stacks_controller_test.rb
|
1116
|
+
- test/controllers/merge_status_controller_test.rb
|
1117
|
+
- test/fixtures/timeout
|
1206
1118
|
- test/fixtures/shipit/check_runs.yml
|
1207
1119
|
- test/fixtures/shipit/teams.yml
|
1208
|
-
- test/fixtures/shipit/memberships.yml
|
1209
|
-
- test/fixtures/shipit/release_statuses.yml
|
1210
1120
|
- test/fixtures/shipit/repositories.yml
|
1211
1121
|
- test/fixtures/shipit/commits.yml
|
1212
|
-
- test/fixtures/shipit/
|
1122
|
+
- test/fixtures/shipit/deliveries.yml
|
1123
|
+
- test/fixtures/shipit/memberships.yml
|
1124
|
+
- test/fixtures/shipit/merge_requests.yml
|
1213
1125
|
- test/fixtures/shipit/tasks.yml
|
1214
1126
|
- test/fixtures/shipit/pull_requests.yml
|
1215
1127
|
- test/fixtures/shipit/statuses.yml
|
1128
|
+
- test/fixtures/shipit/release_statuses.yml
|
1129
|
+
- test/fixtures/shipit/users.yml
|
1216
1130
|
- test/fixtures/shipit/api_clients.yml
|
1217
|
-
- test/fixtures/shipit/
|
1131
|
+
- test/fixtures/shipit/pull_request_assignments.yml
|
1132
|
+
- test/fixtures/shipit/commit_deployments.yml
|
1218
1133
|
- test/fixtures/shipit/commit_deployment_statuses.yml
|
1219
|
-
- test/fixtures/shipit/hooks.yml
|
1220
1134
|
- test/fixtures/shipit/github_hooks.yml
|
1221
|
-
- test/fixtures/shipit/
|
1222
|
-
- test/fixtures/
|
1223
|
-
- test/fixtures/payloads/status_master.json
|
1224
|
-
- test/fixtures/payloads/pull_request_assigned.json
|
1225
|
-
- test/fixtures/payloads/provision_disabled_pull_request.json
|
1135
|
+
- test/fixtures/shipit/hooks.yml
|
1136
|
+
- test/fixtures/shipit/stacks.yml
|
1226
1137
|
- test/fixtures/payloads/check_suite_master.json
|
1138
|
+
- test/fixtures/payloads/pull_request_labeled.json
|
1227
1139
|
- test/fixtures/payloads/pull_request_unlabeled.json
|
1228
|
-
- test/fixtures/payloads/pull_request_closed.json
|
1229
|
-
- test/fixtures/payloads/pull_request_reopened.json
|
1230
1140
|
- test/fixtures/payloads/pull_request_opened.json
|
1141
|
+
- test/fixtures/payloads/invalid_pull_request.json
|
1142
|
+
- test/fixtures/payloads/pull_request_closed.json
|
1143
|
+
- test/fixtures/payloads/pull_request_assigned.json
|
1144
|
+
- test/fixtures/payloads/status_master.json
|
1231
1145
|
- test/fixtures/payloads/push_master.json
|
1232
|
-
- test/fixtures/payloads/
|
1146
|
+
- test/fixtures/payloads/provision_disabled_pull_request.json
|
1147
|
+
- test/fixtures/payloads/pull_request_with_no_repo.json
|
1148
|
+
- test/fixtures/payloads/pull_request_reopened.json
|
1233
1149
|
- test/fixtures/payloads/push_not_master.json
|
1234
|
-
- test/
|
1235
|
-
- test/
|
1236
|
-
- test/
|
1150
|
+
- test/middleware/same_site_cookie_middleware_test.rb
|
1151
|
+
- test/unit/shipit_task_execution_strategy_test.rb
|
1152
|
+
- test/unit/commands_test.rb
|
1153
|
+
- test/unit/rollback_commands_test.rb
|
1154
|
+
- test/unit/github_url_helper_test.rb
|
1155
|
+
- test/unit/variable_definition_test.rb
|
1156
|
+
- test/unit/environment_variables_test.rb
|
1157
|
+
- test/unit/shipit_deployment_checks_test.rb
|
1158
|
+
- test/unit/line_buffer_test.rb
|
1159
|
+
- test/unit/anonymous_user_serializer_test.rb
|
1160
|
+
- test/unit/github_app_test.rb
|
1161
|
+
- test/unit/user_serializer_test.rb
|
1162
|
+
- test/unit/deploy_serializer_test.rb
|
1163
|
+
- test/unit/commit_serializer_test.rb
|
1164
|
+
- test/unit/github_apps_test.rb
|
1165
|
+
- test/unit/shipit_test.rb
|
1166
|
+
- test/unit/shipit_helper_test.rb
|
1167
|
+
- test/unit/command_test.rb
|
1168
|
+
- test/unit/csv_serializer_test.rb
|
1169
|
+
- test/unit/deploy_commands_test.rb
|
1170
|
+
- test/helpers/links_helper.rb
|
1171
|
+
- test/helpers/api_helper.rb
|
1172
|
+
- test/helpers/hooks_helper.rb
|
1173
|
+
- test/helpers/payloads_helper.rb
|
1174
|
+
- test/helpers/queries_helper.rb
|
1175
|
+
- test/helpers/fixture_aliases_helper.rb
|
1176
|
+
- test/helpers/json_helper.rb
|
1177
|
+
- test/test_command_integration.rb
|
1178
|
+
- test/dummy/Rakefile
|
1179
|
+
- test/dummy/config/database.postgresql.yml
|
1180
|
+
- test/dummy/config/locales/en.yml
|
1181
|
+
- test/dummy/config/routes.rb
|
1182
|
+
- test/dummy/config/application.rb
|
1183
|
+
- test/dummy/config/environments/development.rb
|
1184
|
+
- test/dummy/config/environments/test.rb
|
1185
|
+
- test/dummy/config/environments/production.rb
|
1186
|
+
- test/dummy/config/boot.rb
|
1187
|
+
- test/dummy/config/secrets_double_github_app.yml
|
1188
|
+
- test/dummy/config/database.yml
|
1189
|
+
- test/dummy/config/secrets.yml
|
1190
|
+
- test/dummy/config/initializers/0_load_development_secrets.rb
|
1191
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
1192
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
1193
|
+
- test/dummy/config/initializers/inflections.rb
|
1194
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
1195
|
+
- test/dummy/config/initializers/session_store.rb
|
1196
|
+
- test/dummy/config/initializers/mime_types.rb
|
1197
|
+
- test/dummy/config/initializers/assets.rb
|
1198
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
1199
|
+
- test/dummy/config/database.mysql.yml
|
1200
|
+
- test/dummy/config/environment.rb
|
1201
|
+
- test/dummy/public/favicon.ico
|
1202
|
+
- test/dummy/public/404.html
|
1203
|
+
- test/dummy/public/422.html
|
1204
|
+
- test/dummy/public/500.html
|
1205
|
+
- test/dummy/bin/rails
|
1206
|
+
- test/dummy/bin/rake
|
1207
|
+
- test/dummy/bin/setup
|
1208
|
+
- test/dummy/bin/bundle
|
1209
|
+
- test/dummy/app/controllers/application_controller.rb
|
1210
|
+
- test/dummy/app/helpers/application_helper.rb
|
1211
|
+
- test/dummy/app/assets/config/manifest.js
|
1212
|
+
- test/dummy/app/assets/javascripts/application.js
|
1213
|
+
- test/dummy/app/assets/stylesheets/application.css
|
1214
|
+
- test/dummy/app/views/layouts/application.html.erb
|
1215
|
+
- test/dummy/config.ru
|
1216
|
+
- test/dummy/db/seeds.rb
|
1217
|
+
- test/dummy/db/schema.rb
|
1218
|
+
- test/jobs/mark_deploy_healthy_job_test.rb
|
1219
|
+
- test/jobs/refresh_status_job_test.rb
|
1220
|
+
- test/jobs/update_github_last_deployed_ref_job_test.rb
|
1221
|
+
- test/jobs/refresh_github_user_job_test.rb
|
1222
|
+
- test/jobs/perform_task_job_test.rb
|
1223
|
+
- test/jobs/cache_deploy_spec_job_test.rb
|
1224
|
+
- test/jobs/fetch_deployed_revision_job_test.rb
|
1225
|
+
- test/jobs/destroy_stack_job_test.rb
|
1226
|
+
- test/jobs/deliver_hook_job_test.rb
|
1227
|
+
- test/jobs/emit_event_job_test.rb
|
1228
|
+
- test/jobs/destroy_repository_job_test.rb
|
1229
|
+
- test/jobs/reap_dead_tasks_job_test.rb
|
1230
|
+
- test/jobs/github_sync_job_test.rb
|
1231
|
+
- test/jobs/chunk_rollup_job_test.rb
|
1232
|
+
- test/jobs/unique_job_test.rb
|
1233
|
+
- test/jobs/fetch_commit_stats_job_test.rb
|
1234
|
+
- test/jobs/purge_old_deliveries_job_test.rb
|
1235
|
+
- test/jobs/process_merge_requests_job_test.rb
|
1236
|
+
- test/serializers/shipit/pull_request_serializer_test.rb
|
1237
1237
|
- test/lib/shipit/task_commands_test.rb
|
1238
|
+
- test/lib/shipit/deploy_commands_test.rb
|