shipit-engine 0.27.0 → 0.27.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 762ae4d018877b6f41fb8da260308546bd12575052091eff89613ed2eec03c39
4
- data.tar.gz: 16d840d7d162baf954b1c2df8c710c404af74e3963f98e9a3a65db92ad7e2e51
3
+ metadata.gz: 495cc8d38c4896d2059a99ef8e30073ffbabf569b1a23a8d71496989b6134a2a
4
+ data.tar.gz: 2429d8adfffac81cf04174a9ea03d27cc64a535072433eccce9c3550dc2660a6
5
5
  SHA512:
6
- metadata.gz: 15d549a32fafc05268f2f3a07d4794d76804ba1e3c5349a6ff5340579460b01f048ee9535a026dbc03fb8893734563b451ef7f2e0dbd16b3d0f18ec39c5c1505
7
- data.tar.gz: 60abb9fdf8e2257b6dc7aaa5c1b13a804242cc795fd3173ce55ece79ea328db1eb885e02b99af6d3484bf76eaf05a3f0d5ec500f87a3e546e49cd0b859dcf1f5
6
+ metadata.gz: 8721520921c29b8ba7a5b1af921b1bd2d870a9047916370ce250415f5a39f9298b1f3df414ca2dfe674b1c0bf6e6459b2145a94eef99aac1ebd27aae6af5af28
7
+ data.tar.gz: fd4320cd7b7ca5b2b4030abb6c045a4106ba6ef2fc785b9caa08e7ccd4482033ad1584ad806638937eb5557628b914dd6acd4452b01cfe6c17f0f091377a6219
data/README.md CHANGED
@@ -112,6 +112,7 @@ The settings in the `shipit.yml` file relate to the different things you can do
112
112
  * [CI](#ci) (`ci.require`, `ci.hide`, `ci.allow_failures`)
113
113
  * [Merge Queue](#merge-queue) (`merge.revalidate_after`, `merge.require`, `merge.ignore`, `merge.max_divergence`)
114
114
  * [Custom Tasks](#custom-tasks) (`tasks`)
115
+ * [Custom links](#custom-links) (`links`)
115
116
  * [Review Process](#review-process) (`review.checklist`, `review.monitoring`, `review.checks`)
116
117
 
117
118
  All the settings in `shipit.yml` are optional. Most applications can be deployed from Shipit without any configuration.
@@ -516,6 +517,20 @@ tasks:
516
517
  - name: POD_ID
517
518
  ```
518
519
 
520
+ <h3 id="custom-links">Custom Links</h3>
521
+
522
+ You can add custom links to the header of a stacks overview page in Shipit. To create a new custom link, specify its parameters in the links section of the shipit.yml file. The link title is a humanized version of the key. For example:
523
+
524
+ **<code>links.monitoring_dashboard</code>** creates a link in the header of of the page titled "Monitoring dashboard"
525
+
526
+ You can specify multiple custom links:
527
+
528
+ ```yml
529
+ links:
530
+ monitoring_dashboard: https://example.com/monitoring.html
531
+ other_link: https://example.com/something_else.html
532
+ ```
533
+
519
534
  <h3 id="review-process">Review process</h3>
520
535
 
521
536
  You can display review elements, such as monitoring data or a pre-deployment checklist, on the deployment page in Shipit:
@@ -1,6 +1,8 @@
1
1
  module Shipit
2
2
  module Api
3
3
  class BaseController < ActionController::Base
4
+ skip_before_action :verify_authenticity_token, raise: false
5
+
4
6
  include Shipit::Engine.routes.url_helpers
5
7
  include Rendering
6
8
  include Cacheable
@@ -1,5 +1,6 @@
1
1
  module Shipit
2
2
  class WebhooksController < ActionController::Base
3
+ skip_before_action :verify_authenticity_token, raise: false
3
4
  before_action :check_if_ping, :verify_signature
4
5
 
5
6
  respond_to :json
@@ -75,6 +75,13 @@ module Shipit
75
75
  stack_id: stack&.id,
76
76
  payload: coerce_payload(payload),
77
77
  )
78
+ deliver_internal_hooks(event, stack, payload)
79
+ end
80
+
81
+ def deliver_internal_hooks(event, stack, payload)
82
+ Shipit.internal_hook_receivers.each do |receiver|
83
+ receiver.deliver(event, stack, payload)
84
+ end
78
85
  end
79
86
 
80
87
  def deliver(event, stack_id, payload)
@@ -36,20 +36,9 @@ module Shipit
36
36
 
37
37
  def update_release_status
38
38
  return unless stack.release_status?
39
+ return unless status == 'pending'
39
40
 
40
- case status
41
- when 'pending'
42
- if deploy.rollback_once_aborted?
43
- deploy.report_faulty!(description: "A rollback of #{stack.to_param} was triggered")
44
- else
45
- since_commit.create_release_status!(
46
- 'failure',
47
- user: user.presence,
48
- target_url: permalink,
49
- description: "A rollback of #{stack.to_param} was triggered",
50
- )
51
- end
52
- end
41
+ deploy.report_faulty!(description: "A rollback of #{stack.to_param} was triggered")
53
42
  end
54
43
 
55
44
  def lock_reverted_commits
@@ -57,7 +57,7 @@ module Shipit
57
57
  task.started_at ||= Time.now.utc
58
58
  end
59
59
 
60
- before_transition any => %i(success failed error timedout validating) do |task|
60
+ before_transition running: any do |task|
61
61
  task.ended_at ||= Time.now.utc
62
62
  end
63
63
 
@@ -35,6 +35,8 @@ module Shipit
35
35
  else
36
36
  action
37
37
  end
38
+ rescue KeyError
39
+ "This task (title: #{@title}) cannot be shown due to an incorrect variable name. Check your shipit.yml file"
38
40
  end
39
41
 
40
42
  def allow_concurrency?
@@ -24,7 +24,12 @@ module Shipit
24
24
 
25
25
  def self.find_or_create_author_from_github_commit(github_commit)
26
26
  if github_commit.commit.message =~ /^#{PullRequest::MERGE_REQUEST_FIELD}: ([\w\-\.]+)$/
27
- return find_or_create_by_login!($1)
27
+ begin
28
+ return find_or_create_by_login!($1)
29
+ rescue Octokit::NotFound
30
+ # Corner case where the merge-requested-by user cannot be found (renamed/deleted).
31
+ # In this case we carry on and search for the commit author
32
+ end
28
33
  end
29
34
  find_or_create_from_github(github_commit.author.presence || github_commit.commit.author.presence)
30
35
  end
@@ -10,9 +10,9 @@
10
10
 
11
11
  <div class="commit-list-actions">
12
12
  <% if params[:force] %>
13
- <%= link_to 'Exit emergency mode', stack_path(@stack) %>
13
+ <%= link_to t('emergency_mode.disable'), stack_path(@stack) %>
14
14
  <% else %>
15
- <%= link_to 'Enable emergency mode', stack_path(@stack, force: 1) %>
15
+ <%= link_to t('emergency_mode.enable'), stack_path(@stack, force: 1), title: t('emergency_mode.enable_description') %>
16
16
  <% end %>
17
17
  </div>
18
18
  </header>
@@ -60,6 +60,10 @@ en:
60
60
  create:
61
61
  error:
62
62
  deploy_in_progress: Rollbacks can't be triggered if a deploy is in progress
63
+ emergency_mode:
64
+ enable: Enable emergency mode
65
+ enable_description: Enable all UI controls and remove safeties to allow advanced troubleshooting measures
66
+ disable: Exit emergency mode
63
67
 
64
68
  errors:
65
69
  messages:
data/lib/shipit.rb CHANGED
@@ -58,6 +58,7 @@ module Shipit
58
58
  delegate :table_name_prefix, to: :secrets
59
59
 
60
60
  attr_accessor :disable_api_authentication, :timeout_exit_codes
61
+ attr_writer :internal_hook_receivers
61
62
 
62
63
  self.timeout_exit_codes = [].freeze
63
64
 
@@ -183,6 +184,10 @@ module Shipit
183
184
  secrets.committer_email.presence || "#{app_name.underscore.dasherize}@#{host}"
184
185
  end
185
186
 
187
+ def internal_hook_receivers
188
+ @internal_hook_receivers ||= []
189
+ end
190
+
186
191
  protected
187
192
 
188
193
  def revision_file
@@ -1,3 +1,3 @@
1
1
  module Shipit
2
- VERSION = '0.27.0'.freeze
2
+ VERSION = '0.27.1'.freeze
3
3
  end
@@ -209,3 +209,30 @@ canaries_running:
209
209
  created_at: <%= (60 - 7).minutes.ago.to_s(:db) %>
210
210
  started_at: <%= (60 - 7).minutes.ago.to_s(:db) %>
211
211
  ended_at: <%= (60 - 10).minutes.ago.to_s(:db) %>
212
+
213
+ shipit_with_title_parsing_issue:
214
+ id: 105
215
+ user: walrus
216
+ since_commit_id: 2 # second
217
+ until_commit_id: 2 # second
218
+ type: Shipit::Task
219
+ stack: shipit
220
+ status: success
221
+ definition: >
222
+ {
223
+ "id": "bad-title",
224
+ "action": "Task with bad title",
225
+ "title": "Using the %{WRONG_VARIABLE_NAME}",
226
+ "description": "This task uses the wrong variable name",
227
+ "variables": [
228
+ {"name": "VARIABLE_NAME", "title": "Any old variable"}
229
+ ],
230
+ "steps": [
231
+ "does not matter"
232
+ ]
233
+ }
234
+ env:
235
+ POD_ID: "12"
236
+ created_at: <%= (60 - 3).minutes.ago.to_s(:db) %>
237
+ started_at: <%= (60 - 3).minutes.ago.to_s(:db) %>
238
+ ended_at: <%= (60 - 4).minutes.ago.to_s(:db) %>
@@ -93,6 +93,16 @@ module Shipit
93
93
  assert_equal [4, 3, 2], deploy.commits.pluck(:id)
94
94
  end
95
95
 
96
+ test "transitioning to an active status does not set ended_at" do
97
+ deploy = shipit_deploys(:shipit_pending)
98
+ deploy.status = 'pending'
99
+
100
+ deploy.run!
101
+ deploy.reload
102
+
103
+ assert_nil deploy.ended_at
104
+ end
105
+
96
106
  test "transitioning to success causes an event to be broadcasted" do
97
107
  deploy = shipit_deploys(:shipit_pending)
98
108
 
@@ -533,14 +543,18 @@ module Shipit
533
543
  end
534
544
  end
535
545
 
536
- test "manually triggered rollbacks sets the release status as failure on the previously deployed revision" do
537
- @deploy = shipit_deploys(:canaries_faulty)
538
- last_deployed_commit = @deploy.stack.last_deployed_commit
546
+ test "manually triggered rollbacks sets the release status as failure" do
547
+ @deploy = shipit_deploys(:canaries_validating)
539
548
 
540
549
  assert_difference -> { ReleaseStatus.count }, +1 do
541
- assert_not_equal 'failure', last_deployed_commit.release_statuses.last&.state
550
+ assert_equal 'validating', @deploy.status
551
+ assert_equal 'pending', @deploy.last_release_status.state
552
+
542
553
  @deploy.trigger_rollback(force: true)
543
- assert_equal 'failure', last_deployed_commit.release_statuses.last.state
554
+ @deploy.reload
555
+
556
+ assert_equal 'faulty', @deploy.status
557
+ assert_equal 'failure', @deploy.last_release_status.state
544
558
  end
545
559
  end
546
560
 
@@ -42,5 +42,34 @@ module Shipit
42
42
  @hook.stack_id = 42
43
43
  assert @hook.scoped?
44
44
  end
45
+
46
+ test ".emit schedules an EmitEventJob" do
47
+ assert_enqueued_jobs(1, only: EmitEventJob) do
48
+ Hook.emit(:deploy, @stack, 'foo' => 42)
49
+ end
50
+ end
51
+
52
+ test ".emit calls #deliver on internal hooks" do
53
+ begin
54
+ original_receivers = Shipit.internal_hook_receivers
55
+ FakeReceiver = Module.new
56
+ FakeReceiver.expects(:deliver).with(:deploy, @stack, 'foo' => 42)
57
+
58
+ Shipit.internal_hook_receivers << FakeReceiver
59
+ Hook.emit(:deploy, @stack, 'foo' => 42)
60
+ ensure
61
+ Shipit.internal_hook_receivers = original_receivers
62
+ end
63
+ end
64
+
65
+ test ".emit calls no internal hooks if there are no internal_hook_receivers" do
66
+ begin
67
+ original_receivers = Shipit.internal_hook_receivers
68
+ Shipit.internal_hook_receivers = nil
69
+ Hook.emit(:deploy, @stack, 'foo' => 42)
70
+ ensure
71
+ Shipit.internal_hook_receivers = original_receivers
72
+ end
73
+ end
45
74
  end
46
75
  end
@@ -12,5 +12,10 @@ module Shipit
12
12
  task = shipit_tasks(:shipit_restart)
13
13
  assert_equal 'Restart application', task.title
14
14
  end
15
+
16
+ test '#title returns an error message when the title raises an error' do
17
+ task = shipit_tasks(:shipit_with_title_parsing_issue)
18
+ assert_equal 'This task (title: Using the %{WRONG_VARIABLE_NAME}) cannot be shown due to an incorrect variable name. Check your shipit.yml file', task.title
19
+ end
15
20
  end
16
21
  end
@@ -142,6 +142,30 @@ module Shipit
142
142
  assert_predicate @user, :authorized?
143
143
  end
144
144
 
145
+ test "self.find_or_create_author_from_github_commit handles missing users on github" do
146
+ Shipit.github.api.expects(:user).raises(Octokit::NotFound)
147
+ user = shipit_users(:bob)
148
+ github_commit = resource(
149
+ sha: '2adaad1ad30c235d3a6e7981dfc1742f7ecb1e85',
150
+ commit: {
151
+ author: {
152
+ id: user.github_id,
153
+ name: user.name,
154
+ email: user.email,
155
+ date: Time.now.utc,
156
+ },
157
+ committer: {
158
+ name: user.name,
159
+ email: user.email,
160
+ date: Time.now.utc,
161
+ },
162
+ message: "commit to trigger staging build\n\nMerge-Requested-By: missinguser\n",
163
+ },
164
+ )
165
+ found_user = Shipit::User.find_or_create_author_from_github_commit(github_commit)
166
+ assert_equal user, found_user
167
+ end
168
+
145
169
  private
146
170
 
147
171
  def fetch_user
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.27.0
4
+ version: 0.27.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Boussier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-19 00:00:00.000000000 Z
11
+ date: 2019-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_serializers
@@ -903,146 +903,146 @@ signing_key:
903
903
  specification_version: 4
904
904
  summary: Application deployment software
905
905
  test_files:
906
- - test/dummy/public/favicon.ico
907
- - test/dummy/public/500.html
908
- - test/dummy/public/422.html
909
- - test/dummy/public/404.html
910
- - test/dummy/db/seeds.rb
911
- - test/dummy/db/schema.rb
912
- - test/dummy/bin/rake
913
- - test/dummy/bin/bundle
914
- - test/dummy/bin/rails
915
- - test/dummy/bin/setup
916
- - test/dummy/app/views/layouts/application.html.erb
917
- - test/dummy/app/assets/stylesheets/application.css
918
- - test/dummy/app/assets/javascripts/application.js
919
- - test/dummy/app/controllers/application_controller.rb
920
- - test/dummy/app/helpers/application_helper.rb
921
- - test/dummy/config.ru
922
- - test/dummy/Rakefile
923
- - test/dummy/config/application.rb
924
- - test/dummy/config/database.yml
925
- - test/dummy/config/locales/en.yml
926
- - test/dummy/config/secrets.yml
927
- - test/dummy/config/boot.rb
928
- - test/dummy/config/database.mysql.yml
929
- - test/dummy/config/initializers/filter_parameter_logging.rb
930
- - test/dummy/config/initializers/session_store.rb
931
- - test/dummy/config/initializers/backtrace_silencers.rb
932
- - test/dummy/config/initializers/mime_types.rb
933
- - test/dummy/config/initializers/cookies_serializer.rb
934
- - test/dummy/config/initializers/0_load_development_secrets.rb
935
- - test/dummy/config/initializers/assets.rb
936
- - test/dummy/config/initializers/wrap_parameters.rb
937
- - test/dummy/config/initializers/inflections.rb
938
- - test/dummy/config/environment.rb
939
- - test/dummy/config/routes.rb
940
- - test/dummy/config/database.postgresql.yml
941
- - test/dummy/config/environments/test.rb
942
- - test/dummy/config/environments/development.rb
943
- - test/dummy/config/environments/production.rb
944
- - test/controllers/webhooks_controller_test.rb
945
- - test/controllers/rollbacks_controller_test.rb
906
+ - test/controllers/release_statuses_controller_test.rb
907
+ - test/controllers/status_controller_test.rb
946
908
  - test/controllers/github_authentication_controller_test.rb
909
+ - test/controllers/pull_requests_controller_test.rb
910
+ - test/controllers/tasks_controller_test.rb
911
+ - test/controllers/commits_controller_test.rb
947
912
  - test/controllers/merge_status_controller_test.rb
948
- - test/controllers/commit_checks_controller_test.rb
949
- - test/controllers/ccmenu_controller_test.rb
950
- - test/controllers/stacks_controller_test.rb
913
+ - test/controllers/webhooks_controller_test.rb
951
914
  - test/controllers/deploys_controller_test.rb
952
- - test/controllers/api/hooks_controller_test.rb
953
- - test/controllers/api/ccmenu_controller_test.rb
954
- - test/controllers/api/stacks_controller_test.rb
955
- - test/controllers/api/base_controller_test.rb
915
+ - test/controllers/ccmenu_controller_test.rb
956
916
  - test/controllers/api/locks_controller_test.rb
957
- - test/controllers/api/deploys_controller_test.rb
958
- - test/controllers/api/commits_controller_test.rb
917
+ - test/controllers/api/base_controller_test.rb
918
+ - test/controllers/api/outputs_controller_test.rb
959
919
  - test/controllers/api/pull_requests_controller_test.rb
960
920
  - test/controllers/api/tasks_controller_test.rb
961
- - test/controllers/api/outputs_controller_test.rb
962
- - test/controllers/status_controller_test.rb
963
- - test/controllers/commits_controller_test.rb
964
- - test/controllers/release_statuses_controller_test.rb
965
- - test/controllers/pull_requests_controller_test.rb
966
- - test/controllers/tasks_controller_test.rb
967
- - test/unit/command_test.rb
968
- - test/unit/commands_test.rb
969
- - test/unit/deploy_commands_test.rb
970
- - test/unit/shipit_test.rb
971
- - test/unit/rollback_commands_test.rb
921
+ - test/controllers/api/hooks_controller_test.rb
922
+ - test/controllers/api/commits_controller_test.rb
923
+ - test/controllers/api/deploys_controller_test.rb
924
+ - test/controllers/api/ccmenu_controller_test.rb
925
+ - test/controllers/api/stacks_controller_test.rb
926
+ - test/controllers/rollbacks_controller_test.rb
927
+ - test/controllers/commit_checks_controller_test.rb
928
+ - test/controllers/stacks_controller_test.rb
972
929
  - test/unit/csv_serializer_test.rb
973
930
  - test/unit/variable_definition_test.rb
974
- - test/unit/github_url_helper_test.rb
931
+ - test/unit/commands_test.rb
932
+ - test/unit/shipit_test.rb
933
+ - test/unit/command_test.rb
975
934
  - test/unit/environment_variables_test.rb
935
+ - test/unit/github_url_helper_test.rb
976
936
  - test/unit/github_app_test.rb
977
- - test/models/release_statuses_test.rb
978
- - test/models/deploys_test.rb
979
- - test/models/undeployed_commits_test.rb
980
- - test/models/team_test.rb
981
- - test/models/rollbacks_test.rb
982
- - test/models/commit_checks_test.rb
983
- - test/models/github_hook_test.rb
984
- - test/models/task_definitions_test.rb
937
+ - test/unit/deploy_commands_test.rb
938
+ - test/unit/rollback_commands_test.rb
939
+ - test/test_helper.rb
940
+ - test/jobs/refresh_status_job_test.rb
941
+ - test/jobs/chunk_rollup_job_test.rb
942
+ - test/jobs/deliver_hook_job_test.rb
943
+ - test/jobs/emit_event_job_test.rb
944
+ - test/jobs/perform_task_job_test.rb
945
+ - test/jobs/mark_deploy_healthy_job_test.rb
946
+ - test/jobs/destroy_stack_job_test.rb
947
+ - test/jobs/purge_old_deliveries_job_test.rb
948
+ - test/jobs/github_sync_job_test.rb
949
+ - test/jobs/unique_job_test.rb
950
+ - test/jobs/refresh_github_user_job_test.rb
951
+ - test/jobs/merge_pull_requests_job_test.rb
952
+ - test/jobs/fetch_deployed_revision_job_test.rb
953
+ - test/jobs/fetch_commit_stats_job_test.rb
954
+ - test/jobs/cache_deploy_spec_job_test.rb
955
+ - test/models/status/missing_test.rb
956
+ - test/models/status/group_test.rb
985
957
  - test/models/tasks_test.rb
986
- - test/models/output_chunk_test.rb
987
- - test/models/commit_deployment_status_test.rb
988
- - test/models/delivery_test.rb
989
- - test/models/users_test.rb
990
- - test/models/commit_deployment_test.rb
958
+ - test/models/github_hook_test.rb
991
959
  - test/models/duration_test.rb
992
- - test/models/api_client_test.rb
993
- - test/models/shipit/check_run_test.rb
960
+ - test/models/output_chunk_test.rb
961
+ - test/models/task_definitions_test.rb
962
+ - test/models/team_test.rb
963
+ - test/models/release_statuses_test.rb
994
964
  - test/models/commits_test.rb
995
- - test/models/status/group_test.rb
996
- - test/models/status/missing_test.rb
965
+ - test/models/commit_deployment_test.rb
997
966
  - test/models/deploy_spec_test.rb
998
- - test/models/stacks_test.rb
999
- - test/models/hook_test.rb
967
+ - test/models/commit_deployment_status_test.rb
968
+ - test/models/api_client_test.rb
1000
969
  - test/models/membership_test.rb
970
+ - test/models/undeployed_commits_test.rb
971
+ - test/models/commit_checks_test.rb
972
+ - test/models/delivery_test.rb
1001
973
  - test/models/status_test.rb
974
+ - test/models/stacks_test.rb
975
+ - test/models/deploys_test.rb
976
+ - test/models/hook_test.rb
977
+ - test/models/shipit/check_run_test.rb
1002
978
  - test/models/pull_request_test.rb
1003
- - test/test_command_integration.rb
1004
- - test/helpers/hooks_helper.rb
1005
- - test/helpers/queries_helper.rb
1006
- - test/helpers/json_helper.rb
979
+ - test/models/users_test.rb
980
+ - test/models/rollbacks_test.rb
1007
981
  - test/helpers/fixture_aliases_helper.rb
982
+ - test/helpers/queries_helper.rb
983
+ - test/helpers/api_helper.rb
1008
984
  - test/helpers/payloads_helper.rb
1009
985
  - test/helpers/links_helper.rb
1010
- - test/helpers/api_helper.rb
1011
- - test/jobs/emit_event_job_test.rb
1012
- - test/jobs/unique_job_test.rb
1013
- - test/jobs/merge_pull_requests_job_test.rb
1014
- - test/jobs/deliver_hook_job_test.rb
1015
- - test/jobs/refresh_status_job_test.rb
1016
- - test/jobs/fetch_deployed_revision_job_test.rb
1017
- - test/jobs/purge_old_deliveries_job_test.rb
1018
- - test/jobs/refresh_github_user_job_test.rb
1019
- - test/jobs/chunk_rollup_job_test.rb
1020
- - test/jobs/mark_deploy_healthy_job_test.rb
1021
- - test/jobs/fetch_commit_stats_job_test.rb
1022
- - test/jobs/cache_deploy_spec_job_test.rb
1023
- - test/jobs/perform_task_job_test.rb
1024
- - test/jobs/github_sync_job_test.rb
1025
- - test/jobs/destroy_stack_job_test.rb
986
+ - test/helpers/hooks_helper.rb
987
+ - test/helpers/json_helper.rb
988
+ - test/dummy/app/controllers/application_controller.rb
989
+ - test/dummy/app/helpers/application_helper.rb
990
+ - test/dummy/app/views/layouts/application.html.erb
991
+ - test/dummy/app/assets/stylesheets/application.css
992
+ - test/dummy/app/assets/javascripts/application.js
993
+ - test/dummy/bin/bundle
994
+ - test/dummy/bin/rake
995
+ - test/dummy/bin/rails
996
+ - test/dummy/bin/setup
997
+ - test/dummy/config/initializers/filter_parameter_logging.rb
998
+ - test/dummy/config/initializers/wrap_parameters.rb
999
+ - test/dummy/config/initializers/0_load_development_secrets.rb
1000
+ - test/dummy/config/initializers/backtrace_silencers.rb
1001
+ - test/dummy/config/initializers/cookies_serializer.rb
1002
+ - test/dummy/config/initializers/session_store.rb
1003
+ - test/dummy/config/initializers/assets.rb
1004
+ - test/dummy/config/initializers/mime_types.rb
1005
+ - test/dummy/config/initializers/inflections.rb
1006
+ - test/dummy/config/secrets.yml
1007
+ - test/dummy/config/database.mysql.yml
1008
+ - test/dummy/config/application.rb
1009
+ - test/dummy/config/database.postgresql.yml
1010
+ - test/dummy/config/database.yml
1011
+ - test/dummy/config/environment.rb
1012
+ - test/dummy/config/boot.rb
1013
+ - test/dummy/config/locales/en.yml
1014
+ - test/dummy/config/environments/development.rb
1015
+ - test/dummy/config/environments/test.rb
1016
+ - test/dummy/config/environments/production.rb
1017
+ - test/dummy/config/routes.rb
1018
+ - test/dummy/public/500.html
1019
+ - test/dummy/public/favicon.ico
1020
+ - test/dummy/public/422.html
1021
+ - test/dummy/public/404.html
1022
+ - test/dummy/db/schema.rb
1023
+ - test/dummy/db/seeds.rb
1024
+ - test/dummy/Rakefile
1025
+ - test/dummy/config.ru
1026
+ - test/test_command_integration.rb
1027
+ - test/fixtures/payloads/push_not_master.json
1028
+ - test/fixtures/payloads/check_suite_master.json
1029
+ - test/fixtures/payloads/push_master.json
1030
+ - test/fixtures/payloads/status_master.json
1026
1031
  - test/fixtures/timeout
1032
+ - test/fixtures/shipit/memberships.yml
1027
1033
  - test/fixtures/shipit/check_runs.yml
1028
- - test/fixtures/shipit/release_statuses.yml
1034
+ - test/fixtures/shipit/tasks.yml
1029
1035
  - test/fixtures/shipit/users.yml
1030
- - test/fixtures/shipit/output_chunks.yml
1031
- - test/fixtures/shipit/deliveries.yml
1032
- - test/fixtures/shipit/hooks.yml
1033
- - test/fixtures/shipit/github_hooks.yml
1034
1036
  - test/fixtures/shipit/statuses.yml
1035
- - test/fixtures/shipit/memberships.yml
1036
- - test/fixtures/shipit/teams.yml
1037
- - test/fixtures/shipit/tasks.yml
1038
- - test/fixtures/shipit/api_clients.yml
1037
+ - test/fixtures/shipit/deliveries.yml
1039
1038
  - test/fixtures/shipit/stacks.yml
1040
- - test/fixtures/shipit/commits.yml
1041
1039
  - test/fixtures/shipit/pull_requests.yml
1042
- - test/fixtures/shipit/commit_deployments.yml
1040
+ - test/fixtures/shipit/teams.yml
1041
+ - test/fixtures/shipit/github_hooks.yml
1042
+ - test/fixtures/shipit/hooks.yml
1043
+ - test/fixtures/shipit/release_statuses.yml
1043
1044
  - test/fixtures/shipit/commit_deployment_statuses.yml
1044
- - test/fixtures/payloads/status_master.json
1045
- - test/fixtures/payloads/push_master.json
1046
- - test/fixtures/payloads/push_not_master.json
1047
- - test/fixtures/payloads/check_suite_master.json
1048
- - test/test_helper.rb
1045
+ - test/fixtures/shipit/commits.yml
1046
+ - test/fixtures/shipit/commit_deployments.yml
1047
+ - test/fixtures/shipit/api_clients.yml
1048
+ - test/fixtures/shipit/output_chunks.yml