shipit-engine 0.30.0 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a26f88ecb6d3d82e4b537df7cab3cbdd615dc6e2d3663695e18301ccadecb350
4
- data.tar.gz: d45d1e8cce82d0b3ec920429474deeae101ffe5bbc8d92272897be8bcef5ca4a
3
+ metadata.gz: e890159cf6f243a3dc808e4c3314015d56666c3e4881bfd890fe51ee3076861e
4
+ data.tar.gz: 2fec4f67b4b6811e98176572837ec484e5330500590a108cdf3f9a33c55b7040
5
5
  SHA512:
6
- metadata.gz: 179ad0206a3ca03960bdcf444328a0b6c5c5bbc2ae314f7148365c78edb68380a3e804c6e757f08261f13ca24e0d9c604d0730e3f5c046d6fe2270264ea4195d
7
- data.tar.gz: 52db719ed7037625ecec6bb5b31e1a87493cc595e4f8a2a14a65ef7708ca83bebf2193fe0fa82ea33ea9fa11027061f8fade805d4b24fa79c771c6f69ee5c322
6
+ metadata.gz: 50f8f9a3ec7ce508bd0f393cbb8da8011a0a312dccea98007eb5af50166e0943b43c5887728aba0d385e7bf623e545784f2c0bb6957c54dd0d2e3de0b9c8a777
7
+ data.tar.gz: 37696824d54d5bf8bd2da9c56b816eb2e6c896fbc53e9898641c2931f64e9bb84bcc05b2fc705bb67bd263a3ac044352da87acca7957b4ce8942b597e9711a23
data/README.md CHANGED
@@ -611,6 +611,8 @@ Your deploy scripts have access to the following environment variables:
611
611
  * `SHIPIT`: Set to `1` to allow your script to know it's executed by Shipit
612
612
  * `SHIPIT_LINK`: URL to the task output, useful to broadcast it in an IRC channel
613
613
  * `SHIPIT_USER`: Full name of the user that triggered the deploy/task
614
+ * `GITHUB_REPO_NAME`: Name of the GitHub repository being used for the current deploy/task.
615
+ * `GITHUB_REPO_OWNER`: The GitHub username of the repository owner for the current deploy/task.
614
616
  * `EMAIL`: Email of the user that triggered the deploy/task (if available)
615
617
  * `ENVIRONMENT`: The stack environment (e.g `production` / `staging`)
616
618
  * `BRANCH`: The stack branch (e.g `master`)
@@ -43,6 +43,17 @@ module Shipit
43
43
 
44
44
  scope :not_archived, -> { where(archived_since: nil) }
45
45
 
46
+ def env
47
+ {
48
+ 'ENVIRONMENT' => environment,
49
+ 'LAST_DEPLOYED_SHA' => last_deployed_commit.sha,
50
+ 'GITHUB_REPO_OWNER' => repository.owner,
51
+ 'GITHUB_REPO_NAME' => repository.name,
52
+ 'DEPLOY_URL' => deploy_url,
53
+ 'BRANCH' => branch,
54
+ }
55
+ end
56
+
46
57
  def repository
47
58
  super || build_repository
48
59
  end
@@ -77,7 +88,7 @@ module Shipit
77
88
  validates :lock_reason, length: {maximum: 4096}
78
89
 
79
90
  serialize :cached_deploy_spec, DeploySpec
80
- delegate :find_task_definition, :supports_rollback?, :links, :release_status?, :release_status_delay,
91
+ delegate :find_task_definition, :supports_rollback?, :release_status?, :release_status_delay,
81
92
  :release_status_context, :supports_fetch_deployed_revision?, to: :cached_deploy_spec, allow_nil: true
82
93
 
83
94
  def self.refresh_deployed_revisions
@@ -528,6 +539,13 @@ module Shipit
528
539
  GithubSyncJob.perform_later(stack_id: id)
529
540
  end
530
541
 
