Skip to content
Gresille & Siffle edited this page Apr 11, 2023 · 8 revisions

The Tournesol configuration of Plausible Analytics

Description

This repository modifies the default docker-compose.yml file of the forked repository to adapt it to the Tournesol infrastructure.

Branches and life cycles

master

A perfect copy of the upstream master branch.

It can be synced regularly with the upstream, no other modification is expected.

tournesol-deployment

The branch that must be tagged and used to deploy Plausible Analytics on our infrastructure.

It contains a customized docker-compose.yml file, and could host other relevant modifications.

When master is updated, it can be merged into this branch.

New feature branches should be created from tournesol-deployment, be reviewed, and should be merged into tournesol-deployment.

Releases

Releases are created by tagging the branch tournesol-deployment.

How to create a new release?

Use the command git tag -a to create new tag and annotate it with a concise message. The tag must follow the pattern <yyyy>.<mm>.<dd>.

Example with a tag created the 2nd of March 2023:

git tag -a 2023.03.02

# When several tags are created the same day, append a digit starting at 1:
git tag -a 2023.03.02-1
git tag -a 2023.03.02-2

Deploy a new release

Configure your deployment system to use the desired tag.