shopozor / services

Micro-services building up the Shopozor software.
6 stars 0 forks source link

Initialize site generator service #182

Closed zadigus closed 4 years ago

zadigus commented 4 years ago

Recap of our workflow

Prerequisites

Changes

Put up initial static site generation service, which can be used in both the jenkins pipeline as well as on a k8s cluster. Currently, on the k8s cluster, we also automatically trigger the website generation upon deployment.

How to use the feature

curl http://site-generator-service:8080/generate

will generate a the static html files. The service is not perfect yet. For instance, it's possible to trigger multipe generations at once making the service crash.