2020-04-08 14:13:33 +05:30
import { _ _ } from '~/locale' ;
export const ADD _CI _VARIABLE _MODAL _ID = 'add-ci-variable' ;
export const displayText = {
2020-05-24 23:13:21 +05:30
variableText : _ _ ( 'Variable' ) ,
2020-04-08 14:13:33 +05:30
fileText : _ _ ( 'File' ) ,
2020-04-22 19:07:51 +05:30
allEnvironmentsText : _ _ ( 'All (default)' ) ,
2020-04-08 14:13:33 +05:30
} ;
export const types = {
variableType : 'env_var' ,
fileType : 'file' ,
allEnvironmentsType : '*' ,
} ;
2020-04-22 19:07:51 +05:30
2020-06-23 00:09:42 +05:30
export const AWS _TIP _DISMISSED _COOKIE _NAME = 'ci_variable_list_constants_aws_tip_dismissed' ;
export const AWS _TIP _MESSAGE = _ _ (
'%{deployLinkStart}Use a template to deploy to ECS%{deployLinkEnd}, or use a docker image to %{commandsLinkStart}run AWS commands in GitLab CI/CD%{commandsLinkEnd}.' ,
) ;
2020-04-22 19:07:51 +05:30
// AWS TOKEN CONSTANTS
export const AWS _ACCESS _KEY _ID = 'AWS_ACCESS_KEY_ID' ;
export const AWS _DEFAULT _REGION = 'AWS_DEFAULT_REGION' ;
export const AWS _SECRET _ACCESS _KEY = 'AWS_SECRET_ACCESS_KEY' ;
2020-06-23 00:09:42 +05:30
export const AWS _TOKEN _CONSTANTS = [ AWS _ACCESS _KEY _ID , AWS _DEFAULT _REGION , AWS _SECRET _ACCESS _KEY ] ;