github-action-build-chain
github-action-build-chain copied to clipboard
Implement resume or re-start of build from defined/failed repository
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
- metadata
- all the parameters from BC
- df: URL
- rest of the parameters
- definition-file: the computed definition-file
- checkout
- project1: true
- project2: true
- project3: false
- project4: true
- execution
- projectX command: X
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
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