shipit-engine 0.28.0 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (314) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +41 -2
  3. data/Rakefile +4 -2
  4. data/app/assets/images/archive-solid.svg +1 -0
  5. data/app/assets/stylesheets/_pages/_stacks.scss +76 -3
  6. data/app/assets/stylesheets/_structure/_main.scss +2 -1
  7. data/app/assets/stylesheets/merge_status.scss +0 -3
  8. data/app/controllers/concerns/shipit/active_model_serializers_patch.rb +13 -0
  9. data/app/controllers/concerns/shipit/api/cacheable.rb +1 -0
  10. data/app/controllers/concerns/shipit/api/paginable.rb +3 -2
  11. data/app/controllers/concerns/shipit/api/rendering.rb +5 -4
  12. data/app/controllers/concerns/shipit/authentication.rb +3 -2
  13. data/app/controllers/concerns/shipit/pagination.rb +2 -1
  14. data/app/controllers/shipit/api/base_controller.rb +11 -6
  15. data/app/controllers/shipit/api/ccmenu_controller.rb +2 -1
  16. data/app/controllers/shipit/api/commits_controller.rb +2 -1
  17. data/app/controllers/shipit/api/deploys_controller.rb +4 -3
  18. data/app/controllers/shipit/api/hooks_controller.rb +6 -5
  19. data/app/controllers/shipit/api/locks_controller.rb +5 -4
  20. data/app/controllers/shipit/api/outputs_controller.rb +2 -1
  21. data/app/controllers/shipit/api/pull_requests_controller.rb +7 -6
  22. data/app/controllers/shipit/api/release_statuses_controller.rb +3 -2
  23. data/app/controllers/shipit/api/rollbacks_controller.rb +33 -0
  24. data/app/controllers/shipit/api/stacks_controller.rb +37 -5
  25. data/app/controllers/shipit/api/tasks_controller.rb +6 -5
  26. data/app/controllers/shipit/api_clients_controller.rb +50 -0
  27. data/app/controllers/shipit/ccmenu_url_controller.rb +4 -3
  28. data/app/controllers/shipit/commit_checks_controller.rb +2 -1
  29. data/app/controllers/shipit/commits_controller.rb +2 -1
  30. data/app/controllers/shipit/deploys_controller.rb +3 -2
  31. data/app/controllers/shipit/github_authentication_controller.rb +4 -3
  32. data/app/controllers/shipit/merge_status_controller.rb +19 -14
  33. data/app/controllers/shipit/pull_requests_controller.rb +3 -2
  34. data/app/controllers/shipit/release_statuses_controller.rb +3 -2
  35. data/app/controllers/shipit/rollbacks_controller.rb +3 -2
  36. data/app/controllers/shipit/shipit_controller.rb +2 -1
  37. data/app/controllers/shipit/stacks_controller.rb +78 -14
  38. data/app/controllers/shipit/status_controller.rb +2 -1
  39. data/app/controllers/shipit/tasks_controller.rb +6 -5
  40. data/app/controllers/shipit/webhooks_controller.rb +5 -132
  41. data/app/helpers/shipit/chunks_helper.rb +1 -0
  42. data/app/helpers/shipit/deploys_helper.rb +4 -3
  43. data/app/helpers/shipit/github_url_helper.rb +1 -0
  44. data/app/helpers/shipit/merge_status_helper.rb +1 -0
  45. data/app/helpers/shipit/shipit_helper.rb +1 -0
  46. data/app/helpers/shipit/stacks_helper.rb +5 -0
  47. data/app/helpers/shipit/tasks_helper.rb +1 -0
  48. data/app/jobs/shipit/background_job.rb +4 -0
  49. data/app/jobs/shipit/background_job/unique.rb +4 -1
  50. data/app/jobs/shipit/cache_deploy_spec_job.rb +1 -0
  51. data/app/jobs/shipit/chunk_rollup_job.rb +4 -0
  52. data/app/jobs/shipit/clear_git_cache_job.rb +1 -0
  53. data/app/jobs/shipit/continuous_delivery_job.rb +3 -1
  54. data/app/jobs/shipit/create_on_github_job.rb +6 -1
  55. data/app/jobs/shipit/create_release_statuses_job.rb +1 -0
  56. data/app/jobs/shipit/deferred_touch_job.rb +4 -0
  57. data/app/jobs/shipit/deliver_hook_job.rb +1 -0
  58. data/app/jobs/shipit/destroy_job.rb +1 -0
  59. data/app/jobs/shipit/destroy_stack_job.rb +3 -2
  60. data/app/jobs/shipit/emit_event_job.rb +2 -1
  61. data/app/jobs/shipit/fetch_commit_stats_job.rb +1 -0
  62. data/app/jobs/shipit/fetch_deployed_revision_job.rb +2 -1
  63. data/app/jobs/shipit/github_sync_job.rb +3 -2
  64. data/app/jobs/shipit/{mark_deploy_healty_job.rb → mark_deploy_healthy_job.rb} +1 -0
  65. data/app/jobs/shipit/merge_pull_requests_job.rb +1 -0
  66. data/app/jobs/shipit/perform_commit_checks_job.rb +1 -0
  67. data/app/jobs/shipit/perform_task_job.rb +14 -5
  68. data/app/jobs/shipit/purge_old_deliveries_job.rb +1 -0
  69. data/app/jobs/shipit/reap_dead_tasks_job.rb +21 -0
  70. data/app/jobs/shipit/refresh_check_runs_job.rb +1 -0
  71. data/app/jobs/shipit/refresh_github_user_job.rb +1 -0
  72. data/app/jobs/shipit/refresh_pull_request_job.rb +1 -0
  73. data/app/jobs/shipit/refresh_statuses_job.rb +1 -0
  74. data/app/jobs/shipit/setup_github_hook_job.rb +1 -0
  75. data/app/jobs/shipit/update_estimated_deploy_duration_job.rb +1 -0
  76. data/app/jobs/shipit/update_github_last_deployed_ref_job.rb +6 -3
  77. data/app/models/concerns/shipit/deferred_touch.rb +4 -3
  78. data/app/models/shipit/anonymous_user.rb +5 -0
  79. data/app/models/shipit/api_client.rb +3 -2
  80. data/app/models/shipit/application_record.rb +2 -1
  81. data/app/models/shipit/check_run.rb +4 -3
  82. data/app/models/shipit/command_line_user.rb +1 -0
  83. data/app/models/shipit/commit.rb +31 -12
  84. data/app/models/shipit/commit_checks.rb +1 -0
  85. data/app/models/shipit/commit_deployment.rb +17 -12
  86. data/app/models/shipit/commit_deployment_status.rb +8 -3
  87. data/app/models/shipit/commit_message.rb +1 -0
  88. data/app/models/shipit/delivery.rb +4 -3
  89. data/app/models/shipit/deploy.rb +40 -10
  90. data/app/models/shipit/deploy_spec.rb +22 -3
  91. data/app/models/shipit/deploy_spec/bundler_discovery.rb +2 -1
  92. data/app/models/shipit/deploy_spec/capistrano_discovery.rb +1 -0
  93. data/app/models/shipit/deploy_spec/file_system.rb +10 -3
  94. data/app/models/shipit/deploy_spec/kubernetes_discovery.rb +1 -0
  95. data/app/models/shipit/deploy_spec/lerna_discovery.rb +1 -0
  96. data/app/models/shipit/deploy_spec/npm_discovery.rb +5 -4
  97. data/app/models/shipit/deploy_spec/pypi_discovery.rb +1 -0
  98. data/app/models/shipit/deploy_spec/rubygems_discovery.rb +1 -0
  99. data/app/models/shipit/deploy_stats.rb +58 -0
  100. data/app/models/shipit/duration.rb +3 -2
  101. data/app/models/shipit/ephemeral_commit_checks.rb +1 -0
  102. data/app/models/shipit/github_hook.rb +2 -1
  103. data/app/models/shipit/github_status.rb +3 -2
  104. data/app/models/shipit/hook.rb +6 -5
  105. data/app/models/shipit/membership.rb +3 -2
  106. data/app/models/shipit/output_chunk.rb +7 -2
  107. data/app/models/shipit/pull_request.rb +13 -7
  108. data/app/models/shipit/record.rb +18 -0
  109. data/app/models/shipit/release_status.rb +3 -2
  110. data/app/models/shipit/repository.rb +43 -0
  111. data/app/models/shipit/rollback.rb +1 -0
  112. data/app/models/shipit/stack.rb +109 -50
  113. data/app/models/shipit/status.rb +3 -2
  114. data/app/models/shipit/status/common.rb +7 -6
  115. data/app/models/shipit/status/group.rb +1 -0
  116. data/app/models/shipit/status/missing.rb +2 -1
  117. data/app/models/shipit/status/unknown.rb +2 -1
  118. data/app/models/shipit/task.rb +64 -9
  119. data/app/models/shipit/task_definition.rb +1 -0
  120. data/app/models/shipit/team.rb +2 -1
  121. data/app/models/shipit/undeployed_commit.rb +1 -0
  122. data/app/models/shipit/unlimited_api_client.rb +1 -0
  123. data/app/models/shipit/user.rb +29 -5
  124. data/app/models/shipit/variable_definition.rb +1 -0
  125. data/app/models/shipit/webhooks.rb +33 -0
  126. data/app/models/shipit/webhooks/handlers/check_suite_handler.rb +20 -0
  127. data/app/models/shipit/webhooks/handlers/handler.rb +41 -0
  128. data/app/models/shipit/webhooks/handlers/membership_handler.rb +46 -0
  129. data/app/models/shipit/webhooks/handlers/push_handler.rb +21 -0
  130. data/app/models/shipit/webhooks/handlers/status_handler.rb +27 -0
  131. data/app/serializers/concerns/shipit/conditional_attributes.rb +1 -0
  132. data/app/serializers/shipit/anonymous_user_serializer.rb +1 -0
  133. data/app/serializers/shipit/command_line_user_serializer.rb +1 -0
  134. data/app/serializers/shipit/commit_serializer.rb +1 -0
  135. data/app/serializers/shipit/deploy_serializer.rb +2 -1
  136. data/app/serializers/shipit/hook_serializer.rb +1 -0
  137. data/app/serializers/shipit/pull_request_serializer.rb +1 -0
  138. data/app/serializers/shipit/rollback_serializer.rb +1 -0
  139. data/app/serializers/shipit/short_commit_serializer.rb +1 -0
  140. data/app/serializers/shipit/stack_serializer.rb +7 -1
  141. data/app/serializers/shipit/tail_task_serializer.rb +1 -0
  142. data/app/serializers/shipit/task_serializer.rb +2 -17
  143. data/app/serializers/shipit/user_serializer.rb +6 -1
  144. data/app/validators/ascii_only_validator.rb +4 -3
  145. data/app/validators/subset_validator.rb +1 -0
  146. data/app/views/layouts/_head.html.erb +0 -0
  147. data/app/views/layouts/shipit.html.erb +6 -4
  148. data/app/views/shipit/_variables.html.erb +1 -1
  149. data/app/views/shipit/api_clients/index.html.erb +36 -0
  150. data/app/views/shipit/api_clients/new.html.erb +33 -0
  151. data/app/views/shipit/api_clients/show.html.erb +35 -0
  152. data/app/views/shipit/ccmenu/project.xml.builder +2 -1
  153. data/app/views/shipit/deploys/new.html.erb +17 -12
  154. data/app/views/shipit/deploys/show.html.erb +2 -2
  155. data/app/views/shipit/merge_status/logged_out.erb +1 -1
  156. data/app/views/shipit/stacks/_header.html.erb +27 -12
  157. data/app/views/shipit/stacks/_links.html.erb +1 -0
  158. data/app/views/shipit/stacks/all_tasks.html.erb +28 -0
  159. data/app/views/shipit/stacks/index.html.erb +7 -2
  160. data/app/views/shipit/stacks/settings.html.erb +19 -0
  161. data/app/views/shipit/stacks/statistics.html.erb +82 -0
  162. data/app/views/shipit/tasks/show.html.erb +1 -1
  163. data/config/initializers/inflections.rb +2 -1
  164. data/config/locales/en.yml +18 -5
  165. data/config/routes.rb +14 -2
  166. data/db/migrate/20191209231045_create_shipit_repositories.rb +12 -0
  167. data/db/migrate/20191209231307_add_repository_reference_to_stacks.rb +15 -0
  168. data/db/migrate/20191216162728_backfill_repository_data.rb +22 -0
  169. data/db/migrate/20191216163010_remove_repository_information_from_stacks.rb +20 -0
  170. data/db/migrate/20191219205202_add_archived_since_to_stacks.rb +6 -0
  171. data/db/migrate/20200102175621_optional_task_commits.rb +6 -0
  172. data/db/migrate/20200109132519_add_sha_to_commit_deployments.rb +5 -0
  173. data/db/migrate/20200226211925_add_index_to_tasks_status.rb +5 -0
  174. data/db/migrate/20200427135152_add_pull_request_head_sha_to_commit.rb +5 -0
  175. data/db/migrate/20200615181558_add_rollback_once_aborted_to.rb +5 -0
  176. data/lib/shipit.rb +18 -20
  177. data/lib/shipit/cast_value.rb +1 -0
  178. data/lib/shipit/command.rb +14 -18
  179. data/lib/shipit/commands.rb +5 -4
  180. data/lib/shipit/csv_serializer.rb +1 -0
  181. data/lib/shipit/deploy_commands.rb +1 -0
  182. data/lib/shipit/engine.rb +11 -2
  183. data/lib/shipit/environment_variables.rb +11 -1
  184. data/lib/shipit/first_parent_commits_iterator.rb +1 -0
  185. data/lib/shipit/flock.rb +1 -0
  186. data/lib/shipit/github_app.rb +60 -6
  187. data/lib/shipit/github_http_cache_middleware.rb +57 -0
  188. data/lib/shipit/null_serializer.rb +1 -0
  189. data/lib/shipit/octokit_check_runs.rb +3 -2
  190. data/lib/shipit/octokit_iterator.rb +3 -2
  191. data/lib/shipit/paginator.rb +3 -2
  192. data/lib/shipit/rollback_commands.rb +1 -0
  193. data/lib/shipit/same_site_cookie_middleware.rb +29 -0
  194. data/lib/shipit/simple_message_verifier.rb +1 -0
  195. data/lib/shipit/stack_commands.rb +6 -3
  196. data/lib/shipit/stat.rb +1 -0
  197. data/lib/shipit/task_commands.rb +22 -14
  198. data/lib/shipit/version.rb +2 -1
  199. data/lib/snippets/release-gem +5 -1
  200. data/lib/tasks/cron.rake +2 -0
  201. data/lib/tasks/dev.rake +3 -2
  202. data/lib/tasks/shipit.rake +16 -17
  203. data/lib/tasks/teams.rake +1 -0
  204. data/test/controllers/api/base_controller_test.rb +3 -2
  205. data/test/controllers/api/ccmenu_controller_test.rb +9 -8
  206. data/test/controllers/api/commits_controller_test.rb +3 -2
  207. data/test/controllers/api/deploys_controller_test.rb +15 -14
  208. data/test/controllers/api/hooks_controller_test.rb +8 -7
  209. data/test/controllers/api/locks_controller_test.rb +7 -6
  210. data/test/controllers/api/outputs_controller_test.rb +3 -2
  211. data/test/controllers/api/pull_requests_controller_test.rb +8 -7
  212. data/test/controllers/api/release_statuses_controller_test.rb +2 -1
  213. data/test/controllers/api/rollback_controller_test.rb +113 -0
  214. data/test/controllers/api/stacks_controller_test.rb +44 -15
  215. data/test/controllers/api/tasks_controller_test.rb +13 -12
  216. data/test/controllers/api_clients_controller_test.rb +104 -0
  217. data/test/controllers/ccmenu_controller_test.rb +4 -3
  218. data/test/controllers/commit_checks_controller_test.rb +4 -3
  219. data/test/controllers/commits_controller_test.rb +3 -2
  220. data/test/controllers/deploys_controller_test.rb +33 -22
  221. data/test/controllers/github_authentication_controller_test.rb +1 -0
  222. data/test/controllers/merge_status_controller_test.rb +27 -9
  223. data/test/controllers/pull_requests_controller_test.rb +4 -3
  224. data/test/controllers/release_statuses_controller_test.rb +3 -2
  225. data/test/controllers/rollbacks_controller_test.rb +9 -8
  226. data/test/controllers/stacks_controller_test.rb +64 -15
  227. data/test/controllers/status_controller_test.rb +1 -0
  228. data/test/controllers/tasks_controller_test.rb +20 -19
  229. data/test/controllers/webhooks_controller_test.rb +36 -9
  230. data/test/dummy/config/application.rb +1 -1
  231. data/test/dummy/config/environments/development.rb +24 -4
  232. data/test/dummy/config/environments/test.rb +2 -0
  233. data/test/dummy/db/schema.rb +25 -11
  234. data/test/dummy/db/seeds.rb +34 -17
  235. data/test/fixtures/shipit/commit_deployment_statuses.yml +4 -4
  236. data/test/fixtures/shipit/commit_deployments.yml +8 -8
  237. data/test/fixtures/shipit/commits.yml +38 -0
  238. data/test/fixtures/shipit/repositories.yml +27 -0
  239. data/test/fixtures/shipit/stacks.yml +190 -30
  240. data/test/fixtures/shipit/tasks.yml +66 -3
  241. data/test/fixtures/timeout +2 -1
  242. data/test/helpers/api_helper.rb +1 -0
  243. data/test/helpers/fixture_aliases_helper.rb +1 -0
  244. data/test/helpers/hooks_helper.rb +2 -1
  245. data/test/helpers/json_helper.rb +15 -11
  246. data/test/helpers/links_helper.rb +4 -3
  247. data/test/helpers/payloads_helper.rb +1 -0
  248. data/test/helpers/queries_helper.rb +3 -2
  249. data/test/jobs/cache_deploy_spec_job_test.rb +2 -1
  250. data/test/jobs/chunk_rollup_job_test.rb +1 -0
  251. data/test/jobs/deliver_hook_job_test.rb +2 -1
  252. data/test/jobs/destroy_stack_job_test.rb +10 -0
  253. data/test/jobs/emit_event_job_test.rb +2 -1
  254. data/test/jobs/fetch_commit_stats_job_test.rb +1 -0
  255. data/test/jobs/fetch_deployed_revision_job_test.rb +1 -0
  256. data/test/jobs/github_sync_job_test.rb +1 -0
  257. data/test/jobs/mark_deploy_healthy_job_test.rb +1 -0
  258. data/test/jobs/merge_pull_requests_job_test.rb +5 -4
  259. data/test/jobs/perform_task_job_test.rb +4 -3
  260. data/test/jobs/purge_old_deliveries_job_test.rb +1 -0
  261. data/test/jobs/reap_dead_tasks_job_test.rb +68 -0
  262. data/test/jobs/refresh_github_user_job_test.rb +1 -0
  263. data/test/jobs/refresh_status_job_test.rb +1 -0
  264. data/test/jobs/unique_job_test.rb +1 -0
  265. data/test/jobs/update_github_last_deployed_ref_job_test.rb +13 -11
  266. data/test/middleware/same_site_cookie_middleware_test.rb +52 -0
  267. data/test/models/api_client_test.rb +1 -0
  268. data/test/models/commit_checks_test.rb +1 -0
  269. data/test/models/commit_deployment_status_test.rb +34 -4
  270. data/test/models/commit_deployment_test.rb +9 -11
  271. data/test/models/commits_test.rb +99 -7
  272. data/test/models/delivery_test.rb +3 -2
  273. data/test/models/deploy_spec_test.rb +47 -42
  274. data/test/models/deploy_stats_test.rb +113 -0
  275. data/test/models/deploys_test.rb +60 -13
  276. data/test/models/duration_test.rb +1 -0
  277. data/test/models/github_hook_test.rb +1 -0
  278. data/test/models/hook_test.rb +20 -16
  279. data/test/models/membership_test.rb +1 -0
  280. data/test/models/output_chunk_test.rb +1 -0
  281. data/test/models/pull_request_test.rb +18 -11
  282. data/test/models/release_statuses_test.rb +1 -0
  283. data/test/models/rollbacks_test.rb +1 -0
  284. data/test/models/shipit/check_run_test.rb +1 -0
  285. data/test/models/shipit/repository_test.rb +77 -0
  286. data/test/models/shipit/wehbooks/handlers_test.rb +27 -0
  287. data/test/models/stacks_test.rb +110 -56
  288. data/test/models/status/group_test.rb +1 -0
  289. data/test/models/status/missing_test.rb +1 -0
  290. data/test/models/status_test.rb +1 -0
  291. data/test/models/task_definitions_test.rb +9 -8
  292. data/test/models/tasks_test.rb +18 -1
  293. data/test/models/team_test.rb +4 -2
  294. data/test/models/undeployed_commits_test.rb +14 -0
  295. data/test/models/users_test.rb +109 -1
  296. data/test/test_command_integration.rb +3 -2
  297. data/test/test_helper.rb +38 -34
  298. data/test/unit/anonymous_user_serializer_test.rb +14 -0
  299. data/test/unit/command_test.rb +12 -7
  300. data/test/unit/commands_test.rb +1 -0
  301. data/test/unit/commit_serializer_test.rb +16 -0
  302. data/test/unit/csv_serializer_test.rb +3 -2
  303. data/test/unit/deploy_commands_test.rb +14 -4
  304. data/test/unit/deploy_serializer_test.rb +17 -0
  305. data/test/unit/environment_variables_test.rb +5 -4
  306. data/test/unit/github_app_test.rb +165 -0
  307. data/test/unit/github_url_helper_test.rb +1 -0
  308. data/test/unit/rollback_commands_test.rb +2 -1
  309. data/test/unit/shipit_helper_test.rb +17 -0
  310. data/test/unit/shipit_test.rb +1 -0
  311. data/test/unit/user_serializer_test.rb +14 -0
  312. data/test/unit/variable_definition_test.rb +1 -0
  313. metadata +215 -157
  314. data/lib/shipit/strip_cache_control.rb +0 -40
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'test_helper'
2
3
 
3
4
  module Shipit
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'test_helper'
2
3
 
3
4
  module Shipit
@@ -10,7 +11,7 @@ module Shipit
10
11
  dependencies_steps!: ['bundle install --some-args'],
11
12
  deploy_steps!: ['bundle exec cap $ENVIRONMENT deploy'],
12
13
  rollback_steps!: ['bundle exec cap $ENVIRONMENT deploy:rollback'],
13
- machine_env: {'GLOBAL' => '1'},
14
+ machine_env: { 'GLOBAL' => '1' },
14
15
  directory: nil,
15
16
  clear_working_directory?: true,
16
17
  )
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+ require 'test_helper'
3
+
4
+ module Shipit
5
+ class ShipitHelperTest < ActionView::TestCase
6
+ include Shipit::ShipitHelper
7
+ include ERB::Util
8
+
9
+ test "#emojify embeds known emojis" do
10
+ assert_includes emojify(':smile:'), '<img'
11
+ end
12
+
13
+ test "#emojify returns unknown emojis" do
14
+ assert_equal ':unknown:', emojify(':unknown:')
15
+ end
16
+ end
17
+ end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'test_helper'
2
3
 
3
4
  module Shipit
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+ require 'test_helper'
3
+
4
+ module Shipit
5
+ class UserSerializerTest < ActiveSupport::TestCase
6
+ test 'includes anonymous key' do
7
+ user = User.new
8
+ serializer = ActiveModel::Serializer.serializer_for(user)
9
+ assert_equal UserSerializer, serializer
10
+ serialized = serializer.new(user).to_json
11
+ assert_json("anonymous", false, document: serialized)
12
+ end
13
+ end
14
+ end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'test_helper'
2
3
 
