Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-26354

Upgrade CI, packaging for LTD Keeper

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      This ticket is to update the packaging and CI for LTD Keeper to bring it more in line with how we package Safir apps for long-term maintainability:

      • pinned requirements.txt via pip-tools
      • GitHub Actions
      • pre-commit hooks, including black

        Attachments

          Activity

          Hide
          jsick Jonathan Sick added a comment -

          This was a substantial update as it also included adding type annotations for extra safety while refactoring and developing the code base. Full change log is:

          • Python packaging is now defined in pyproject.toml and setup.cfg files.
          • Tests, linting, and other build processes are now run through tox
          • Testing and Docker builds are now run through GitHub Actions.
          • The Docker image is now based on Python 3.7 and uses a multi-stage approach to the build to ensure the image is as small as possible.
          • The codebase is now formatted with black and isort; these linters are run automatically through pre-commit.
          • The codebase uses type annotations, which are checked though mypy.

          Released as LTD Keeper 1.20.0.

          Show
          jsick Jonathan Sick added a comment - This was a substantial update as it also included adding type annotations for extra safety while refactoring and developing the code base. Full change log is: Python packaging is now defined in pyproject.toml and setup.cfg files. Tests, linting, and other build processes are now run through tox Testing and Docker builds are now run through GitHub Actions. The Docker image is now based on Python 3.7 and uses a multi-stage approach to the build to ensure the image is as small as possible. The codebase is now formatted with black and isort; these linters are run automatically through pre-commit. The codebase uses type annotations, which are checked though mypy. Released as LTD Keeper 1.20.0.

            People

            Assignee:
            jsick Jonathan Sick
            Reporter:
            jsick Jonathan Sick
            Watchers:
            Jonathan Sick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.