Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-17819

Way to prevent repo cloning on specific steps

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      My typical "Release and deploy" pipeline consists of the following steps:

      • run tests
      • build new docker image and push it to a registry
      • deploy that image to kubernetes

      From pipeline output I see that every step starts from "Build setup" where repo is cloned and git is configured with different params. Sometimes this setup can take up to 1 minute.

      However, the repo initialisation is needed only on certain pipeline steps, such as tests running and docker image building, and there is no point to do it on the last deployment step.

      Skipping the repo initialisation in that case can nicely reduce the pipeline execution time.

      I would like to have a way to specify "clone" setting at specific step with value "no" (0 or whatever) which will allow me to skip that repo cloning

      Attachments

        Activity

          People

            Unassigned Unassigned
            69d58df2b4f3 Jokero
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: