Packages are versioned using a Python script called ci/version
which reads the version from:
package.json
for the app versioncharts/substra-frontend/Chart.yaml
for the Helm chart version
The --insert-dev-info
option will also add info from the current commit, which is used to create "continuous" packages.
Example usage:
python3 -m pip install -r ci/cilib/requirements.txt
ci/version app --insert-dev-info
Docker images (containing the app) are built by ci/publish-docker
, and Helm charts by ci/publish-helm
.
On the CI, they are built continuously by GitHub Actions workflow called build.yaml, which gives them "dev" versions based on commit info. This workflow can be triggered by:
- pushing a commit on the
main
branch - pushing a tag
- running it manually via the github interface or a HTTP API call
The registry is ghcr.io/substra
The helm chart repository is https://substra.github.io/charts/substra-frontend
.
When a tag is pushed, it triggers the release.yaml workflow, which builds an images with the same tag.
Helm charts do not follow the regular release process. Any change to the charts/
directory to the main branch will trigger a build and upload.
See validate-pr.yaml
End-to-end tests are hosted here, but the CI that runs them is on substra-tests