conda-forge / status

https://conda-forge.org/status/
8 stars 13 forks source link

add status monitor for open-gpu-server #161

Closed jaimergp closed 9 months ago

jaimergp commented 9 months ago

Adds a status monitor for open-gpu-server based on the public API for https://open-gpu-server.openstatus.dev/.

This might be protected by CORS, so there's a chance it doesn't work on Github Pages. Locally, I could only make it to work via https://cors-anywhere.herokuapp.com/.

If it doesn't work, we'll cache the response in the conda-forge-webservices like we do with Azure.

jaimergp commented 9 months ago

Sadly it doesn't work:

Access to XMLHttpRequest at 'https://api.openstatus.dev/public/status/open-gpu-server' from origin 'https://conda-forge.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I hate CORS 😂 I'll add a fetcher to the webservices then.

jaimergp commented 9 months ago

Added https://github.com/conda-forge/conda-forge-webservices/pull/570