Skip to content
Snippets Groups Projects
Select Git revision
  • documentalypse
  • main default protected
2 results

python-package

  • Clone with SSH
  • Clone with HTTPS
  • Python Package Template

    Build status Test coverage

    Template to create Python repositories with CI/CD pipeline for building, testing and publishing a python package.

    If you find some missing functionality with regards to CI/CD, testing, linting or something else, feel free to make a merge request with the proposed changes.

    How to apply this template

    This templates uses cookiecutter which can be

    pip install --user cookiecutter

    Then you can create an instance of your template with:

    cookiecutter https://git.astron.nl/templates/python-package.git
    # Next follow a set of prompts (such as the name and description of the package)

    Gitlab security, secrets and role configuration

    When using these templates for a repository on git.astron.nl please read the following pages to configure Gitlab appropriately:

    1. Gitlab Repository Configuration
    2. Continuous delivery guideline

    Setup

    Once you have used the template there are some additional steps to fully use this repository on Gitlab.

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

    License

    This project is licensed under the Apache License Version 2.0