github-action-build-chain icon indicating copy to clipboard operation
github-action-build-chain copied to clipboard

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

Open mareknovotny opened this issue 2 years ago • 2 comments

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

mareknovotny avatar Apr 14 '23 14:04 mareknovotny

  • 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

Ginxo avatar May 11 '23 13:05 Ginxo

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

shubhbapna avatar May 11 '23 17:05 shubhbapna