#825 Logs of image build should be uploaded incrementally
Closed: Dropped 2 years ago by tkopecek. Opened 6 years ago by julian8628.

To make oz*.log visible when building, could we let the logs of image builds keeping up-to-date for user?


Could have some interaction with #832

Currently, we import the imagefactory libs and call their functions, effectively handing over control to another tool. This means that the koji code isn't really running at this time, so there is nothing to do this upload (I don't think imagefactory needs to be aware of koji).

Likely this will mean forking off a process for imagefactory, and then monitoring both it and the logs in the original task process.

Or perhaps there is an imagefactory callback? (If not, I don't think adding one is the way)

Frankly, probably better to get imagefactory into it's own process for other reasons too.

Note: putting this in a separate process doesn't mean we have to exec imagefactory instead of calling it. That would be a big refactor, but we could probably introduce a fork in the existing code without too much disruption.

Metadata Update from @mikem:
- Issue tagged with: feature

5 years ago

Dropping - we don't want to invest too much into image builds.

Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue close_status updated to: Dropped
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata