hello everyone
i have pulumi iac and we setup azure pipeline for them with Pulumi Task Extension on our environment.
the issue is every time pipeline runs pulumi try to build python packages and that take too much time of us.
dose anyone face this issue and have any idea?
f
fast-sandwich-30809
03/27/2024, 1:54 PM
Hi! Azure pipelines, by default, re-build everything from scratch on each run. This is great for reproducibility, but not great for speed.
You can tell it not to delete the working directory before a run with the "clean" setting - what do you have that set to right now? Does setting it to "false" help?
fast-sandwich-30809
03/27/2024, 1:55 PM
Getting to this setting can be a pain. I have to click the pipeline; then "Edit", then the three dots in the upper right; then "Triggers", then on the screen in the screenshot click "YAML" and then "Get sources"
h
happy-winter-62740
03/28/2024, 9:18 AM
Hi ehtan.
thank you for being so helpful,
I have a clean setting set to "true", I will change that and try it 😍