Skip to content

When a new image is built, kargo will generate two freights, which will cause some problems #2948

Closed Answered by krancour
wokwong asked this question in Q&A
Discussion options

You must be logged in to vote

then, promoting the freight will update the values git reop with a commitID of 35a09c, kargo will generate another new cargo cranky-gopher (35a09c+v0.4).

If your promotion process is writing back to the same branch to which your Warehouse subscribes, then your promotion process is indirectly creating the second piece of Freight.

Kargo used to not let you do this (for the exact reason you are now encounting), but so many different features have emerged since then that can help you to mitigate this, so that protection eventually vanished.

  1. You can use path filters on your Warehouse's git repo subscription to try and ignore new commits where the only changes are to certain files.

  2. You ca…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@wokwong
Comment options

@krancour
Comment options

@krancour
Comment options

Answer selected by wokwong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants