Closed smashwilson closed 10 years ago
I think what will be necessary is to create a new repo just for the vagrant/docker combination, and then have that environment set up to clone down this repo, and fire up the whole server in a sandboxed way, possibly running the server just inside a vagrant VM, but then running each of the CI’d repos workspaces in separate docker containers, so as to avoid malicious code accessing another checked-out project’s code sideways.
Should script/bootstrap take care of platform detection and installation and everything?
Not in this repo, I don’t think. If we have a separate repo for the virtualisation, then let’s make all the stuff happen there with a bootstrap command of some sort.
Just created a repo at cobyism/dciy-sandbox as a place to discuss and setup what’s needed. Added you as a collaborator there too :smiley:
As per discussion on #34. Since it's basically an engine for running arbitrary code off the Internet, DCIY is, er, kind of a giant security hole. To mitigate this, let's run builds in Docker containers.
Some considerations:
script/bootstrap
take care of platform detection and installation and everything?prepare
andcibuild
commands in Docker-land.