2020-10-24 23:57:45 +05:30
import { s _ _ } from '~/locale' ;
2020-07-28 23:09:34 +05:30
export const SUCCESS = 'success' ;
2019-07-07 11:18:12 +05:30
export const WARNING = 'warning' ;
export const DANGER = 'danger' ;
2020-10-24 23:57:45 +05:30
export const INFO = 'info' ;
2019-07-07 11:18:12 +05:30
export const WARNING _MESSAGE _CLASS = 'warning_message' ;
export const DANGER _MESSAGE _CLASS = 'danger_message' ;
2019-09-04 21:01:54 +05:30
export const MWPS _MERGE _STRATEGY = 'merge_when_pipeline_succeeds' ;
2019-12-04 20:38:33 +05:30
export const MTWPS _MERGE _STRATEGY = 'add_to_merge_train_when_pipeline_succeeds' ;
2019-09-04 21:01:54 +05:30
export const MT _MERGE _STRATEGY = 'merge_train' ;
2019-12-04 20:38:33 +05:30
export const AUTO _MERGE _STRATEGIES = [ MWPS _MERGE _STRATEGY , MTWPS _MERGE _STRATEGY , MT _MERGE _STRATEGY ] ;
2020-10-24 23:57:45 +05:30
// SP - "Suggest Pipelines"
export const SP _TRACK _LABEL = 'no_pipeline_noticed' ;
export const SP _LINK _TRACK _EVENT = 'click_link' ;
export const SP _SHOW _TRACK _EVENT = 'click_button' ;
export const SP _LINK _TRACK _VALUE = 30 ;
export const SP _SHOW _TRACK _VALUE = 10 ;
export const SP _HELP _CONTENT = s _ _ (
` mrWidget|Use %{linkStart}CI pipelines to test your code%{linkEnd} by simply adding a GitLab CI configuration file to your project. It only takes a minute to make your code more secure and robust. ` ,
) ;
export const SP _HELP _URL = 'https://about.gitlab.com/blog/2019/07/12/guide-to-ci-cd-pipelines/' ;
export const SP _ICON _NAME = 'status_notfound' ;