FAQ | This is a LIVE service | Changelog

Skip to content
  • Dr Rich Wareham's avatar
    add python-package template · 0c48e35d
    Dr Rich Wareham authored
    Add a template intended for standalone Python packages. The template
    supports building tarballs and wheels via either setuptools or poetry,
    running parallel tests via tox for multiple Python versions and
    uploading packages to the GitLab package registry and/or the PyPI.
    
    See auto-devops/python.md for fuller documentation.
    
    This also introduces a "common" pipeline template for Auto DevOps which
    brings in all of the "safe" templates. "Safe" in this instance means:
    
    - They are only enabled if files in the repository indicate they are
      required or if appropriate variables are set.
    - They can be disabled by setting a variable if they are inappropriate
      for a given project.
    
    The Python and pre-commit templates are "safe" in that definition and so
    they are added. There was a degree of duplication of the "rules:"
    portions of those jobs and so they have been broken out into a common
    include file.
    
    We can use the logan tool as an example of these pipeline templates in
    use. We have the ...
    0c48e35d