3
4
  module Shipit
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.28.0
4
+ version: 0.32.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: 2019-07-19 00:00:00.000000000 Z
11
+ date: 2020-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_serializers
@@ -72,42 +72,42 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '4.2'
75
+ version: '5.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '4.2'
82
+ version: '5.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: explicit-parameters
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.3.0
89
+ version: 0.4.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.3.0
96
+ version: 0.4.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: faraday
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.12.2
103
+ version: '0.15'
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.12.2
110
+ version: '0.15'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: faraday-http-cache
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -170,56 +170,56 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 4.12.0
173
+ version: '4.15'
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 4.12.0
180
+ version: '4.15'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: omniauth-github
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 1.3.0
187
+ version: '1.4'
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 1.3.0
194
+ version: '1.4'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: pubsubstub
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: 0.1.2
201
+ version: 0.2.0
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: 0.1.2
208
+ version: 0.2.0
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: rails
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: 5.2.1
215
+ version: 6.0.0
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.2.1
222
+ version: 6.0.0
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: rails-timeago
225
225
  requirement: !ruby/object:Gem::Requirement
@@ -252,58 +252,58 @@ dependencies:
252
252
  name: rake
253
253
  requirement: !ruby/object:Gem::Requirement
254
254
  requirements:
255
- - - "~>"
255
+ - - ">="
256
256
  - !ruby/object:Gem::Version
