summaryrefslogtreecommitdiff
path: root/spec/fixtures
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-10-18 09:02:32 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-10-18 09:02:32 +0000
commit0fa2f14857ceb5b5b52595555bb2c3e6e930e1f7 (patch)
tree71d09c4aeb45cf238739b84f2931ca5f58739ad4 /spec/fixtures
parent1090514ab407b7faa894cbd9b6cd769c376a9b5d (diff)
parent6ac0a69b688608bc971b8b69494ac5ef8aac72c0 (diff)
downloadgitlab-ce-0fa2f14857ceb5b5b52595555bb2c3e6e930e1f7.tar.gz
Merge branch 'kt/bug/fix-revision-and-size-for-container-registry' into 'master'
Add short_revision and use total_size Closes #39203 See merge request gitlab-org/gitlab-ce!14917
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/api/schemas/registry/tag.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/registry/tag.json b/spec/fixtures/api/schemas/registry/tag.json
index 5bc307e0e64..3a2c88791e1 100644
--- a/spec/fixtures/api/schemas/registry/tag.json
+++ b/spec/fixtures/api/schemas/registry/tag.json
@@ -14,6 +14,11 @@
"revision": {
"type": "string"
},
+ "short_revision": {
+ "type": "string",
+ "minLength": 9,
+ "maxLength": 9
+ },
"total_size": {
"type": "integer"
},