Forum Discussion

Rajesh_Swamy's avatar
Rajesh_Swamy
Copper Contributor
May 14, 2024

How to reduce downloading time for releasing pipelines

When I do a deployment task on a given deployment server, it downloads all linked artifacts for the entire release. So, I'm downloading a ton of stuff I don't need.
For Example, if it is taking 10 minutes to complete the task and out of 10 minutes, it takes 8 minutes just to download artifacts.

Is there a way to avoid downloading unnecessary artifacts?

  • mattarnoldd's avatar
    mattarnoldd
    Copper Contributor

    Rajesh_Swamy 

    Downloading unnecessary artifacts can definitely slow down your pipelines. Here are a couple ways to optimize:

    Selective Artifact Download: Most CI/CD tools allow you to configure which artifacts are downloaded for each environment. This way, you only download what's needed for that specific deployment. Check your tool's documentation for details on setting this up.

    Artifact Caching: Many tools offer artifact caching, where downloaded artifacts are stored and reused in subsequent pipeline runs. This can significantly reduce download times if the artifacts haven't changed.

    These are some common approaches, but the specifics might vary depending on your CI/CD tool. If you let me know which tool you're using, I might be able to provide more specific guidance!

  • EricStarker's avatar
    EricStarker
    Icon for Community Manager rankCommunity Manager

    Rajesh_Swamy 

    Hello! You've posted your question in the Tech Community Discussion space, which is intended for discussion around the Tech Community website itself, not product questions. If you can tell me which product or service this is related to, I'd be happy to move it for you.

     

    Otherwise, feel free to repost your question in the appropriate Community Hub from this list and I will remove this post once you've seen my reply and acknowledged. 

Resources