chronograf/etc
Jakub Bednář 00e71abf55
chore(build): upgrade Go to 1.22.7 (#6108)
* chore: upgrade Ubuntu image due the EOL
2024-09-20 14:05:55 +02:00
..
oauth2-server-mock chore(deps): bump express in /etc/oauth2-server-mock 2024-03-28 01:17:57 +00:00
scripts chore(build): upgrade Go to 1.22.7 (#6108) 2024-09-20 14:05:55 +02:00
Dockerfile_build chore(build): upgrade Go to 1.22.7 (#6108) 2024-09-20 14:05:55 +02:00
README.md fix: Markdown lint, [skip ci] 2022-03-23 13:44:40 +01:00
build.py fix: handle newer git version not liking root owned repos 2023-02-28 14:27:02 -05:00
config.sample.toml WIP 2016-11-03 15:50:34 -05:00
licenses.mjs chore: add js dependency generator 2022-07-28 09:29:47 +02:00
licenses.sh Add license of dependencies. 2016-11-14 10:23:45 -06:00

README.md

Builds

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.

Updating new node/go versions

Versions can be updated in Dockerfile_build. A new docker must be then built, published and used in CI.

Step 1: Build New Docker Image and Save It to Quay

Having logged to quay.io with push permissions run:

cd $CHRONOGRAF_REPOSITORY_ROOT
./etc/scripts/docker/build.sh

OPTIONAL Step 2: Check the build image

Run the image with:

export DOCKER_TAG="chronograf-$(date +%Y%m%d)"
./etc/scripts/docker/run.sh

Step 3: Update script and CircleCI

  1. Modify default tag in etc/docker/run.sh, replace with new one.
  2. Change DOCKER_TAG in .circleci/config.yml.