ARPA-SIMC / moncic-ci

Continuous integration tool and development helper.
GNU General Public License v2.0
2 stars 0 forks source link

Build profiles #64

Closed spanezz closed 2 years ago

spanezz commented 2 years ago

Example use case:

gbp can use --git-upstream-tree=branch for CIs and --git-upstream-tree=tag for release. One is good in a CI to test that the current main is packageable, the other is useful when releasing packages

This can be generalised introducing the idea of build profiles: adding --profile=name to monci ci can load a YAML file with the given name from the config directory, and pass its contents to the builder.

The YAML file can have per-builder options, that are builder-specific values

spanezz commented 2 years ago

Fixed in d30e0f8cb84d5e192f28e63fab6f19006982537e by extending build styles instead