-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker Hub Automated Build Status #241
Comments
I didn't notice at first, but this is an HTML scraper: https://github.com/cpuguy83/docker-hub-buildtag/blob/master/fetcher.go#L89. I could give in to that, but only if there is absolutely no way around it. There is no promise made from |
This seems to hold some information at first glance: https://docs.docker.com/reference/api/docker-io_api/. |
There isn't currently a public api to grab this, but it is planned. |
@cpuguy83 Good to know. Thanks! I'll wait for it to implement this. |
Just wanted to mention that there's a similar thing at @wblankenship's dockeri.co... Though it appears that just HTML-scrapes as well. |
Thanks for the mention @hairyhenderson. Yeah, there isn't any other way to get to the data so I'm using screen scraping. The docker website is fairly stable though, hasn't broken yet. That being said, looking forward to when there is a nice endpoint for metadata though 😄 🐋 |
Any updates on this issue? |
No new api's on the hub yet. |
+1 |
Do we have an example user/repo which is automated? This kind of endpoint seems promising, but ubuntu isn't automated, I think: https://registry.hub.docker.com/v2/repositories/library/ubuntu/ |
They have been silently rolling out some metadata endpoints. Example: https://registry.hub.docker.com/v2/repositories/wblankenship/dockeri.co/stars/count/ You can actually do a lot with it. https://registry.hub.docker.com/v2/repositories/wblankenship/dockeri.co/stars/ |
The docs are partially here: http://docs.docker.com/reference/api/docker-io_api/, but they don't fully cover the Some other interesting endpoints:
{
"count": 1,
"tags": [
"latest"
]
} |
Just emailed support for documentation, will post back here with reply. |
Still nothing? |
It's not really documented yet, however some data is there now.
Looks like a build status of |
Also
|
Thanks for this update! |
+1 |
I found (using browser debug mode):
And extracted the status from the client.js: |
@pl31 - nice! Has anyone started on a PR for this? |
👍 |
Good work! Unless someone makes a PR before then, I'll do this when I've processed the 60 remaining issues & PRs I haven't responded to yet. |
@cpuguy83 I'm seeing status values of 3 for a build in progress and 0 for a build which is queued. |
Pretty small contribution, but I added the ability to report current status of last build. Thanks @pl31 for the statuses!
|
Resolved via #856. |
There's already an implementation made by @cpuguy83, but it would be great if shields added support.
The text was updated successfully, but these errors were encountered: