Currently we support the rebuilding of all containers during the CI if the branch starts with refs/heads/rebuild/.... However, it would be more convenient if we can force a rebuild using the commit message, simply by adding: "[rebuild]".
Ignored paths
CI builds are currently skipped on custom branches (feature, bug,....) if the last commit only contains changes not relevant for the behavior of the script-language container (for example documentation, license, infrastructure, etc.).
We need to change the logic and compare all commits which are not yet on branch develop, because otherwise you can commit a code change and then commit a documentation change and push both together. Because of the documentation change, the code change wouldn't be built and tested.
Acceptance Criteria
Force rebuild and test-run if the word [rebuild] appears in last commit message.
Remove the check for [skip tests]. Tests should always run if the container was built.
Check ignore-paths on all commits which are not yet on the base-branch . The base-branch needs to be configured in the project configuration JSON file as it can be different for each project (e.g. master for script-languages; develop for script-languages-release)
Background
Rebuild
Currently we support the rebuilding of all containers during the CI if the branch starts with
refs/heads/rebuild/...
. However, it would be more convenient if we can force a rebuild using the commit message, simply by adding: "[rebuild]".Ignored paths
CI builds are currently skipped on custom branches (feature, bug,....) if the last commit only contains changes not relevant for the behavior of the script-language container (for example documentation, license, infrastructure, etc.). We need to change the logic and compare all commits which are not yet on branch
develop
, because otherwise you can commit a code change and then commit a documentation change and push both together. Because of the documentation change, the code change wouldn't be built and tested.Acceptance Criteria
[rebuild]
appears in last commit message.[skip tests]
. Tests should always run if the container was built.