Skip to content
Snippets Groups Projects
Commit ab83fb99 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets Committed by Marin Jankovski
Browse files

Merge branch 'add_canceled_ci_status' into 'master'

parent 1ea6b05e
No related branches found
No related tags found
2 merge requests!9741test,!9321Git gc
Loading
Loading
@@ -78,6 +78,7 @@ v 7.9.0 (unreleased)
- Delete deploy key when last connection to a project is destroyed.
- Fix invalid Atom feeds when using emoji, horizontal rules, or images (Christian Walther)
- Backup of repositories with tar instead of git bundle (only now are git-annex files included in the backup)
- Add canceled status for CI
 
v 7.8.4
- Fix issue_tracker_id substitution in custom issue trackers
Loading
Loading
Loading
Loading
@@ -110,7 +110,7 @@ class @MergeRequest
 
showCiState: (state) ->
$('.ci_widget').hide()
allowed_states = ["failed", "running", "pending", "success"]
allowed_states = ["failed", "canceled", "running", "pending", "success"]
if state in allowed_states
$('.ci_widget.ci-' + state).show()
else
Loading
Loading
Loading
Loading
@@ -155,6 +155,12 @@
background-color: #FAF1F1;
}
 
&.ci-canceled {
color: $gl-warning;
border-color: $gl-danger;
background-color: #FAF5F1;
}
&.ci-error {
color: $gl-danger;
border-color: $gl-danger;
Loading
Loading
Loading
Loading
@@ -23,6 +23,12 @@
%i.fa.fa-spinner
Checking for CI status for #{@merge_request.last_commit_short_sha}
 
.ci_widget.ci-canceled{style: "display:none"}
%i.fa.fa-times
%span CI build canceled
for #{@merge_request.last_commit_short_sha}.
= link_to "View build page", ci_build_details_path(@merge_request), :"data-no-turbolink" => "data-no-turbolink"
.ci_widget.ci-error{style: "display:none"}
%i.fa.fa-times
%span Cannot connect to the CI server. Please check your settings and try again.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment