#1129 [RFE] chain-build could trigger regen-repo
Opened 5 years ago by tkopecek. Modified 5 years ago

Currently chain-build is not usable without kojira (on the other hand, there are probably no deployments without it) as each stage waits via waitRepo on regeneration. Would it make sense to trigger newRepo before, so it is sure, that this moment will ever happen?

It could spawn some unnecessary tasks, but given small race condition between finishing building stage and triggering newRepo vs. kojira's check, I think it is worth it.


And, chain-build also requires dest tag is inherited from build tag

And, chain-build also requires dest tag is inherited from build tag
Maybe some warning for this on CLI side?

And, chain-build also requires dest tag is inherited from build tag
Maybe some warning for this on CLI side?

or probably to check build_target in parent task?

I consider kojira to be required.

That said, I've been interested in overhauling how repo regens are triggered for a while. However, I don't think that simply calling newRepo from build tasks is the right way. We need to:

  • ensure that we don't overload regen capacity
  • avoid duplicate regens
  • carefully distinguish the cases where this is necessary

Metadata Update from @mikem:
- Issue untagged with: easyfix

5 years ago

Login to comment on this ticket.

Metadata