542
+ def links
543
+ links_spec = cached_deploy_spec&.links || {}
544
+ context = EnvironmentVariables.with(env)
545
+
546
+ links_spec.transform_values { |url| context.interpolate(url) }
547
+ end
548
+
531
549
  private
532
550
 
533
551
  def clear_cache
@@ -47,11 +47,18 @@
47
47
 
48
48
  <ul class="nav__list nav__list--secondary">
49
49
  <% if stack.links.present? %>
50
- <% stack.links.each do |name, url| %>
51
- <li class="nav__list__item">
52
- <%= link_to name.humanize, url, :target => '_blank', :class => "#{name.dasherize}-url" %>
53
- </li>
54
- <% end %>
50
+ <li class="nav__list__item nav__list__item--has-children">
51
+
52
+ <%= t('stack.nav.links') %>
53
+
54
+ <ul class="nav__sub__list">
55
+ <% stack.links.each do |name, url| %>
56
+ <li class="nav__list__sub__item">
57
+ <%= link_to name.humanize, url, :target => '_blank', :class => "#{name.dasherize}-url" %>
58
+ </li>
59
+ <% end %>
60
+ </ul>
61
+ </li>
55
62
  <% end %>
56
63
  <li class="nav__list__item">
57
64
  <%= link_to t('stack.nav.view_on_github'), github_repo_url(stack.repo_owner, stack.repo_name) %>
@@ -29,6 +29,7 @@ en:
29
29
  statistics: Stats
30
30
  merge_queue: "Merge Queue (%{count})"
31
31
  view_on_github: View on GitHub
32
+ links: More
32
33
  deploy_link: View website
33
34
  commit:
34
35
  lock: This commit is safe to deploy. Click to mark it as unsafe.
@@ -48,10 +48,7 @@ module Shipit
48
48
  def interpolate_environment_variables(argument)
49
49
  return argument.map { |a| interpolate_environment_variables(a) } if argument.is_a?(Array)
50
50
 
51
- argument.gsub(/(\$\w+)/) do |variable|
52
- variable.sub!('$', '')
53
- Shellwords.escape(@env.fetch(variable) { ENV[variable] })
54
- end
51
+ EnvironmentVariables.with(env).interpolate(argument)
55
52
  end
56
53
 
57
54
  def success?
@@ -14,6 +14,15 @@ module Shipit
14
14
  sanitize_env_vars(variable_definitions)
15
15
  end
16
16
 
17
+ def interpolate(argument)
18
+ return argument unless @env
19
+
20
+ argument.gsub(/(\$\w+)/) do |variable|
21
+ variable.sub!('$', '')
22
+ Shellwords.escape(@env.fetch(variable) { ENV[variable] })
23
+ end
24
+ end
25
+
17
26
  private
18
27
 
19
28
  def initialize(env)
@@ -28,22 +28,20 @@ module Shipit
28
28
  end
29
29
 
30
30
  def env
31
- super.merge(
32
- 'ENVIRONMENT' => @stack.environment,
33
- 'BRANCH' => @stack.branch,
34
- 'SHIPIT_USER' => "#{@task.author.login} (#{normalized_author_name}) via Shipit",
35
- 'EMAIL' => @task.author.email,
36
- 'BUNDLE_PATH' => Rails.root.join('data', 'bundler').to_s,
37
- 'SHIPIT_LINK' => @task.permalink,
38
- 'LAST_DEPLOYED_SHA' => @stack.last_deployed_commit.sha,
39
- 'TASK_ID' => @task.id.to_s,
40
- 'DEPLOY_URL' => @stack.deploy_url,
41
- 'IGNORED_SAFETIES' => @task.ignored_safeties? ? '1' : '0',
42
- 'GIT_COMMITTER_NAME' => @task.user&.name || Shipit.committer_name,
43
- 'GIT_COMMITTER_EMAIL' => @task.user&.email || Shipit.committer_email,
44
- 'GITHUB_REPO_OWNER' => @stack.repository.owner,
45
- 'GITHUB_REPO_NAME' => @stack.repository.name,
46
- ).merge(deploy_spec.machine_env).merge(@task.env)
31
+ super
32
+ .merge(@stack.env)
33
+ .merge(
34
+ 'SHIPIT_USER' => "#{@task.author.login} (#{normalized_author_name}) via Shipit",
35
+ 'EMAIL' => @task.author.email,
36
+ 'BUNDLE_PATH' => Rails.root.join('data', 'bundler').to_s,
37
+ 'SHIPIT_LINK' => @task.permalink,
38
+ 'TASK_ID' => @task.id.to_s,
39
+ 'IGNORED_SAFETIES' => @task.ignored_safeties? ? '1' : '0',
40
+ 'GIT_COMMITTER_NAME' => @task.user&.name || Shipit.committer_name,
41
+ 'GIT_COMMITTER_EMAIL' => @task.user&.email || Shipit.committer_email,
42
+ )
43
+ .merge(deploy_spec.machine_env)
44
+ .merge(@task.env)
47
45
  end