257
- version: '10.0'
257
+ version: '0'
258
258
  type: :runtime
259
259
  prerelease: false
260
260
  version_requirements: !ruby/object:Gem::Requirement
261
261
  requirements:
262
- - - "~>"
262
+ - - ">="
263
263
  - !ruby/object:Gem::Version
264
- version: '10.0'
264
+ version: '0'
265
265
  - !ruby/object:Gem::Dependency
266
266
  name: redis-namespace
267
267
  requirement: !ruby/object:Gem::Requirement
268
268
  requirements:
269
269
  - - "~>"
270
270
  - !ruby/object:Gem::Version
271
- version: 1.5.2
271
+ version: 1.6.0
272
272
  type: :runtime
273
273
  prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
276
  - - "~>"
277
277
  - !ruby/object:Gem::Version
278
- version: 1.5.2
278
+ version: 1.6.0
279
279
  - !ruby/object:Gem::Dependency
280
280
  name: redis-objects
281
281
  requirement: !ruby/object:Gem::Requirement
282
282
  requirements:
283
283
  - - "~>"
284
284
  - !ruby/object:Gem::Version
285
- version: 1.2.1
285
+ version: 1.4.3
286
286
  type: :runtime
287
287
  prerelease: false
288
288
  version_requirements: !ruby/object:Gem::Requirement
289
289
  requirements:
290
290
  - - "~>"
291
291
  - !ruby/object:Gem::Version
292
- version: 1.2.1
292
+ version: 1.4.3
293
293
  - !ruby/object:Gem::Dependency
294
294
  name: responders
295
295
  requirement: !ruby/object:Gem::Requirement
296
296
  requirements:
297
297
  - - "~>"
298
298
  - !ruby/object:Gem::Version
299
- version: 2.4.0
299
+ version: '3.0'
300
300
  type: :runtime
301
301
  prerelease: false
302
302
  version_requirements: !ruby/object:Gem::Requirement
303
303
  requirements:
304
304
  - - "~>"
305
305
  - !ruby/object:Gem::Version
306
- version: 2.4.0
306
+ version: '3.0'
307
307
  - !ruby/object:Gem::Dependency
308
308
  name: safe_yaml
309
309
  requirement: !ruby/object:Gem::Requirement
@@ -366,14 +366,14 @@ dependencies:
366
366
  requirements:
367
367
  - - "~>"
368
368
  - !ruby/object:Gem::Version
369
- version: 0.5.0
369
+ version: 0.6.0
370
370
  type: :runtime
371
371
  prerelease: false
372
372
  version_requirements: !ruby/object:Gem::Requirement
373
373
  requirements:
374
374
  - - "~>"
375
375
  - !ruby/object:Gem::Version
376
- version: 0.5.0
376
+ version: 0.6.0
377
377
  - !ruby/object:Gem::Dependency
378
378
  name: validate_url
379
379
  requirement: !ruby/object:Gem::Requirement
@@ -401,6 +401,7 @@ files:
401
401
  - app/assets/images/aborted.svg
402
402
  - app/assets/images/aborting.svg
403
403
  - app/assets/images/anchor.svg
404
+ - app/assets/images/archive-solid.svg
404
405
  - app/assets/images/caret-down.svg
405
406
  - app/assets/images/default.svg
406
407
  - app/assets/images/deploy_error.jpg
@@ -469,6 +470,7 @@ files:
469
470
  - app/assets/webfonts/CheckoutSymbols-Regular.svg
470
471
  - app/assets/webfonts/CheckoutSymbols-Regular.ttf
471
472
  - app/assets/webfonts/CheckoutSymbols-Regular.woff
473
+ - app/controllers/concerns/shipit/active_model_serializers_patch.rb
472
474
  - app/controllers/concerns/shipit/api/cacheable.rb
473
475
  - app/controllers/concerns/shipit/api/paginable.rb
474
476
  - app/controllers/concerns/shipit/api/rendering.rb
@@ -483,8 +485,10 @@ files:
483
485
  - app/controllers/shipit/api/outputs_controller.rb
484
486
  - app/controllers/shipit/api/pull_requests_controller.rb
485
487
  - app/controllers/shipit/api/release_statuses_controller.rb
488
+ - app/controllers/shipit/api/rollbacks_controller.rb
486
489
  - app/controllers/shipit/api/stacks_controller.rb
487
490
  - app/controllers/shipit/api/tasks_controller.rb
491
+ - app/controllers/shipit/api_clients_controller.rb
488
492
  - app/controllers/shipit/ccmenu_url_controller.rb
489
493
  - app/controllers/shipit/commit_checks_controller.rb
490
494
  - app/controllers/shipit/commits_controller.rb
@@ -522,11 +526,12 @@ files:
522
526
  - app/jobs/shipit/fetch_commit_stats_job.rb
523
527
  - app/jobs/shipit/fetch_deployed_revision_job.rb
524
528
  - app/jobs/shipit/github_sync_job.rb
525
- - app/jobs/shipit/mark_deploy_healty_job.rb
529
+ - app/jobs/shipit/mark_deploy_healthy_job.rb
526
530
  - app/jobs/shipit/merge_pull_requests_job.rb
527
531
  - app/jobs/shipit/perform_commit_checks_job.rb
528
532
  - app/jobs/shipit/perform_task_job.rb
529
533
  - app/jobs/shipit/purge_old_deliveries_job.rb
534
+ - app/jobs/shipit/reap_dead_tasks_job.rb
530
535
  - app/jobs/shipit/refresh_check_runs_job.rb
531
536
  - app/jobs/shipit/refresh_github_user_job.rb
532
537
  - app/jobs/shipit/refresh_pull_request_job.rb
@@ -556,6 +561,7 @@ files:
556
561
  - app/models/shipit/deploy_spec/npm_discovery.rb
557
562
  - app/models/shipit/deploy_spec/pypi_discovery.rb
558
563
  - app/models/shipit/deploy_spec/rubygems_discovery.rb
564
+ - app/models/shipit/deploy_stats.rb
559
565
  - app/models/shipit/duration.rb
560
566
  - app/models/shipit/ephemeral_commit_checks.rb
561
567
  - app/models/shipit/github_hook.rb
@@ -564,7 +570,9 @@ files:
564
570
  - app/models/shipit/membership.rb
565
571
  - app/models/shipit/output_chunk.rb
566
572
  - app/models/shipit/pull_request.rb
573
+ - app/models/shipit/record.rb
567
574
  - app/models/shipit/release_status.rb
575
+ - app/models/shipit/repository.rb
568
576
  - app/models/shipit/rollback.rb
569
577
  - app/models/shipit/stack.rb
570
578
  - app/models/shipit/status.rb
@@ -579,6 +587,12 @@ files:
579
587
  - app/models/shipit/unlimited_api_client.rb
580
588
  - app/models/shipit/user.rb
581
589
  - app/models/shipit/variable_definition.rb
590
+ - app/models/shipit/webhooks.rb
591
+ - app/models/shipit/webhooks/handlers/check_suite_handler.rb
592
+ - app/models/shipit/webhooks/handlers/handler.rb
593
+ - app/models/shipit/webhooks/handlers/membership_handler.rb
594
+ - app/models/shipit/webhooks/handlers/push_handler.rb
595
+ - app/models/shipit/webhooks/handlers/status_handler.rb
582
596
  - app/serializers/concerns/shipit/conditional_attributes.rb
583
597
  - app/serializers/shipit/anonymous_user_serializer.rb
584
598
  - app/serializers/shipit/command_line_user_serializer.rb
@@ -594,9 +608,13 @@ files:
594
608
  - app/serializers/shipit/user_serializer.rb
595
609
  - app/validators/ascii_only_validator.rb
596
610
  - app/validators/subset_validator.rb
611
+ - app/views/layouts/_head.html.erb
597
612
  - app/views/layouts/merge_status.html.erb
598
613
  - app/views/layouts/shipit.html.erb
599
614
  - app/views/shipit/_variables.html.erb
