akauppi / GroundLevel-firebase-es

[ANCHORED] Stencil for operational web apps
https://groundlevel-sep22.web.app/
Other
23 stars 3 forks source link

Docker Compose with Cloud Build: running Cypress tests in CI #76

Closed akauppi closed 3 years ago

akauppi commented 3 years ago

75 prepares for a workflow using Docker Compose.

The idea is that this can be used also in CI, to run Cypress tests. However...

akauppi commented 3 years ago

Keep Cypress tests disabled for now. Once Docker Compose v2 is out of beta, let's revisit the situation.


Note: Though we get the "Cannot connect to the Docker..." locally, it doesn't mean it wouldn't work in Cloud Build.

akauppi commented 3 years ago

No need to wait for DC 2.0. DC 1.29.something works just fine, for CI.

Current status (next branch):

Step #3: Creating app_cypress_run ... done
Step #3: wait-for-it: waiting 60 seconds for vite:3000
Step #3: wait-for-it: timeout occurred after waiting 60 seconds for vite:3000
Step #3: 124
Finished Step #3

Normal debugging. One more.. ? :hard:

akauppi commented 3 years ago

Done, pushed to next.2.

CI is now able to run Cypress tests, using the official cypress/included image.

akauppi commented 3 years ago

Actually (ehem), now it really is.