diff --git a/.gitlab/ci/rules.gitlab-ci.yml b/.gitlab/ci/rules.gitlab-ci.yml index 767cfd5a8fc..94d91326842 100644 --- a/.gitlab/ci/rules.gitlab-ci.yml +++ b/.gitlab/ci/rules.gitlab-ci.yml @@ -1701,6 +1701,9 @@ # Run tests automatically for MRs that touch QA files - <<: *if-merge-request changes: *qa-patterns + # Run tests automatically for MRS that touch GITALY_SERVER_VERSION + - <<: *if-merge-request + changes: *gitaly-patterns # Otherwise, only run tests after the MR is approved - <<: *if-merge-request-not-approved when: never diff --git a/app/assets/javascripts/ci/ci_variable_list/components/ci_variable_drawer.vue b/app/assets/javascripts/ci/ci_variable_list/components/ci_variable_drawer.vue index 34e14abefc2..ad1965d8951 100644 --- a/app/assets/javascripts/ci/ci_variable_list/components/ci_variable_drawer.vue +++ b/app/assets/javascripts/ci/ci_variable_list/components/ci_variable_drawer.vue @@ -15,6 +15,8 @@ import { GlModal, GlModalDirective, GlSprintf, + GlFormRadio, + GlFormRadioGroup, } from '@gitlab/ui'; import { __, s__, sprintf } from '~/locale'; import { DRAWER_Z_INDEX } from '~/lib/utils/constants'; @@ -55,16 +57,19 @@ export const i18n = { expandedField: s__('CiVariables|Expand variable reference'), expandedDescription: EXPANDED_VARIABLES_NOTE, flags: __('Flags'), + visibility: __('Visibility'), flagsLinkTitle: FLAG_LINK_TITLE, key: __('Key'), keyFeedback: s__("CiVariables|A variable key can only contain letters, numbers, and '_'."), keyHelpText: s__( 'CiVariables|You can use CI/CD variables with the same name in different places, but the variables might overwrite each other. %{linkStart}What is the order of precedence for variables?%{linkEnd}', ), - maskedField: s__('CiVariables|Mask variable'), + maskedField: s__('CiVariables|Masked'), + visibleField: s__('CiVariables|Visible'), maskedDescription: s__( - 'CiVariables|Variable will be masked in job logs. Requires values to meet regular expression requirements.', + 'CiVariables|Masked in job logs but value can be revealed in CI/CD settings. Requires values to meet regular expressions requirements.', ), + visibleDescription: s__('CiVariables|Can be seen in job logs.'), maskedValueMinLengthValidationText: s__( 'CiVariables|The value must have at least %{charsAmount} characters.', ), @@ -112,6 +117,8 @@ export default { GlLink, GlModal, GlSprintf, + GlFormRadio, + GlFormRadioGroup, }, directives: { GlModalDirective, @@ -464,6 +471,23 @@ export default { readonly /> + + + + + {{ $options.i18n.visibleField }} + + + + {{ $options.i18n.maskedField }} + + + +