615
+ - app/views/shipit/api_clients/index.html.erb
616
+ - app/views/shipit/api_clients/new.html.erb
617
+ - app/views/shipit/api_clients/show.html.erb
600
618
  - app/views/shipit/ccmenu/project.xml.builder
601
619
  - app/views/shipit/commit_checks/_checks.html.erb
602
620
  - app/views/shipit/commit_checks/show.html.erb
@@ -625,10 +643,13 @@ files:
625
643
  - app/views/shipit/shared/_author.html.erb
626
644
  - app/views/shipit/stacks/_banners.html.erb
627
645
  - app/views/shipit/stacks/_header.html.erb
646
+ - app/views/shipit/stacks/_links.html.erb
647
+ - app/views/shipit/stacks/all_tasks.html.erb
628
648
  - app/views/shipit/stacks/index.html.erb
629
649
  - app/views/shipit/stacks/new.html.erb
630
650
  - app/views/shipit/stacks/settings.html.erb
631
651
  - app/views/shipit/stacks/show.html.erb
652
+ - app/views/shipit/stacks/statistics.html.erb
632
653
  - app/views/shipit/statuses/_group.html.erb
633
654
  - app/views/shipit/statuses/_status.html.erb
634
655
  - app/views/shipit/tasks/_task.html.erb
@@ -694,6 +715,16 @@ files:
694
715
  - db/migrate/20180906083930_create_release_statuses.rb
695
716
  - db/migrate/20181010150947_create_shipit_check_runs.rb
696
717
  - db/migrate/20190502020249_add_lock_author_id_to_commits.rb
718
+ - db/migrate/20191209231045_create_shipit_repositories.rb
719
+ - db/migrate/20191209231307_add_repository_reference_to_stacks.rb
720
+ - db/migrate/20191216162728_backfill_repository_data.rb
721
+ - db/migrate/20191216163010_remove_repository_information_from_stacks.rb
722
+ - db/migrate/20191219205202_add_archived_since_to_stacks.rb
723
+ - db/migrate/20200102175621_optional_task_commits.rb
724
+ - db/migrate/20200109132519_add_sha_to_commit_deployments.rb
725
+ - db/migrate/20200226211925_add_index_to_tasks_status.rb
726
+ - db/migrate/20200427135152_add_pull_request_head_sha_to_commit.rb
727
+ - db/migrate/20200615181558_add_rollback_once_aborted_to.rb
697
728
  - lib/shipit-engine.rb
698
729
  - lib/shipit.rb
699
730
  - lib/shipit/cast_value.rb
@@ -706,16 +737,17 @@ files:
706
737
  - lib/shipit/first_parent_commits_iterator.rb
707
738
  - lib/shipit/flock.rb
708
739
  - lib/shipit/github_app.rb
740
+ - lib/shipit/github_http_cache_middleware.rb
709
741
  - lib/shipit/line_buffer.rb
710
742
  - lib/shipit/null_serializer.rb
711
743
  - lib/shipit/octokit_check_runs.rb
712
744
  - lib/shipit/octokit_iterator.rb
713
745
  - lib/shipit/paginator.rb
714
746
  - lib/shipit/rollback_commands.rb
747
+ - lib/shipit/same_site_cookie_middleware.rb
715
748
  - lib/shipit/simple_message_verifier.rb
716
749
  - lib/shipit/stack_commands.rb
717
750
  - lib/shipit/stat.rb
718
- - lib/shipit/strip_cache_control.rb
719
751
  - lib/shipit/task_commands.rb
720
752
  - lib/shipit/version.rb
721
753
  - lib/snippets/assert-egg-version-tag
@@ -746,8 +778,10 @@ files:
746
778
  - test/controllers/api/outputs_controller_test.rb
747
779
  - test/controllers/api/pull_requests_controller_test.rb
748
780
  - test/controllers/api/release_statuses_controller_test.rb
781
+ - test/controllers/api/rollback_controller_test.rb
749
782
  - test/controllers/api/stacks_controller_test.rb
750
783
  - test/controllers/api/tasks_controller_test.rb
784
+ - test/controllers/api_clients_controller_test.rb
751
785
  - test/controllers/ccmenu_controller_test.rb
752
786
  - test/controllers/commit_checks_controller_test.rb
753
787
  - test/controllers/commits_controller_test.rb
@@ -815,6 +849,7 @@ files:
815
849
  - test/fixtures/shipit/output_chunks.yml
816
850
  - test/fixtures/shipit/pull_requests.yml
817
851
  - test/fixtures/shipit/release_statuses.yml
852
+ - test/fixtures/shipit/repositories.yml
818
853
  - test/fixtures/shipit/stacks.yml
819
854
  - test/fixtures/shipit/statuses.yml
820
855
  - test/fixtures/shipit/tasks.yml
@@ -840,10 +875,12 @@ files:
840
875
  - test/jobs/merge_pull_requests_job_test.rb
841
876
  - test/jobs/perform_task_job_test.rb
842
877
  - test/jobs/purge_old_deliveries_job_test.rb
878
+ - test/jobs/reap_dead_tasks_job_test.rb
843
879
  - test/jobs/refresh_github_user_job_test.rb
844
880
  - test/jobs/refresh_status_job_test.rb
845
881
  - test/jobs/unique_job_test.rb
846
882
  - test/jobs/update_github_last_deployed_ref_job_test.rb
883
+ - test/middleware/same_site_cookie_middleware_test.rb
847
884
  - test/models/api_client_test.rb
848
885
  - test/models/commit_checks_test.rb
849
886
  - test/models/commit_deployment_status_test.rb
@@ -851,6 +888,7 @@ files:
851
888
  - test/models/commits_test.rb
852
889
  - test/models/delivery_test.rb
853
890
  - test/models/deploy_spec_test.rb
891
+ - test/models/deploy_stats_test.rb
854
892
  - test/models/deploys_test.rb
855
893
  - test/models/duration_test.rb
856
894
  - test/models/github_hook_test.rb
@@ -861,6 +899,8 @@ files:
861
899
  - test/models/release_statuses_test.rb
862
900
  - test/models/rollbacks_test.rb
863
901
  - test/models/shipit/check_run_test.rb
902
+ - test/models/shipit/repository_test.rb
903
+ - test/models/shipit/wehbooks/handlers_test.rb
864
904
  - test/models/stacks_test.rb
865
905
  - test/models/status/group_test.rb
866
906
  - test/models/status/missing_test.rb
@@ -872,16 +912,21 @@ files:
872
912
  - test/models/users_test.rb
873
913
  - test/test_command_integration.rb
874
914
  - test/test_helper.rb
915
+ - test/unit/anonymous_user_serializer_test.rb
875
916
  - test/unit/command_test.rb
876
917
  - test/unit/commands_test.rb
918
+ - test/unit/commit_serializer_test.rb
877
919
  - test/unit/csv_serializer_test.rb
878
920
  - test/unit/deploy_commands_test.rb
921
+ - test/unit/deploy_serializer_test.rb
879
922
  - test/unit/environment_variables_test.rb
880
923
  - test/unit/github_app_test.rb
881
924
  - test/unit/github_url_helper_test.rb
882
925
  - test/unit/line_buffer_test.rb
883
926
  - test/unit/rollback_commands_test.rb
927
+ - test/unit/shipit_helper_test.rb
884
928
  - test/unit/shipit_test.rb
929
+ - test/unit/user_serializer_test.rb
885
930
  - test/unit/variable_definition_test.rb
886
931
  - vendor/assets/javascripts/clusterize.js
887
932
  - vendor/assets/javascripts/jquery-notify.js
@@ -892,7 +937,8 @@ files:
892
937
  homepage: https://github.com/shopify/shipit-engine
893
938
  licenses:
894
939
  - MIT
895
- metadata: {}
940
+ metadata:
941
+ allowed_push_host: https://rubygems.org
896
942
  post_install_message:
897
943
  rdoc_options: []
898
944
  require_paths:
@@ -908,155 +954,167 @@ required_rubygems_version: !ruby/object:Gem::Requirement
908
954
  - !ruby/object:Gem::Version
909
955
  version: '0'
910
956
  requirements: []
911
- rubyforge_project:
912
- rubygems_version: 2.7.6
957
+ rubygems_version: 3.0.3
913
958
  signing_key:
914
959
  specification_version: 4
915
960
  summary: Application deployment software
916
961
  test_files:
917
- - test/helpers/hooks_helper.rb
918
- - test/helpers/links_helper.rb
919
- - test/helpers/fixture_aliases_helper.rb
920
- - test/helpers/json_helper.rb
921
- - test/helpers/payloads_helper.rb
922
- - test/helpers/api_helper.rb
923
- - test/helpers/queries_helper.rb
924
- - test/models/membership_test.rb
925
- - test/models/rollbacks_test.rb
926
- - test/models/output_chunk_test.rb
927
- - test/models/pull_request_test.rb
928
- - test/models/team_test.rb
929
- - test/models/commit_deployment_status_test.rb
930
- - test/models/deploy_spec_test.rb
931
- - test/models/task_definitions_test.rb
932
- - test/models/stacks_test.rb
933
- - test/models/undeployed_commits_test.rb
934
- - test/models/shipit/check_run_test.rb
935
- - test/models/github_hook_test.rb
936
- - test/models/status/group_test.rb
937
- - test/models/status/missing_test.rb
938
- - test/models/api_client_test.rb
939
- - test/models/deploys_test.rb
940
- - test/models/hook_test.rb
941
- - test/models/commit_checks_test.rb
942
- - test/models/status_test.rb
943
- - test/models/users_test.rb
944
- - test/models/commit_deployment_test.rb
945
- - test/models/release_statuses_test.rb
946
- - test/models/duration_test.rb
947
- - test/models/tasks_test.rb
948
- - test/models/delivery_test.rb
949
- - test/models/commits_test.rb
950
- - test/fixtures/payloads/check_suite_master.json
951
- - test/fixtures/payloads/push_not_master.json
952
- - test/fixtures/payloads/status_master.json
953
- - test/fixtures/payloads/push_master.json
954
- - test/fixtures/timeout
955
- - test/fixtures/shipit/users.yml
956
- - test/fixtures/shipit/output_chunks.yml
957
- - test/fixtures/shipit/teams.yml
958
- - test/fixtures/shipit/github_hooks.yml
959
- - test/fixtures/shipit/hooks.yml
960
- - test/fixtures/shipit/commits.yml
961
- - test/fixtures/shipit/commit_deployments.yml
962
- - test/fixtures/shipit/statuses.yml
963
- - test/fixtures/shipit/stacks.yml
964
- - test/fixtures/shipit/pull_requests.yml
965
- - test/fixtures/shipit/api_clients.yml
966
- - test/fixtures/shipit/tasks.yml
967
- - test/fixtures/shipit/release_statuses.yml
968
- - test/fixtures/shipit/memberships.yml
969
- - test/fixtures/shipit/commit_deployment_statuses.yml
970
- - test/fixtures/shipit/deliveries.yml
971
- - test/fixtures/shipit/check_runs.yml
972
- - test/dummy/config/secrets.yml
973
- - test/dummy/config/boot.rb
974
- - test/dummy/config/database.postgresql.yml
975
- - test/dummy/config/database.mysql.yml
976
- - test/dummy/config/locales/en.yml
977
- - test/dummy/config/environments/production.rb
978
- - test/dummy/config/environments/test.rb
979
- - test/dummy/config/environments/development.rb
980
- - test/dummy/config/application.rb
981
- - test/dummy/config/routes.rb
982
- - test/dummy/config/initializers/0_load_development_secrets.rb
983
- - test/dummy/config/initializers/wrap_parameters.rb
984
- - test/dummy/config/initializers/session_store.rb
985
- - test/dummy/config/initializers/inflections.rb
986
- - test/dummy/config/initializers/cookies_serializer.rb
987
- - test/dummy/config/initializers/assets.rb
988
- - test/dummy/config/initializers/mime_types.rb
989
- - test/dummy/config/initializers/filter_parameter_logging.rb
990
- - test/dummy/config/initializers/backtrace_silencers.rb
991
- - test/dummy/config/environment.rb
992
- - test/dummy/config/database.yml
993
- - test/dummy/Rakefile
962
+ - test/dummy/public/favicon.ico
963
+ - test/dummy/public/500.html
964
+ - test/dummy/public/422.html
965
+ - test/dummy/public/404.html
966
+ - test/dummy/db/seeds.rb
967
+ - test/dummy/db/schema.rb
968
+ - test/dummy/bin/rake
994
969
  - test/dummy/bin/bundle
995
970
  - test/dummy/bin/rails
996
- - test/dummy/bin/rake
997
971
  - test/dummy/bin/setup
998
- - test/dummy/public/422.html
999
- - test/dummy/public/favicon.ico
1000
- - test/dummy/public/404.html
1001
- - test/dummy/public/500.html
1002
- - test/dummy/app/helpers/application_helper.rb
972
+ - test/dummy/app/views/layouts/application.html.erb
1003
973
  - test/dummy/app/assets/stylesheets/application.css
1004
974
  - test/dummy/app/assets/javascripts/application.js
1005
- - test/dummy/app/views/layouts/application.html.erb
1006
975
  - test/dummy/app/controllers/application_controller.rb
1007
- - test/dummy/db/seeds.rb
1008
- - test/dummy/db/schema.rb
976
+ - test/dummy/app/helpers/application_helper.rb
1009
977
  - test/dummy/config.ru
