diff options
Diffstat (limited to 'app/presenters/commit_status_presenter.rb')
-rw-r--r-- | app/presenters/commit_status_presenter.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/presenters/commit_status_presenter.rb b/app/presenters/commit_status_presenter.rb index 675288da35b..815a4da25ab 100644 --- a/app/presenters/commit_status_presenter.rb +++ b/app/presenters/commit_status_presenter.rb @@ -16,8 +16,11 @@ class CommitStatusPresenter < Gitlab::View::Presenter::Delegated data_integrity_failure: 'There has been a structural integrity problem detected, please contact system administrator', forward_deployment_failure: 'The deployment job is older than the previously succeeded deployment job, and therefore cannot be run', pipeline_loop_detected: 'This job could not be executed because it would create infinitely looping pipelines', + insufficient_upstream_permissions: 'This job could not be executed because of insufficient permissions to track the upstream project.', + upstream_bridge_project_not_found: 'This job could not be executed because upstream bridge project could not be found.', invalid_bridge_trigger: 'This job could not be executed because downstream pipeline trigger definition is invalid', downstream_bridge_project_not_found: 'This job could not be executed because downstream bridge project could not be found', + protected_environment_failure: 'The environment this job is deploying to is protected. Only users with permission may successfully run this job.', insufficient_bridge_permissions: 'This job could not be executed because of insufficient permissions to create a downstream pipeline', bridge_pipeline_is_child_pipeline: 'This job belongs to a child pipeline and cannot create further child pipelines', downstream_pipeline_creation_failed: 'The downstream pipeline could not be created', @@ -62,5 +65,3 @@ class CommitStatusPresenter < Gitlab::View::Presenter::Delegated ActionController::Base.helpers.link_to('How do I fix it?', help_page_path(path, anchor: anchor)) end end - -CommitStatusPresenter.prepend_mod_with('CommitStatusPresenter') |