skohub-io / skohub-vocabs

A lightweight tool to publish SKOS Vocabularies
https://skohub.io/
Apache License 2.0
32 stars 25 forks source link

217 separation of vocabs and webhook #241

Closed sroertgen closed 1 year ago

sroertgen commented 1 year ago

Since this branch based on https://github.com/skohub-io/skohub-vocabs/tree/233-tests , I will wait for this to be merged so the commits are a bit clearer.

I separated the skohub webhook part from skohub-vocabs since these are two distinct services though the webhook makes use of SkoHub Vocabs. The webhook is now living in https://github.com/skohub-io/skohub-webhook

The webhook is now using the docker image of SkoHub Vocabs to build the vocabularies. So it is not necessary anymore for the webhook to have the latest SkoHub Vocabs repo nearby to build the vocabs.

In order to make this work and avoid permission issues it was also necessary to modify the Dockerfile. It is now run by the node user, which should be better anyway than running as root.

Also tests and scripts that are not related to SkoHub Vocabs were moved to SkoHub Webhook.