Skip to content

Latest commit

 

History

History
59 lines (37 loc) · 2.06 KB

installation.md

File metadata and controls

59 lines (37 loc) · 2.06 KB

Installation instructions

Pre-requisites

Install Docker

Docker is an essential part of Bazooka. To install it, follow these instructions

Download

Everything in Bazooka can be done through the CLI (Command Line Interface), including installing bazooka itself

Download Bazooka CLI with the following links and add it to your PATH

Installation

You'll need to export the following evironement variables:

  • BZK_HOME: Bazooka Home Folder, the path of a directory on your host where bazooka will work. It will contain workspaces of your build, artefacts...
  • BZK_SCM_KEYFILE: (Optional) Bazooka Default SCM private key: The path to the private key bazooka will try to use by default when fetching SCM data, for instance with git

Docker Compose

Bazooka comes with a docker compose file in hack/dockercompose.

You'll first need to export the followinf environement variable:

  • BZK_HOST: The docker0 bridge ip in linux, or the docker-machine or boot2docker virtual machine ip address

Move to the hack/dockercompose directory and execute the following to start bazooka:

$ cd hack/dockercompose
$ docker-compose --x-networking up

Capitan

Bazooka comes with a capitan.cfg.sh file suitable for use with the tiny but powerful capitan tool for managing docker containers:

$ cd hack/capitan
$ capitan up

Crowdr (Linux only)

Bazooka comes with a crowdr.cfg.sh file suitable for use with the crowdr tool for managing docker containers:

$ cd hack/crowdr
$ crowdr run