This project provides the postgres library layer to all services that need to access the postgres database.
Since version 1.0.0, the build has been integrated with the Jenkins CI and images are now pushed automatically. See the Jenkinsfile for image path and version configurations.
This image can be used to test the service/ run it locally without building etc.
gradle tasks # will list all the available tasks
gradle build # will setup virtualenv, run all tests, and create reports and distribution
Note: you will need the taasArtifactoryUsername
and taasArtifactoryPassword
variables in gradle.properties
Refer and see
local.build.gradle
for more information.
Update gradle.properties as needed.
Use gradle to do a clean build.
gradle clean build
To run unittest, execute:
gradle clean test