This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed notifications for the latest docker when the repo did not exist
Before this patch, for docker versions using the Manifest Version 2 schema 2, Portus failed when the repository did not exist. Fixes #729 Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
- Loading branch information
Showing
5 changed files
with
178 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
spec/vcr_cassettes/registry/get_image_manifest_namespaced_webhook_v2.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
http_interactions: | ||
- request: | ||
method: get | ||
uri: http://registry.test.lan/v2/suse/busybox/tags/list?n=100 | ||
body: | ||
encoding: US-ASCII | ||
string: '' | ||
headers: | ||
Accept-Encoding: | ||
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 | ||
Accept: | ||
- "*/*" | ||
User-Agent: | ||
- Ruby | ||
Host: | ||
- registry.test.lan | ||
response: | ||
status: | ||
code: 200 | ||
message: OK | ||
headers: | ||
Content-Type: | ||
- application/json; charset=utf-8 | ||
Docker-Distribution-Api-Version: | ||
- registry/2.0 | ||
Date: | ||
- Mon, 20 Apr 2015 10:06:19 GMT | ||
Content-Length: | ||
- '170' | ||
body: | ||
encoding: UTF-8 | ||
string: | | ||
{"name":"suse/busybox","tags":["latest"]} | ||
http_version: | ||
recorded_at: Mon, 20 Apr 2015 10:06:19 GMT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
http_interactions: | ||
- request: | ||
method: get | ||
uri: http://registry.test.lan/v2/busybox/tags/list?n=100 | ||
body: | ||
encoding: US-ASCII | ||
string: '' | ||
headers: | ||
Accept-Encoding: | ||
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 | ||
Accept: | ||
- "*/*" | ||
User-Agent: | ||
- Ruby | ||
Host: | ||
- registry.test.lan | ||
response: | ||
status: | ||
code: 200 | ||
message: OK | ||
headers: | ||
Content-Type: | ||
- application/json; charset=utf-8 | ||
Docker-Distribution-Api-Version: | ||
- registry/2.0 | ||
Date: | ||
- Mon, 20 Apr 2015 10:06:19 GMT | ||
Content-Length: | ||
- '170' | ||
body: | ||
encoding: UTF-8 | ||
string: | | ||
{"name":"busybox", "tags": ["latest"] } | ||
http_version: | ||
recorded_at: Mon, 20 Apr 2015 10:06:19 GMT |