Skip to content

Resolve "Publish CDB package to GitLab PyPI package registry"

Closes #32 (closed)

Intention

Deploy the package to the GitLab PyPI registry at the group CDB.

Solution

  1. This update adds upload of the package to the PyPI registry. The upload occur as following:

    • Tagged build on the branch master: automatic
    • Build w/o a tag on the branch master: manual
    • Any other branch: never
  2. This update renames the package to pycdb-compass in order to avoid collision with other packages. The package installs a module pyCDB.

Test

  • This update was tested by enabling upload of a non-master branch build temporarily (see https://repo.tok.ipp.cas.cz/compass-tokamak/CDB/-/packages/751)
  • This update was tested by installing the package using PIP from the GitLab package registry using a private access token and running a python script:
    from pyCDB import errors
    print(dir(errors))
Edited by Ivo Hanák

Merge request reports

Loading