MeltanoLabs / target-athena

Singer.io Target for AWS Athena.
Other
5 stars 16 forks source link

Package Version and Gitlab CI #31

Closed freimer closed 1 year ago

freimer commented 3 years ago

Problem

Packages are not created with the version for the Python module set. There is no automation to build and deploy the package to any type of registry.

Proposed changes

Set the version in the pyproject.toml file to 1.4.1, then set a tag to match. Without this, there is no way to specify a specific version of the module (all builds are set to version 0.0.1), which will pose issues for future breaking changes.

Add .gitlab-ci.yml file for Gitlab CI. This is a generic CI that should work with any recent Gitlab server with the Package Registry. It also uses the Dependency Proxy in the CI to pull the docker image for Python to avoid issues with Docker Hub's rate limiting. This requires the Dependency Proxy setup on the Gitlab server also. Note, however, that the .gitlab.yml file is non-functional on a Github server, and will only take effect if the project is pushed to a Gitlab server.

Types of changes

What types of changes does your code introduce to PipelineWise? Put an x in the boxes that apply

Checklist

tayloramurphy commented 1 year ago

Closing due to inactivity.