Open stephanosio opened 2 years ago
Re: priority change, see https://github.com/zephyrproject-rtos/infrastructure-private/issues/22#issuecomment-1115096105.
Note that, with zephyr-runner v2, the ccache data will be stored in the local node cache as well as in the central Redis cache (i.e. AWS S3 secrets are not required); so, the twister workflow will no longer need to run on pull_request_target
.
With this, it should be possible to chain compliance check and code build workflows in single pull_request
event.
Brainstorming workflow re-organisation strategies
workflow_call
) workflow that can be invoked inside "super" validation workflows.helper-*.yml
, validation-*.yml
).validation-main-pr.yml
)validation-main-push.yml
)validation-main-full.yml
)Helper Workflows
helper-assigner.yml
)helper-backport.yml
)helper-bug-snapshot.yml
)helper-merge-blocker.yml
)helper-greeter.yml
)helper-manifest.yml
)Pull Request Validation Workflow (validation-main-pr.yml
)
Phase 1 (Compliance Checks)
validation-pr-compliance-check.yml
)validation-coding-guidelines-check.yml
)validation-backport-issue-check.yml
)validation-license-check.yml
)Phase 2 (Tooling Validation)
validation-general-script-test.yml
)validation-pylib-test.yml
)validation-devicetree-script-test.yml
)validation-west-command-test.yml
)validation-twister.yml
)validation-libc-errno-check.yml
)Phase 3 (Zephyr Validation)
validation-bsim-test.yml
)validation-doc-build.yml
)validation-zephyr-test-gcc.yml
)validation-zephyr-test-clang.yml
)Push Validation Workflow (validation-main-push.yml
)
Full Validation Workflow (validation-main-full.yml
)
Implement a "super" workflow that includes individual CI workflows in order to facilitate defining the dependencies among the workflows.
This is necessary so that we can ensure the twister workflow (i.e. the most resource intensive one) does not start until all the basic compliance checks pass.
Note that this will require some major refactoring of the current CI workflows.
See https://docs.github.com/en/actions/using-workflows/reusing-workflows