summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-02 11:51:24 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-02 18:11:12 +0100
commitc3d24d0bdd2559715231eca1cd08986277cb8fc6 (patch)
tree5d3ad770dfbf5d54788d6e2a2f7b81c2fec3382d /app
parent6f84345725ef11493653a888ed59fc6411825779 (diff)
downloadgitlab-ce-c3d24d0bdd2559715231eca1cd08986277cb8fc6.tar.gz
Move unused consts from retry build service to specs
Diffstat (limited to 'app')
-rw-r--r--app/services/ci/retry_build_service.rb14
1 files changed, 1 insertions, 13 deletions
diff --git a/app/services/ci/retry_build_service.rb b/app/services/ci/retry_build_service.rb
index 001a3e1214a..ae9ddc35446 100644
--- a/app/services/ci/retry_build_service.rb
+++ b/app/services/ci/retry_build_service.rb
@@ -3,19 +3,7 @@ module Ci
CLONE_ACCESSORS = %i[pipeline project ref tag options commands name
allow_failure stage stage_idx trigger_request
yaml_variables when environment coverage_regex
- description tag_list].freeze
-
- REJECT_ACCESSORS = %i[id status user token coverage trace runner
- artifacts_expire_at artifacts_file
- artifacts_metadata artifacts_size
- created_at updated_at started_at finished_at
- queued_at erased_by erased_at].freeze
-
- IGNORE_ACCESSORS = %i[type lock_version target_url gl_project_id
- deploy job_id base_tags commit_id deployments
- erased_by_id last_deployment project_id runner_id
- tag_taggings taggings tags trigger_request_id
- user_id].freeze
+ description tag_list].freeze
def execute(build)
reprocess(build).tap do |new_build|