Update Institution Mapping API build and release CI/CD
Description
This API is not a cloud run service but serviced by static content in a bucket. This content is collected and pushed to bucket by this tool by a Gitlab Scheduled Pipeline.
In order for this to move from Gitlab CI to GCP/ucam-faas we will need a ucam-faas docker image that will perform the content collection and push to a bucket. In this issue, we can add the ucam-faas function and docker image. Deployment to GCP would be part of the later epic - uis/devops&384
Task list
At least but not limited to:
-
Update tool to using poetry instead of setup.py
And additionally:
-
Create ucam-faas python function that wraps the existing tool logic - Care/improvements with configuration/secret handling probably needed
-
Add additional build target to Dockerfile for ucam-faas function - builds should be released with versions by release-it
If these additional steps take way too much time, then report back to the team and discuss whether we want to continue as part of this issue or whether we want to drop it from this issue.
Acceptance criteria
-
Repository closer to DevOps standards to assist SMP compliance -
Preparation work done for later migration from scheduled Gitlab CI to GCP/ucam-faas
Links/references
Edited by Sebastiaan ten Pas