Commit graph

8 commits

Author SHA1 Message Date
Matija Čupić
341f956a4c
Do not escape forward slashes in Maskable REGEX 2019-06-06 15:46:46 +01:00
Matija Čupić
432d24ac9a
Expose javascript regex 2019-06-06 15:46:45 +01:00
mfluharty
598fa4cdd8
Default masked to false for new variables
Set the default value to false
Adjust tests to expect false as the default
Update documentation to make new default clear
2019-06-04 14:09:01 +01:00
Krasimir Angelov
85609c117e Implement support for CI variables of type file
Add env_var and file as supported types for CI variables. Variables of
type file expose to users existing gitlab-runner behaviour - save
variable value into a temp file and set the path to this file in an ENV
var named after the variable key.

Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/46806.
2019-05-06 13:11:42 +00:00
mfluharty
0481d69907
Add control for variable value masking
Show masked switch for each variable
When toggled on, the variable value will be masked in runner logs
Show warning message if the switch is on but the value is not maskable
2019-03-29 12:49:59 -06:00
Kamil Trzciński
89fdf64c8a Revert "Merge branch '13784-validate-variables-for-masking' into 'master'"
This reverts merge request !25476
2019-03-27 21:42:23 +00:00
Miranda Fluharty
fc8f4b62f8 Scaffold UI elements for minimal version
Add a masked switch to variable rows
Copy some behavior from the protected switch
2019-03-27 19:13:55 +00:00
Alexis Reigel
a648bcad7b
extract protected variable logic to helper 2018-12-04 16:35:04 +01:00