Skip to content

Build worker service for the beardo project (builds docker containers on demand and uploads to a private registry)

License

Notifications You must be signed in to change notification settings

paddycarey/beardo-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beardo Build

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.

Usage

Running locally

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

Deployment

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 in secrets/conf/deploy.conf
  • You must have a beardo-registry instance deployed and running, it should be configured in secrets/conf/deploy.conf
  • A valid hostname and username should be configured in secrets/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 (in secrets/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

About

Build worker service for the beardo project (builds docker containers on demand and uploads to a private registry)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published