Provides a worker process used to build docker containers as part of the beardo platform.
NOTE: Beardo is very much a work in progress and should not be used in production. The platform is insecure and makes very rigid assumptions about your architecture. These issues should be resolved in time, but for now you've been warned.
Presuming that you already have docker installed, running locally should be as simple as checking out the repository git clone git@github.com:beardo-project/beardo-build.git
and using the included Makefile
from the repository root:
$ make run
Likewise, deployment happens via the included Makefile
. First, you'll need to satisy a few prerequisites. At present these are quite strict and inflexible, but that'll be resolved with time:
- You must have an existing CoreOS instance deployed on Google Compute Engine (etcd and fleet are not required).
- A user must exist on the server that is able to use
sudo
and can be logged in as via SSH. - You must have a
beardo-control
instance deployed on Google Appengine, it should be configured insecrets/conf/deploy.conf
- You must have a
beardo-registry
instance deployed and running, it should be configured insecrets/conf/deploy.conf
- A valid
hostname
andusername
should be configured insecrets/deploy/deploy.conf
. - A valid SSH key is required for the configured user (in
secrets/deploy.pem
) - A valid
known_hosts
file (to avoid SSH prompts) for your git server (insecrets/gitlab/deploy_known_hosts
) - A valid SSH key is required for deploy access to your git server (in
secrets/gitlab/deploy-key.pem
)
Once the prerequisites are satisifed, you can deploy with:
$ make deploy