gbif / occurrence-annotation

Experimental: Rule based annotation store
Apache License 2.0
0 stars 1 forks source link

Setup CI tests with github actions or Jenkins #34

Open jhnwllr opened 9 months ago

jhnwllr commented 9 months ago

https://www.atomicjar.com/2023/06/running-testcontainers-tests-using-github-actions/

timrobertson100 commented 9 months ago

I suggest we set up the backend (Java WS and postgresql) to build and deploy on the GBIF uat postgres, the GBIF nexus etc on any commit. We want it to sit publicly, to make it easy for @jhnwllr to test without VPN

@zaultooz - could you please help with this?

jhnwllr commented 9 months ago

I will run CI tests of the R package using GitHub actions.

zaultooz commented 9 months ago

@timrobertson100 I can start looking at it when I have finished SparkApplication yaml simplication for Airflow

zaultooz commented 9 months ago

I have now setup a Jenkins job that builds, run tests and deploy the SNAPSHOT artifact to GBIF maven repository. The job can also be run to release a artifact.

I have setup configuration and prepared the job for deploying the artifact to the ws server but I am missing the route configuration and tesitng it.

timrobertson100 commented 9 months ago

Thanks @zaultooz

I think if you try a GET to /v1/occurrence/annotation/project it would return an empty JSON array if it all works.