Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-07-20 15:07:25 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-20 15:07:25 +0300
commit07b1e2691206717206d40f9c7f0abfd1a30ecbdd (patch)
treea5b6b9655d73f158c22ecc70bcb65535226fd4ac /app/validators/json_schemas
parent65a0673d76bb86d6acca6dc3ab42dc91a04f56c2 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/validators/json_schemas')
-rw-r--r--app/validators/json_schemas/build_metadata_secrets.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/validators/json_schemas/build_metadata_secrets.json b/app/validators/json_schemas/build_metadata_secrets.json
index 5dcd33a2cf0..ac34af3f107 100644
--- a/app/validators/json_schemas/build_metadata_secrets.json
+++ b/app/validators/json_schemas/build_metadata_secrets.json
@@ -24,9 +24,30 @@
},
"additionalProperties": false
},
+ "^azure_key_vault$": {
+ "type": "object",
+ "required": ["name"],
+ "properties": {
+ "name": { "type": "string" },
+ "version": { "type": ["string", "null"] }
+ },
+ "additionalProperties": false
+ },
"^file$": { "type": "boolean" },
"^token$": { "type": "string" }
},
+ "anyOf": [
+ {
+ "required": [
+ "vault"
+ ]
+ },
+ {
+ "required": [
+ "azure_key_vault"
+ ]
+ }
+ ],
"additionalProperties": false
}
}