|
Added a proof of concept pipeline in Jenkins Automation/snapshot-core-k8s to build/update snapshot-core. Re-uses John Malconian's playbook/process from pr preview to deploy the tenant on kubernetes. Pipeline: https://github.com/folio-org/folio-infrastructure/blob/FOLIO-2388-kube-snapshot/CI/jenkins/Jenkinsfile.snapshot-k8s
Process:
- Clone latest platoform-core
- Build stripes and derive stripes-install.json and okapi-install.json files
- create a tenant called snapshot_core if it doesn't already exist
- post modules to /install endpoint (this will trigger an update if there are new versions of modules)
Note that okapi is not updated as part of the platform. Treating the existing okapi-default.ci.folio.org as part of infrastructure more than part of the snapshot version.
Assuming one of the uses of this is to work out migrations, we can assume this build will break when there are database schema changes in modules until migrations are implemented. Could have an option or another job to drop and purge the tenant when a reset is required.
|