1010
- - test/controllers/deploys_controller_test.rb
978
+ - test/dummy/Rakefile
979
+ - test/dummy/config/application.rb
980
+ - test/dummy/config/database.yml
981
+ - test/dummy/config/locales/en.yml
982
+ - test/dummy/config/secrets.yml
983
+ - test/dummy/config/boot.rb
984
+ - test/dummy/config/database.mysql.yml
985
+ - test/dummy/config/initializers/filter_parameter_logging.rb
986
+ - test/dummy/config/initializers/session_store.rb
987
+ - test/dummy/config/initializers/backtrace_silencers.rb
988
+ - test/dummy/config/initializers/mime_types.rb
989
+ - test/dummy/config/initializers/cookies_serializer.rb
990
+ - test/dummy/config/initializers/0_load_development_secrets.rb
991
+ - test/dummy/config/initializers/assets.rb
992
+ - test/dummy/config/initializers/wrap_parameters.rb
993
+ - test/dummy/config/initializers/inflections.rb
994
+ - test/dummy/config/environment.rb
995
+ - test/dummy/config/routes.rb
996
+ - test/dummy/config/database.postgresql.yml
997
+ - test/dummy/config/environments/test.rb
998
+ - test/dummy/config/environments/development.rb
999
+ - test/dummy/config/environments/production.rb
1000
+ - test/controllers/webhooks_controller_test.rb
1001
+ - 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
+ - test/controllers/ccmenu_controller_test.rb
1011
1006
  - test/controllers/stacks_controller_test.rb
1012
- - test/controllers/status_controller_test.rb
1013
- - test/controllers/api/deploys_controller_test.rb
1014
- - test/controllers/api/locks_controller_test.rb
1015
- - test/controllers/api/stacks_controller_test.rb
1016
- - test/controllers/api/release_statuses_controller_test.rb
1007
+ - test/controllers/deploys_controller_test.rb
1008
+ - test/controllers/api/hooks_controller_test.rb
1017
1009
  - test/controllers/api/ccmenu_controller_test.rb
1010
+ - test/controllers/api/stacks_controller_test.rb
1011
+ - test/controllers/api/base_controller_test.rb
1012
+ - test/controllers/api/locks_controller_test.rb
1013
+ - test/controllers/api/deploys_controller_test.rb
1018
1014
  - test/controllers/api/commits_controller_test.rb
1019
- - test/controllers/api/outputs_controller_test.rb
1020
- - test/controllers/api/hooks_controller_test.rb
1015
+ - test/controllers/api/release_statuses_controller_test.rb
1016
+ - test/controllers/api/rollback_controller_test.rb
1021
1017
  - test/controllers/api/pull_requests_controller_test.rb
1022
1018
  - test/controllers/api/tasks_controller_test.rb
1023
- - test/controllers/api/base_controller_test.rb
1024
- - test/controllers/commit_checks_controller_test.rb
1025
- - test/controllers/release_statuses_controller_test.rb
1026
- - test/controllers/webhooks_controller_test.rb
1027
- - test/controllers/ccmenu_controller_test.rb
1028
- - test/controllers/rollbacks_controller_test.rb
1019
+ - test/controllers/api/outputs_controller_test.rb
1020
+ - test/controllers/status_controller_test.rb
1029
1021
  - test/controllers/commits_controller_test.rb
1030
- - test/controllers/github_authentication_controller_test.rb
1022
+ - test/controllers/release_statuses_controller_test.rb
1031
1023
  - test/controllers/pull_requests_controller_test.rb
1032
1024
  - test/controllers/tasks_controller_test.rb
1033
- - test/controllers/merge_status_controller_test.rb
1025
+ - test/controllers/api_clients_controller_test.rb
1026
+ - test/unit/command_test.rb
1027
+ - test/unit/shipit_helper_test.rb
1028
+ - test/unit/user_serializer_test.rb
1029
+ - test/unit/commands_test.rb
1030
+ - test/unit/line_buffer_test.rb
1031
+ - test/unit/deploy_commands_test.rb
1032
+ - test/unit/shipit_test.rb
1033
+ - test/unit/rollback_commands_test.rb
1034
+ - test/unit/deploy_serializer_test.rb
1035
+ - test/unit/anonymous_user_serializer_test.rb
1036
+ - test/unit/csv_serializer_test.rb
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
1045
+ - 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
+ - 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
+ - test/models/commits_test.rb
1062
+ - test/models/status/group_test.rb
1063
+ - test/models/status/missing_test.rb
1064
+ - test/models/deploy_spec_test.rb
1065
+ - test/models/stacks_test.rb
1066
+ - test/models/deploy_stats_test.rb
1067
+ - test/models/hook_test.rb
1068
+ - test/models/membership_test.rb
1069
+ - test/models/status_test.rb
1070
+ - test/models/pull_request_test.rb
1071
+ - test/middleware/same_site_cookie_middleware_test.rb
1034
1072
  - test/test_command_integration.rb
1035
- - test/test_helper.rb
1036
- - test/jobs/destroy_stack_job_test.rb
1037
- - test/jobs/fetch_deployed_revision_job_test.rb
1038
- - test/jobs/fetch_commit_stats_job_test.rb
1073
+ - test/helpers/hooks_helper.rb
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
1039
1082
  - test/jobs/merge_pull_requests_job_test.rb
1083
+ - test/jobs/deliver_hook_job_test.rb
1040
1084
  - test/jobs/update_github_last_deployed_ref_job_test.rb
1041
- - test/jobs/cache_deploy_spec_job_test.rb
1042
- - test/jobs/emit_event_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
1043
1088
  - test/jobs/refresh_github_user_job_test.rb
1044
1089
  - test/jobs/chunk_rollup_job_test.rb
1045
1090
  - test/jobs/mark_deploy_healthy_job_test.rb
1046
- - test/jobs/refresh_status_job_test.rb
1047
- - test/jobs/purge_old_deliveries_job_test.rb
1048
- - test/jobs/deliver_hook_job_test.rb
1049
- - test/jobs/github_sync_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
1050
1094
  - test/jobs/perform_task_job_test.rb
1051
- - test/jobs/unique_job_test.rb
1052
- - test/unit/environment_variables_test.rb
1053
- - test/unit/commands_test.rb
1054
- - test/unit/github_app_test.rb
1055
- - test/unit/rollback_commands_test.rb
1056
- - test/unit/command_test.rb
1057
- - test/unit/shipit_test.rb
1058
- - test/unit/line_buffer_test.rb
1059
- - test/unit/csv_serializer_test.rb
1060
- - test/unit/deploy_commands_test.rb
1061
- - test/unit/variable_definition_test.rb
1062
- - test/unit/github_url_helper_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
1120
+ - test/test_helper.rb