COMP: Exclude README, Utilities/Maintenance and other files from AZP CI#3930
Conversation
|
Looks like it does not work 😢 Maybe I should have used |
|
Maybe this needs to be in master before it has an effect? |
Maybe, but I'm not sure. Usually I think the yml file of a branch does affect the CI build of that particular branch. I'll still try to tweak the yml files a little bit more. |
fb72cd9 to
a458b97
Compare
|
Is it possible to share one and the same list of excluded files between all (six) AzurePipelines*.yml files? Current list of excluded files: I would have liked "*.md", but that does not seem to be accepted by AZP. ITK appears to have a separate AzurePipelines*.yml file for each supported platform. |
a458b97 to
8dd55b2
Compare
Excluded various files which are not tested by the CI anyway from triggering a CI run.
8dd55b2 to
a10a8df
Compare
|
OK, I think this should work, but I have no evidence that it does 🤷 |
|
For the record, you may also suppress the CI by adding the string
Source: https://docs.github.com/en/actions/managing-workflow-runs/skipping-workflow-runs |
|
Maybe we can test whether this works by creating a new PR with that maintenance script you used recently? |
Further extended the exclusion of specific files from the Azure Pipelines CI runs. Those files were not tested by the CI anyway. Inspired by ITK pull request InsightSoftwareConsortium/ITK#3930 commit InsightSoftwareConsortium/ITK@eb5ca25 "COMP: Exclude Utilities/Maintenance and documentation files from AZP CI"
Further extended the exclusion of specific files from the Azure Pipelines CI runs. Those files were not tested by the CI anyway. Inspired by ITK pull request InsightSoftwareConsortium/ITK#3930 commit InsightSoftwareConsortium/ITK@eb5ca25 "COMP: Exclude Utilities/Maintenance and documentation files from AZP CI"
Excluded various files and directories from triggering a CI run, according to Azure Pipelines "trigger definition" at https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema/trigger?view=azure-pipelines#trigger-batch-branches-paths-tags
These are files that are not tested by the CI anyway.
This pull request aims to avoid running the virtual machines of the CI unnecessarily, to save energy and to reduce the time waiting for the CI.