summaryrefslogtreecommitdiff
path: root/spec/fixtures
diff options
context:
space:
mode:
authormfluharty <mfluharty@gitlab.com>2019-03-29 09:46:31 -0600
committermfluharty <mfluharty@gitlab.com>2019-03-29 12:49:59 -0600
commit0481d699075ea48c67037088713689b8d66f1983 (patch)
tree200b5c4c0a4fac3f416ad4b8dbb402caa0a2eae7 /spec/fixtures
parentee8f3d5cd806c5558a2153b1a545b371c47c600f (diff)
downloadgitlab-ce-0481d699075ea48c67037088713689b8d66f1983.tar.gz
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
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/api/schemas/variable.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/variable.json b/spec/fixtures/api/schemas/variable.json
index 6f6b044115b..305071a6b3f 100644
--- a/spec/fixtures/api/schemas/variable.json
+++ b/spec/fixtures/api/schemas/variable.json
@@ -4,12 +4,14 @@
"id",
"key",
"value",
+ "masked",
"protected"
],
"properties": {
"id": { "type": "integer" },
"key": { "type": "string" },
"value": { "type": "string" },
+ "masked": { "type": "boolean" },
"protected": { "type": "boolean" },
"environment_scope": { "type": "string", "optional": true }
},