MAG-990: SKA SRC Clients repo Pipeline improvements

The MR contains below changes towards pipeline improvements

  • Integrate static code analysis tools and testing framework black, isort, flake, pylint, pylint-junit, pytest etc
  • Improve pipeline configuration, moving on towards adapting full DevOps model as per the SKA SRC requirements.
  • Add lint, json-reports, build, test, publish and scan stages to the pipeline machinery
  • Add ska-cicd-makefile as a sub-modules to the src clients repo for utilisation of CI-CD make targets and variables
  • make python-format - To format the python code
  • make python-lint - To check the linting errors and code refactoring if any in the code base
  • make python-test - To execute and verify the results for the added unit tests
  • Upgrade Makefile and make target usage to adapt target make python-test
  • Add dummy unit test module to verify the python-test job and test reports
  • Use poetry for python packaging and dependency management.
  • Add pyproject.toml with dependencies
  • Update docs/ folder to gather the documentation associated with the given project and upgrade to the latest SKAO readthedocs.
  • Add .release include the release details and tag for projects's python-package and docker image release
  • Add CHANGELOG to reflect exact changes done under targeted release tag

Note: Linting warnings of different types are observed after adding linting and formatting checks on the code, that needs to be fixed (Added the list of warnings in .pylintrc)

Edited by shraddhabajare

Merge request reports

Loading