48
46
 
49
47
  def checkout(commit)
@@ -1,3 +1,3 @@
1
1
  module Shipit
2
- VERSION = '0.30.0'.freeze
2
+ VERSION = '0.31.0'.freeze
3
3
  end
@@ -863,6 +863,41 @@ module Shipit
863
863
  end
864
864
  end
865
865
 
866
+ test "#links performs template substitutions" do
867
+ @stack.repo_name = "expected-repository-name"
868
+ @stack.environment = "expected-environment"
869
+ @stack.cached_deploy_spec = create_deploy_spec(
870
+ "links" => {
871
+ "logs" => "http://logs.$GITHUB_REPO_NAME.$ENVIRONMENT.domain.com",
872
+ "monitoring" => "https://graphs.$GITHUB_REPO_NAME.$ENVIRONMENT.domain.com",
873
+ },
874
+ )
875
+
876
+ assert_equal(
877
+ {
878
+ "logs" => "http://logs.expected-repository-name.expected-environment.domain.com",
879
+ "monitoring" => "https://graphs.expected-repository-name.expected-environment.domain.com",
880
+ },
881
+ @stack.links,
882
+ )
883
+ end
884
+
885
+ test "#env includes the stack's environment" do
886
+ expected_environment = {
887
+ 'ENVIRONMENT' => @stack.environment,
888
+ 'LAST_DEPLOYED_SHA' => @stack.last_deployed_commit.sha,
889
+ 'GITHUB_REPO_OWNER' => @stack.repository.owner,
890
+ 'GITHUB_REPO_NAME' => @stack.repository.name,
891
+ 'DEPLOY_URL' => @stack.deploy_url,
892
+ 'BRANCH' => @stack.branch,
893
+ }
894
+
895
+ assert_equal(
896
+ @stack.env,
897
+ expected_environment,
898
+ )
899
+ end
900
+
866
901
  private
867
902
 
868
903
  def generate_revert_commit(stack:, reverted_commit:, author: reverted_commit.author)
@@ -875,5 +910,9 @@ module Shipit
875
910
  committed_at: Time.zone.now,
876
911
  )
877
912
  end
913
+
914
+ def create_deploy_spec(spec)
915
+ Shipit::DeploySpec.new(spec.stringify_keys)
916
+ end
878
917
  end
879
918
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shipit-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.31.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: 2020-02-06 00:00:00.000000000 Z
11
+ date: 2020-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_serializers
@@ -184,14 +184,14 @@ dependencies:
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
@@ -942,154 +942,154 @@ signing_key:
942
942
  specification_version: 4
943
943
  summary: Application deployment software
944
944
  test_files:
