Walther / clovers-service

Frontend + Backend + Batch for clovers, the raytracing renderer
0 stars 0 forks source link

ci: add initial pipeline #3

Closed Walther closed 2 years ago

Walther commented 2 years ago

initial scaffolding for a ci pipeline. there aren't that many tests yet, but this will enable writing and running them later.

rust: backend, batch

typescript: frontend

the frontend gets deployed to fly.io but is currently not fully functional as i deliberately do not add an env var for the backend location. this works as a proof-of-concept deployment process, but actual functionality shall wait until i have better backend validation, rate limiting, user authorization, etc in place.

later on, backend could get deployed to fly.io too as a separate application.

additionally, batch will most likely only be deployed to a high-power dedicated server (hetzner), either manually or with an rsync script or some such.


incidentally, this PR also solves exercises 11.20 - 11.21 of full stack open: ci/cd