Since the definitions and pipeline sections are separate, how can we have two docker steps that use different amounts of memory?
In my case, I do all the building in docker. So for the dev branches, I run docker build to do the basics setup and unit tests. But in the deployment branches, I also do the full builds. This means the deployment builds are done in `size: 2x` steps while the dev builds are done in normal size steps.
But I need to run the dockers those with different service limits on memory also so that docker can use the increased memory while building.
I can make all the docker steps 2x, but then I'm wasting memory and money for steps that don't need the extra memory.
Community moderators have prevented the ability to post new answers.
I fear that you are correct. But from a consumer point of view, this is not a good scenario. Since I'm using docker in my pipelines, I have to pay double for all my pipeline minutes because one step needs more memory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.