Repository navigation
[POC] resolve manual ICTs in DCs - #7439
0xmichalis wants to merge 1 commit into
Conversation
|
Basically, this makes automatic: false triggers integrate automatically, but no trigger builds. So if you want to stop getting triggers, you have to remove the trigger. The original reason we didn't do that is because then you would lose the record that this comes from another image stream, even if it's disabled. I think this has to either be a new boolean or a new string constant. And we'd have to add it on build configs @bparees |
|
@smarterclayton i don't think BCs have any use for this. We already resolve your IST when your build is run. If you don't want the IST resolved when the build is run, don't use an IST (use a DockerImageRef). ICTs are (almost) completely independent of resolution in BCs. I haven't seen any user concerns about the current capabilities of BCs with respect to image triggering and image resolution. |
|
I don't want incompatible behavior of Triggers - I want them converging. Nothing special about BC vs DC, just they are both triggers, triggers should be consistent, and should make the same decisions. Deployment Configs need to reference the image stream because it's not stored on the pod template. However, for build configs, how do I express that I want to build from the stable last image? Set from ImageStreamImage and still have a trigger? If I remove the trigger, I don't know where the image came from. So that argues that there is still a "refresh" flag on BC triggers. |
point to the stable imagestreamtag. Every time we build, we'll resolve that imagestreamtag to the current imageid. Whether that build is triggered manually, or via an ICT (and ICT that can be monitoring any imagestreamtag you want, not just the one the build uses as an input). If you want it even more stable than that, point to an ImageStreamImage. And again you can still have triggers if you want to kick off the build, because they are triggers, not resolvers.
i don't know what this means. you don't know where what image came from? Builds always know what image they used to perform the build, regardless of how/why the build was created. |
|
Distinction is between "build from exactly this FROM" and "where did
this exact FROM come from". The latter is lost if the strategy points
to an ISI and the trigger is removed.
|
i don't see how a trigger provides that information, or would be the right place to store that information. A trigger that doesn't launch a build is not a trigger and I don't want to overload them. Let's discuss in realtime. |
|
Origin Action Required: Pull request cannot be automatically merged, please rebase your branch from latest HEAD and push again |
Addresses #6934
latestVersion bumps need some polishing (callers of the generator - image and config change controllers - should decide about latestVersion bumps and not the generator) and we can get this in if we agree on it.
@ironcladlou @smarterclayton @mfojtik