Azure-Samples / contoso-real-estate

Intelligent enterprise-grade reference architecture for JavaScript, featuring OpenAI integration, Azure Developer CLI template and Playwright tests.
MIT License
858 stars 512 forks source link

ci: add nightly codespace CI #453

Open manekinekko opened 5 months ago

manekinekko commented 5 months ago

To check if a service is running in codespaces, eg. the Portal API, we send a Curl HTTP request to the provided URL. If the service is up and running, we should get back a 200. When the service has not started yet, Codespaces returns 302.

Getting a 302 back seems to kill the whole process make the Github Action to stop and fail (see logs in screenshot). We need to investigate this.

image

manekinekko commented 5 months ago

I managed to fix the 302 issues we had. However, currently the Strapi service is not running properly. I need to investigate.

Currently, the PR is working as expected - but I'd like to be able to valid the full flow before we get it merged.