plain-vegetable-53232
08/31/2024, 10:41 AMplain-vegetable-53232
08/31/2024, 10:42 AMplain-vegetable-53232
08/31/2024, 10:44 AMplain-vegetable-53232
08/31/2024, 10:45 AMplain-vegetable-53232
08/31/2024, 10:47 AMfull-hydrogen-5950
08/31/2024, 11:06 AMplain-vegetable-53232
08/31/2024, 11:20 AMforcing every stack to use the latest
(yes, eventually, it should be but I think it doesn't work in the flow like this),
like, let's say, I'm implementing a new feature at stack called network
, enabling vpc flow logs
and let's say I bump the minor version for enabling a new feature.
If I version the codebase of each stack, and have a pattern to orchestrate them(let's say that's the main pulumi program, or ci/cd itself, I'm not sure yet), It will be simply as just increasing the minor version of the codebase. And then I can enable this new version at any environment in gradual steps(with a pulumi program that acts as an orchestrator or with CI/CD flows). I also keep a changelog so I can get a better understanding of what happened-when.
However, if I just follow the latest commit sha, when I update the code base If someone is working on changing something(maybe bringing last changes to preprod that he/she made yesterday in dev) at pre-prod within the same stack. So he/she will see my changes as well, and he/she will need to stop his/her flow and start to work on what the actual hack is going on there.
This is why I asked this question. It's kind of helped to but yes, not 100%, but thanks though 🙂plain-vegetable-53232
08/31/2024, 11:22 AMfull-hydrogen-5950
08/31/2024, 11:30 AMplain-vegetable-53232
08/31/2024, 11:32 AMplain-vegetable-53232
08/31/2024, 11:33 AMfull-hydrogen-5950
08/31/2024, 11:35 AMplain-vegetable-53232
08/31/2024, 11:40 AMfix
,feat
as prefix. There are some others though. So everyone is following a standardized way to version modules.
If there is a breaking change then using feat!:
is just enough to make bot to bump major version, including keeping the changelogs. I think I will need use this bot again.plain-vegetable-53232
08/31/2024, 11:40 AM