kiegroup / github-action-build-chain

86 stars 24 forks source link

Implement resume or re-start of build from defined/failed repository #422

Open mareknovotny opened 1 year ago

mareknovotny commented 1 year ago

It would be very helpful to have RESUME/RE-START feature in case of CLI usage for debugging and fixing the problem. Right now you need to run only whole Build chain repository list or manually write command for skipping succesful repository builds.

### Tasks
- [ ] https://github.com/kiegroup/github-action-build-chain/issues/450
- [ ] https://github.com/kiegroup/github-action-build-chain/issues/452
- [ ] https://github.com/kiegroup/github-action-build-chain/issues/455
- [ ] https://github.com/kiegroup/github-action-build-chain/issues/457
- [ ] Override definition file or part of the definition file (TBD. Refer #452)
- [ ] Add option to create multiple state files so that user can select from which state they want to resume
Ginxo commented 1 year ago

let's use BC execution folder as the workspace to store .state.json file

-state flag either on build and resume functionality -state kike -> .state.kike.json

shubhbapna commented 1 year ago

One interesting thing to explore would be serialization of the config service. If we are able to serialize the config service and store in the .state.json file and deserialize it when we resume, then we won't have to manually figure which meta data to store