How can I increase parallelization in Gruntwork Pipelines jobs? #724
-
A customer asked:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Our best recommendation for this currently is to modify your This script acts as the "glue" code between your version control system and the terragrunt plan and apply logic contained in the ECS Deploy Runner component of Gruntwork Pipelines. Here's an example of the Within this script, we use the For example, to have Find the right call to xargsNote that the deploy.infra script has several different handler functions, each for a different workflow: Each handler ends with a call to
|
Beta Was this translation helpful? Give feedback.
Our best recommendation for this currently is to modify your
deploy-infra.sh
script, which comes bundled as part of your Gruntwork Pipelines installation.This script acts as the "glue" code between your version control system and the terragrunt plan and apply logic contained in the ECS Deploy Runner component of Gruntwork Pipelines.
Here's an example of the
deploy-infra.sh
script.Within this script, we use the
xargs
unix utility to help format arguments to complex commands.xargs
can also accept a-P
flag, which stands formax-procs
to increase the number of processes that xargs uses to execute a given command, as explained here.For example, to have
xargs
spin up two processes, you wou…