Can I build services in parallel instead of sequen...
# 🤖|ask-kapa
s
@microscopic-river-74022 Can I build services in parallel instead of sequentially? This is slowing down my CI pipeline significantly.
m
Please stand by @sparse-portugal-33038 as I search the knowledge base. I normally take about 20 seconds or so. :wave:
---------------------- Yes, Garden allows you to build services in parallel. This is one of the key features of Garden that helps to speed up your CI pipeline. Garden's smart caching abilities ensure that the same image never needs to be built twice or the same test run twice. This can significantly speed up your pipelines. However, please note that for certain build actions like Maven builds, concurrent builds can be unstable. This option is disabled by default and must be configured for each Build action individually. To build all services, you can use the
garden build
command. If you want to force a rebuild of all services, you can use the
garden build --force
command.
Copy code
bash
garden build
Copy code
bash
garden build --force  # or -f for short
Sources: - How Garden Works - Caching () - Jib-container - Configuration Keys - build.concurrentMavenBuilds () - Using the CLI - Build actions - Building all Builds () - Using the CLI - Build actions - Building all Builds, forcing a rebuild () ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
message has been deleted