945
- - test/helpers/hooks_helper.rb
946
- - test/helpers/links_helper.rb
947
- - test/helpers/fixture_aliases_helper.rb
948
- - test/helpers/json_helper.rb
949
- - test/helpers/payloads_helper.rb
950
- - test/helpers/api_helper.rb
951
- - test/helpers/queries_helper.rb
952
- - test/models/membership_test.rb
953
- - test/models/rollbacks_test.rb
945
+ - test/controllers/release_statuses_controller_test.rb
946
+ - test/controllers/status_controller_test.rb
947
+ - test/controllers/github_authentication_controller_test.rb
948
+ - test/controllers/pull_requests_controller_test.rb
949
+ - test/controllers/tasks_controller_test.rb
950
+ - test/controllers/commits_controller_test.rb
951
+ - test/controllers/merge_status_controller_test.rb
952
+ - test/controllers/webhooks_controller_test.rb
953
+ - test/controllers/deploys_controller_test.rb
954
+ - test/controllers/api_clients_controller_test.rb
955
+ - test/controllers/ccmenu_controller_test.rb
956
+ - test/controllers/api/release_statuses_controller_test.rb
957
+ - test/controllers/api/locks_controller_test.rb
958
+ - test/controllers/api/base_controller_test.rb
959
+ - test/controllers/api/outputs_controller_test.rb
960
+ - test/controllers/api/pull_requests_controller_test.rb
961
+ - test/controllers/api/tasks_controller_test.rb
962
+ - test/controllers/api/hooks_controller_test.rb
963
+ - test/controllers/api/commits_controller_test.rb
964
+ - test/controllers/api/deploys_controller_test.rb
965
+ - test/controllers/api/ccmenu_controller_test.rb
966
+ - test/controllers/api/stacks_controller_test.rb
967
+ - test/controllers/rollbacks_controller_test.rb
968
+ - test/controllers/commit_checks_controller_test.rb
969
+ - test/controllers/stacks_controller_test.rb
970
+ - test/unit/csv_serializer_test.rb
971
+ - test/unit/variable_definition_test.rb
972
+ - test/unit/commands_test.rb
973
+ - test/unit/shipit_test.rb
974
+ - test/unit/command_test.rb
975
+ - test/unit/environment_variables_test.rb
976
+ - test/unit/github_url_helper_test.rb
977
+ - test/unit/github_app_test.rb
978
+ - test/unit/deploy_commands_test.rb
979
+ - test/unit/rollback_commands_test.rb
980
+ - test/unit/line_buffer_test.rb
981
+ - test/test_helper.rb
982
+ - test/jobs/refresh_status_job_test.rb
983
+ - test/jobs/chunk_rollup_job_test.rb
984
+ - test/jobs/deliver_hook_job_test.rb
985
+ - test/jobs/emit_event_job_test.rb
986
+ - test/jobs/perform_task_job_test.rb
987
+ - test/jobs/mark_deploy_healthy_job_test.rb
988
+ - test/jobs/destroy_stack_job_test.rb
989
+ - test/jobs/purge_old_deliveries_job_test.rb
990
+ - test/jobs/update_github_last_deployed_ref_job_test.rb
991
+ - test/jobs/github_sync_job_test.rb
992
+ - test/jobs/unique_job_test.rb
993
+ - test/jobs/refresh_github_user_job_test.rb
994
+ - test/jobs/merge_pull_requests_job_test.rb
995
+ - test/jobs/fetch_deployed_revision_job_test.rb
996
+ - test/jobs/fetch_commit_stats_job_test.rb
997
+ - test/jobs/cache_deploy_spec_job_test.rb
998
+ - test/models/status/missing_test.rb
999
+ - test/models/status/group_test.rb
1000
+ - test/models/tasks_test.rb
1001
+ - test/models/github_hook_test.rb
1002
+ - test/models/duration_test.rb
954
1003
  - test/models/output_chunk_test.rb
955
- - test/models/pull_request_test.rb
1004
+ - test/models/task_definitions_test.rb
956
1005
  - test/models/team_test.rb
957
- - test/models/commit_deployment_status_test.rb
1006
+ - test/models/release_statuses_test.rb
1007
+ - test/models/commits_test.rb
1008
+ - test/models/commit_deployment_test.rb
958
1009
  - test/models/deploy_spec_test.rb
