electric icon indicating copy to clipboard operation
electric copied to clipboard

Rewrite backend build/development/publish system - providing streamlined development and production deployment

Open johncclayton opened this issue 7 years ago • 1 comments

The use of docker is technically a great idea but makes it harder to debug / view log files etc. It feels like a large hammer (and everything else is a nail).

I've wanted to automate the entire build process for some time; so this ticket sets out to:

  • automate the sd-image creation
  • streamline development / production deployment - it will all be the same
  • remove Docker entirely from the project
  • use Raspbian images instead of Hypriot (to speed new board support)
  • use Terraform to provide AWS based build box hosts
  • document all the above

There is a LOT of benefit to the way we are building the SD images, some of these are:

  • more immediate support for new Raspberry Pi boards
  • simplicity - at the end of the day our sd-images are just Raspbian Lite modified builds
  • easier setup for debugging; nothing is isolated within a container
  • consumers can still just "plug it in", there's no requirement to download more stuff - it's all been done
  • STILL fits on a 4GB card
  • the project retains total control over the entire image, so less surprises and a more consistent experience across the board from consumers (just get it working for me!) to development (hey look, the dev env is actually a subset of the production env - not a completely different one).

I've been working on this for a couple of weeks now at nights - progress is GREAT.

johncclayton avatar Nov 18 '18 12:11 johncclayton

Don't get me wrong - Docker rocks - it just feels like the wrong tool for this particular job.

johncclayton avatar Nov 18 '18 12:11 johncclayton