Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.6.2 protected
  • v1.6.1 protected
  • v1.5.0 protected
  • v1.4.0 protected
  • v1.3.0 protected
  • v1.2.0 protected
  • v1.1.1 protected
  • v1.1.0 protected
  • v1.0.0 protected
10 results

pycommon

  • Clone with SSH
  • Clone with HTTPS
  • Jorrit Schaap's avatar
    Merge branch 'TMSS-3182' into 'master'
    Jorrit Schaap authored
    TMSS-3182
    
    Closes TMSS-3182
    
    See merge request !13
    9dde7903
    History

    PyCommon

    Build status Test coverage Latest release

    Common Python library for TMSS backend

    Installation

    pip install .

    Setup

    One time template setup should include configuring the docker registry to regularly cleanup old images of the CI/CD pipelines. And you can consider creating protected version tags for software releases:

    1. Cleanup Docker Registry Images
    2. Setup Protected Verson Tags

    Once the cleanup policy for docker registry is setup you can uncomment the docker push comment in the .gitlab-ci.yml file from the docker_build job. This will allow to download minimal docker images with your Python package installed.

    Contributing

    To contribute, please create a feature branch and a "Draft" merge request. Upon completion, the merge request should be marked as ready and a reviewer should be assigned.

    Verify your changes locally and be sure to add tests. Verifying local changes is done through tox.

    pip install tox

    With tox the same jobs as run on the CI/CD pipeline can be ran. These include unit tests and linting.

    tox

    To automatically apply most suggested linting changes execute:

    tox -e format

    License

    This project is licensed under GPLv3