summaryrefslogtreecommitdiff
path: root/spec/fixtures
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-11-17 09:09:23 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-11-17 09:09:23 +0000
commit6fa3630aad333511c687b385c2333e98e09595b4 (patch)
tree137531fbfbf7b47316b90931ec858e82128d698d /spec/fixtures
parentd49d44c81043c2830ef80df5fa3f1eee77a13f52 (diff)
downloadgitlab-ce-6fa3630aad333511c687b385c2333e98e09595b4.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/api/schemas/graphql/container_repositories.json12
-rw-r--r--spec/fixtures/api/schemas/graphql/container_repository.json6
-rw-r--r--spec/fixtures/api/schemas/graphql/container_repository_details.json33
3 files changed, 19 insertions, 32 deletions
diff --git a/spec/fixtures/api/schemas/graphql/container_repositories.json b/spec/fixtures/api/schemas/graphql/container_repositories.json
new file mode 100644
index 00000000000..8e8982ff8c7
--- /dev/null
+++ b/spec/fixtures/api/schemas/graphql/container_repositories.json
@@ -0,0 +1,12 @@
+{
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": ["node"],
+ "properties": {
+ "node": {
+ "$ref": "./container_repository.json"
+ }
+ }
+ }
+}
diff --git a/spec/fixtures/api/schemas/graphql/container_repository.json b/spec/fixtures/api/schemas/graphql/container_repository.json
index 0737e71dd17..e252bedab82 100644
--- a/spec/fixtures/api/schemas/graphql/container_repository.json
+++ b/spec/fixtures/api/schemas/graphql/container_repository.json
@@ -1,6 +1,6 @@
{
"type": "object",
- "required": ["id", "name", "path", "location", "createdAt", "updatedAt", "tagsCount", "canDelete"],
+ "required": ["id", "name", "path", "location", "createdAt", "updatedAt", "tagsCount", "canDelete", "expirationPolicyCleanupStatus"],
"properties": {
"id": {
"type": "string"
@@ -31,6 +31,10 @@
},
"canDelete": {
"type": "boolean"
+ },
+ "expirationPolicyCleanupStatus": {
+ "type": "string",
+ "enum": ["UNSCHEDULED", "SCHEDULED", "UNFINISHED", "ONGOING"]
}
}
}
diff --git a/spec/fixtures/api/schemas/graphql/container_repository_details.json b/spec/fixtures/api/schemas/graphql/container_repository_details.json
index b076711dcea..3db91796fc6 100644
--- a/spec/fixtures/api/schemas/graphql/container_repository_details.json
+++ b/spec/fixtures/api/schemas/graphql/container_repository_details.json
@@ -1,37 +1,8 @@
{
"type": "object",
- "required": ["id", "name", "path", "location", "createdAt", "updatedAt", "tagsCount", "canDelete", "tags"],
+ "required": ["tags"],
+ "allOf": [{ "$ref": "./container_repository.json" }],
"properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "path": {
- "type": "string"
- },
- "location": {
- "type": "string"
- },
- "createdAt": {
- "type": "string"
- },
- "updatedAt": {
- "type": "string"
- },
- "expirationPolicyStartedAt": {
- "type": ["string", "null"]
- },
- "status": {
- "type": ["string", "null"]
- },
- "tagsCount": {
- "type": "integer"
- },
- "canDelete": {
- "type": "boolean"
- },
"tags": {
"type": "object",
"required": ["nodes"],