Skip to main content

Pipeline syntax for buildbot

Project description

Buildbot Pipeline is a missing piece to make Buildbot (an excellent CI framework) usable for mere mortals.

  • Define steps in VCS using YAML.

  • Scripted includes allow to use favorite language to define dynamic steps and bring more flexibility than build matrix.

  • Trigger filters. Automatic trigger if step file is changed.

  • Parallel steps.

  • Ability to skip already passed jobs for same commit (can be helpful to rerun flaky tests).

  • Fixed concurrency. You can run multiple builds of the same job on single worker.

  • Native support for JUnit (XUnit) XML reports.

  • Artifacts storage on leader node.

  • Artifacts and test reports are attached to step. You can easily find cause of failure in UI.

  • Gerrit integration:

    • Buildbot pipeline tracks all builds started from the same commit and sets Verify label based on all succeeded jobs.

    • You can rebuild one of failed jobs from buildset and Verify would be correctly updated.

    • Do not trigger build for WIP patches.

Example:

# buildbot/unit-tests.yaml

filter:
  files:
    - app/*
    - unit-tests/*

steps:
  - name: prepare
    shell-fail: pip install -r requirements.txt

  - name: test
    shell: python -m pytest --junitxml=junit.xml --cov-report html:htmlcov unit-tests
    junit: junit.xml
    upload:
      label: coverage report
      src: htmlcov
      link: htmlcov/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

buildbot_pipeline-0.9.1.tar.gz (12.7 kB view details)

Uploaded Source

File details

Details for the file buildbot_pipeline-0.9.1.tar.gz.

File metadata

  • Download URL: buildbot_pipeline-0.9.1.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for buildbot_pipeline-0.9.1.tar.gz
Algorithm Hash digest
SHA256 90296d850bae444fd776096ce2d04fb68d89e56e922ab44a9c36bff6d0c6c569
MD5 0de5008a2c89bd127bc30ac15e2e5393
BLAKE2b-256 a5263e9c33785b74a41abc3f51c6a7c6c5dbcb01002ba35e1398a8dec4f8a521

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page