Builds are run from a docker build image that is configured with the node and go we support. Our circle.yml uses this docker container to build, test and create release packages.
Versions can be updated in Dockerfile_build
. A new docker must be then built, published and used in CI.
Having logged to quay.io with push permissions run:
cd $CHRONOGRAF_REPOSITORY_ROOT
./etc/scripts/docker/build.sh
Run the image with:
export DOCKER_TAG="chronograf-$(date +%Y%m%d)"
./etc/scripts/docker/run.sh
- Modify default tag in
etc/docker/run.sh
, replace with new one. - Change DOCKER_TAG in
.circleci/config.yml
.