959
- - test/models/task_definitions_test.rb
960
- - test/models/stacks_test.rb
961
- - test/models/undeployed_commits_test.rb
962
- - test/models/shipit/check_run_test.rb
963
- - test/models/shipit/wehbooks/handlers_test.rb
964
- - test/models/shipit/repository_test.rb
965
- - test/models/github_hook_test.rb
966
- - test/models/status/group_test.rb
967
- - test/models/status/missing_test.rb
1010
+ - test/models/commit_deployment_status_test.rb
968
1011
  - test/models/api_client_test.rb
969
- - test/models/deploys_test.rb
970
- - test/models/deploy_stats_test.rb
971
- - test/models/hook_test.rb
1012
+ - test/models/membership_test.rb
1013
+ - test/models/undeployed_commits_test.rb
972
1014
  - test/models/commit_checks_test.rb
1015
+ - test/models/delivery_test.rb
973
1016
  - test/models/status_test.rb
1017
+ - test/models/stacks_test.rb
1018
+ - test/models/deploy_stats_test.rb
1019
+ - test/models/deploys_test.rb
1020
+ - test/models/hook_test.rb
1021
+ - test/models/shipit/repository_test.rb
1022
+ - test/models/shipit/wehbooks/handlers_test.rb
1023
+ - test/models/shipit/check_run_test.rb
1024
+ - test/models/pull_request_test.rb
974
1025
  - test/models/users_test.rb
975
- - test/models/commit_deployment_test.rb
976
- - test/models/release_statuses_test.rb
977
- - test/models/duration_test.rb
978
- - test/models/tasks_test.rb
979
- - test/models/delivery_test.rb
980
- - test/models/commits_test.rb
981
- - test/fixtures/payloads/check_suite_master.json
982
- - test/fixtures/payloads/push_not_master.json
983
- - test/fixtures/payloads/status_master.json
984
- - test/fixtures/payloads/push_master.json
985
- - test/fixtures/timeout
986
- - test/fixtures/shipit/users.yml
987
- - test/fixtures/shipit/output_chunks.yml
988
- - test/fixtures/shipit/teams.yml
989
- - test/fixtures/shipit/github_hooks.yml
990
- - test/fixtures/shipit/hooks.yml
991
- - test/fixtures/shipit/commits.yml
992
- - test/fixtures/shipit/commit_deployments.yml
993
- - test/fixtures/shipit/statuses.yml
994
- - test/fixtures/shipit/stacks.yml
995
- - test/fixtures/shipit/pull_requests.yml
996
- - test/fixtures/shipit/api_clients.yml
997
- - test/fixtures/shipit/repositories.yml
998
- - test/fixtures/shipit/tasks.yml
999
- - test/fixtures/shipit/release_statuses.yml
1000
- - test/fixtures/shipit/memberships.yml
1001
- - test/fixtures/shipit/commit_deployment_statuses.yml
1002
- - test/fixtures/shipit/deliveries.yml
1003
- - test/fixtures/shipit/check_runs.yml
1004
- - test/dummy/config/secrets.yml
1005
- - test/dummy/config/boot.rb
1006
- - test/dummy/config/database.postgresql.yml
1007
- - test/dummy/config/database.mysql.yml
1008
- - test/dummy/config/locales/en.yml
1009
- - test/dummy/config/environments/production.rb
1010
- - test/dummy/config/environments/test.rb
1011
- - test/dummy/config/environments/development.rb
1012
- - test/dummy/config/application.rb
1013
- - test/dummy/config/routes.rb
1014
- - test/dummy/config/initializers/0_load_development_secrets.rb
1026
+ - test/models/rollbacks_test.rb
1027
+ - test/helpers/fixture_aliases_helper.rb
1028
+ - test/helpers/queries_helper.rb
1029
+ - test/helpers/api_helper.rb
1030
+ - test/helpers/payloads_helper.rb
1031
+ - test/helpers/links_helper.rb
1032
+ - test/helpers/hooks_helper.rb
1033
+ - test/helpers/json_helper.rb
1034
+ - test/dummy/app/controllers/application_controller.rb
1035
+ - test/dummy/app/helpers/application_helper.rb
1036
+ - test/dummy/app/views/layouts/application.html.erb
1037
+ - test/dummy/app/assets/stylesheets/application.css
1038
+ - test/dummy/app/assets/javascripts/application.js
1039
+ - test/dummy/bin/bundle
1040
+ - test/dummy/bin/rake
1041
+ - test/dummy/bin/rails
1042
+ - test/dummy/bin/setup
1043
+ - test/dummy/config/initializers/filter_parameter_logging.rb
1015
1044
  - test/dummy/config/initializers/wrap_parameters.rb
