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

Build execution should wait until all services are ready

    XMLWordPrintable

Details

    Description

      Currently, Pipelines does not wait until all declared services are up and running before the build execution starts. As a result, a build could fail because a service container was not fully started yet (e.g. a test failed because a database service container had not fully started).

      Maybe this should be an optional configurable setting in the YML? This might require user input to define when a service container is considered to be 'ready'.

      Edit: this wait is already implemented for Docker and auth proxy services. 

      Workaround

      In the meantime you can do this yourselves by adding an initial step to your pipeline that waits for the service to be ready, e.g. poll for 200 OK, before allowing the remaining steps to run.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jderaedt Jeroen De Raedt
            Votes:
            15 Vote for this issue
            Watchers:
            22 Start watching this issue

            Dates

              Created:
              Updated: