debian-mirror-gitlab/app/views/admin/application_settings/ci/_header.html.haml

20 lines
1 KiB
Text
Raw Normal View History

2020-06-23 00:09:42 +05:30
- expanded = local_assigns.fetch(:expanded)
%h4
= _('Variables')
2021-01-29 00:20:46 +05:30
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
2020-06-23 00:09:42 +05:30
= expanded ? _('Collapse') : _('Expand')
%p
2021-03-11 19:13:27 +05:30
= _('Variables store information, like passwords and secret keys, that you can use in job scripts. All projects on the instance can use these variables.')
2021-04-29 21:17:54 +05:30
= link_to s_('Learn more.'), help_page_path('ci/variables/README', anchor: 'instance-cicd-variables'), target: '_blank', rel: 'noopener noreferrer'
2021-03-11 19:13:27 +05:30
%p
= _('Variables can be:')
2020-06-23 00:09:42 +05:30
%ul
%li
2021-03-11 19:13:27 +05:30
= html_escape(_('%{code_open}Protected:%{code_close} Only exposed to protected branches or tags.')) % { code_open: '<code>'.html_safe, code_close: '</code>'.html_safe }
2020-06-23 00:09:42 +05:30
%li
2021-03-11 19:13:27 +05:30
= html_escape(_('%{code_open}Masked:%{code_close} Hidden in job logs. Must match masking requirements.')) % { code_open: '<code>'.html_safe, code_close: '</code>'.html_safe }
2021-04-29 21:17:54 +05:30
= link_to _('Learn more.'), help_page_path('ci/variables/README', anchor: 'mask-a-cicd-variable'), target: '_blank', rel: 'noopener noreferrer'