1016
- - test/dummy/config/initializers/session_store.rb
1017
- - test/dummy/config/initializers/inflections.rb
1045
+ - test/dummy/config/initializers/0_load_development_secrets.rb
1046
+ - test/dummy/config/initializers/backtrace_silencers.rb
1018
1047
  - test/dummy/config/initializers/cookies_serializer.rb
1048
+ - test/dummy/config/initializers/session_store.rb
1019
1049
  - test/dummy/config/initializers/assets.rb
1020
1050
  - test/dummy/config/initializers/mime_types.rb
1021
- - test/dummy/config/initializers/filter_parameter_logging.rb
1022
- - test/dummy/config/initializers/backtrace_silencers.rb
1023
- - test/dummy/config/environment.rb
1051
+ - test/dummy/config/initializers/inflections.rb
1052
+ - test/dummy/config/secrets.yml
1053
+ - test/dummy/config/database.mysql.yml
1054
+ - test/dummy/config/application.rb
1055
+ - test/dummy/config/database.postgresql.yml
1024
1056
  - test/dummy/config/database.yml
1025
- - test/dummy/Rakefile
1026
- - test/dummy/bin/bundle
1027
- - test/dummy/bin/rails
1028
- - test/dummy/bin/rake
1029
- - test/dummy/bin/setup
1030
- - test/dummy/public/422.html
1057
+ - test/dummy/config/environment.rb
1058
+ - test/dummy/config/boot.rb
1059
+ - test/dummy/config/locales/en.yml
1060
+ - test/dummy/config/environments/development.rb
1061
+ - test/dummy/config/environments/test.rb
1062
+ - test/dummy/config/environments/production.rb
1063
+ - test/dummy/config/routes.rb
1064
+ - test/dummy/public/500.html
1031
1065
  - test/dummy/public/favicon.ico
1066
+ - test/dummy/public/422.html
1032
1067
  - test/dummy/public/404.html
1033
- - test/dummy/public/500.html
1034
- - test/dummy/app/helpers/application_helper.rb
1035
- - test/dummy/app/assets/stylesheets/application.css
1036
- - test/dummy/app/assets/javascripts/application.js
1037
- - test/dummy/app/views/layouts/application.html.erb
1038
- - test/dummy/app/controllers/application_controller.rb
1039
- - test/dummy/db/seeds.rb
1040
1068
  - test/dummy/db/schema.rb
1069
+ - test/dummy/db/seeds.rb
1070
+ - test/dummy/Rakefile
1041
1071
  - test/dummy/config.ru
1042
- - test/controllers/deploys_controller_test.rb
1043
- - test/controllers/stacks_controller_test.rb
1044
- - test/controllers/status_controller_test.rb
1045
- - test/controllers/api/deploys_controller_test.rb
1046
- - test/controllers/api/locks_controller_test.rb
1047
- - test/controllers/api/stacks_controller_test.rb
1048
- - test/controllers/api/release_statuses_controller_test.rb
1049
- - test/controllers/api/ccmenu_controller_test.rb
1050
- - test/controllers/api/commits_controller_test.rb
1051
- - test/controllers/api/outputs_controller_test.rb
1052
- - test/controllers/api/hooks_controller_test.rb
1053
- - test/controllers/api/pull_requests_controller_test.rb
1054
- - test/controllers/api/tasks_controller_test.rb
1055
- - test/controllers/api/base_controller_test.rb
1056
- - test/controllers/commit_checks_controller_test.rb
1057
- - test/controllers/release_statuses_controller_test.rb
1058
- - test/controllers/webhooks_controller_test.rb
1059
- - test/controllers/ccmenu_controller_test.rb
1060
- - test/controllers/api_clients_controller_test.rb
1061
- - test/controllers/rollbacks_controller_test.rb
1062
- - test/controllers/commits_controller_test.rb
1063
- - test/controllers/github_authentication_controller_test.rb
1064
- - test/controllers/pull_requests_controller_test.rb
1065
- - test/controllers/tasks_controller_test.rb
1066
- - test/controllers/merge_status_controller_test.rb
1067
1072
  - test/test_command_integration.rb
1068
- - test/test_helper.rb
1069
- - test/jobs/destroy_stack_job_test.rb
1070
- - test/jobs/fetch_deployed_revision_job_test.rb
1071
- - test/jobs/fetch_commit_stats_job_test.rb
1072
- - test/jobs/merge_pull_requests_job_test.rb
1073
- - test/jobs/update_github_last_deployed_ref_job_test.rb
1074
- - test/jobs/cache_deploy_spec_job_test.rb
1075
- - test/jobs/emit_event_job_test.rb
1076
- - test/jobs/refresh_github_user_job_test.rb
1077
- - test/jobs/chunk_rollup_job_test.rb
1078
- - test/jobs/mark_deploy_healthy_job_test.rb
1079
- - test/jobs/refresh_status_job_test.rb
1080
- - test/jobs/purge_old_deliveries_job_test.rb
1081
- - test/jobs/deliver_hook_job_test.rb
1082
- - test/jobs/github_sync_job_test.rb
1083
- - test/jobs/perform_task_job_test.rb
1084
- - test/jobs/unique_job_test.rb
1085
- - test/unit/environment_variables_test.rb
1086
- - test/unit/commands_test.rb
1087
- - test/unit/github_app_test.rb
1088
- - test/unit/rollback_commands_test.rb
1089
- - test/unit/command_test.rb
1090
- - test/unit/shipit_test.rb
1091
- - test/unit/line_buffer_test.rb
1092
- - test/unit/csv_serializer_test.rb
1093
- - test/unit/deploy_commands_test.rb
1094
- - test/unit/variable_definition_test.rb
1095
- - test/unit/github_url_helper_test.rb
1073
+ - test/fixtures/payloads/push_not_master.json
1074
+ - test/fixtures/payloads/check_suite_master.json
1075
+ - test/fixtures/payloads/push_master.json
1076
+ - test/fixtures/payloads/status_master.json
1077
+ - test/fixtures/timeout
1078
+ - test/fixtures/shipit/memberships.yml
1079
+ - test/fixtures/shipit/check_runs.yml
1080
+ - test/fixtures/shipit/repositories.yml
1081
+ - test/fixtures/shipit/tasks.yml
1082
+ - test/fixtures/shipit/users.yml
1083
+ - test/fixtures/shipit/statuses.yml
1084
+ - test/fixtures/shipit/deliveries.yml
1085
+ - test/fixtures/shipit/stacks.yml
1086
+ - test/fixtures/shipit/pull_requests.yml
1087
+ - test/fixtures/shipit/teams.yml
1088
+ - test/fixtures/shipit/github_hooks.yml
1089
+ - test/fixtures/shipit/hooks.yml
1090
+ - test/fixtures/shipit/release_statuses.yml
1091
+ - test/fixtures/shipit/commit_deployment_statuses.yml
1092
+ - test/fixtures/shipit/commits.yml
1093
+ - test/fixtures/shipit/commit_deployments.yml
1094
+ - test/fixtures/shipit/api_clients.yml
1095
+ - test/fixtures/shipit/output_chunks.yml