zephyrproject-rtos / infrastructure

Zephyr Project Infrastructure Management
1 stars 1 forks source link

Implement "super" workflow to define inter-workflow dependencies #21

Open stephanosio opened 2 years ago

stephanosio commented 2 years ago

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

stephanosio commented 2 years ago

Re: priority change, see https://github.com/zephyrproject-rtos/infrastructure-private/issues/22#issuecomment-1115096105.

stephanosio commented 7 months ago

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.

stephanosio commented 6 months ago

Brainstorming workflow re-organisation strategies