You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EdSDR
changed the title
Migrate Monorepo to Digital Ocean App Platform
Switch from Cloudflare Pages to DigitalOcean on monorepo / next.js apps
Jul 22, 2024
We are using Drone CI for most deployments, while others are still being built in the Digital Ocean build environment. All deployments handled by Drone CI are being built as Docker images and then the Digital Ocean app is pointing to the branch Docker tag (main for production and dev for development).
communex-page (Static SPA site built by Digital Ocean)
2 scenarios:
Use the digital ocean build environment like shown below (only if it's not fucked up like on Cloudflare Pages)
https://docs.digitalocean.com/products/app-platform/how-to/deploy-from-monorepo/
https://github.com/digitalocean/sample-monorepo
https://docs.digitalocean.com/products/app-platform/reference/buildpacks/nodejs/
https://www.youtube.com/watch?v=PmFtK01G_A8
Use our own build environment (with cicd pipelining)
For that option I'm considering Drone CI, because it's open source and it has support for adding features as a extension.
Github Actions is absolutely awful for conditional path pipelines and Circle CI is better but far beyond being good.
https://www.drone.io/
https://www.youtube.com/watch?v=-VfJq2UKYCE
https://github.com/meltwater/drone-convert-pathschanged
TODO list from the old task:
pnpm
, configuration overhaul, adddrizzle
,trpc
andpostgres
#26The text was updated successfully, but these errors were encountered: