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

Allow users to configure memory for services on step level (e.g. docker)

XMLWordPrintable

    • 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.

      As of now, the user can only specify Docker service memory that applies to all the builds.
      However, some scenario users would like to test their integration and would like to have different and larger docker service memory to proceed further.

      It will best to provide the ability to create multiple definitions for docker service so that users can specify specific docker service memory for specific build.

      Configuration Suggestion:

      #!python
      
      definitions:
        services:
          docker:
            memory: 3024
          docker-1:
            memory: 7128
      
      pipelines:
        branches:
      # Build with 4GB memory allocated
          master:
            - step:
                script:
                  - echo "Hello"
                services:
                  - docker
      
        custom:
      # Build with 8GB memory allocated
          integration-tests:
            - step:
                size: 2x
                script:
                  - echo "Tests completed"
                services:
                  - docker-1
      

              Unassigned Unassigned
              rchia Ronald C.
              Votes:
              46 Vote for this issue
              Watchers:
              38 Start watching this issue

                Created:
                Updated:
                Resolved: