Skip to content

Deploying Custom Branches

Kuznetsov Dmitriy edited this page Jun 12, 2017 · 12 revisions

1. Build docker image with custom tag

First, you need to build docker image from your custom branch for specified project (ashes, phoenix-scala, etc) or multiple projects in case if your branch is heavy and touches many things.

cd ./ashes
DOCKER_TAG=my-custom-build make build docker docker-push

Here my-custom-build - is your custom tagname. You can change to whatever you want.

In this example you will build custom ashes. You can make it with any other project.

It will takes several minutes.

2. Point goldrush to your custom tag

By default, your generated goldrush.cfg will have all docker tags set to master, e.g.:

export DOCKER_TAG_ASHES=master
export DOCKER_TAG_PHOENIX=master
export DOCKER_TAG_MIDDLEWAREHOUSE=master
# ... other project tags ...

You need to change your project(s) with your custom tag, e.g.:

export DOCKER_TAG_ASHES=my-custom-build
export DOCKER_TAG_PHOENIX=master
export DOCKER_TAG_MIDDLEWAREHOUSE=master
# ... other project tags ...

3. Make it up!

After that, when you run

cd ..
make up

from highlander root directory, you'll have a running Ashes container with specified tag.

4. Update an existing appliance

If you want to update already existing appliance, follow the same steps, but in the end, run

make provision