[FOLIO-1948] PoC preview capability for PRs in a platform-core ui- module Created: 06/Apr/19 Updated: 03/Jun/20 Resolved: 03/May/19 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Task | Priority: | P3 |
| Reporter: | Jakub Skoczen | Assignee: | John Malconian |
| Resolution: | Done | Votes: | 0 |
| Labels: | platform-backlog | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||||||||||||||||||||||||||
| Sprint: | CP: sprint 62 | ||||||||||||||||||||||||||||||||
| Story Points: | 8 | ||||||||||||||||||||||||||||||||
| Development Team: | Core: Platform | ||||||||||||||||||||||||||||||||
| Description |
|
The context for this issue is provided on the epic:
Goal Provide a quick implementation of the PR preview capability for a selected UI module without introducing new CI processes, new multi-tenant deployment environment and new orchestration tools. It is understood that such implementation will not be optimal from the technical standpoint but it will demonstrate the preview functionality. Assumptions
Further development We have discussed an optimisation to the deployment process where the PR preview env is not deployed as a new environment but is created as a new tenant on an already existing multi-tenant FOLIO environment. This will require a new FOLIO environment and new processes in the CI. It likely won't require a new kind of deployment orchestrator. Further optimisations would rely on a a new approach to deployments and orchestration that would allow running a more flexible and scalable (clustered) FOLIO environment, see
|
| Comments |
| Comment by Anton Emelianov (Inactive) [ 09/Apr/19 ] |
|
| Comment by Jakub Skoczen [ 03/May/19 ] |
|
John Malconian gave us a demo of the PoC and it looks really neat (there is a PR in mod-users that shows the functionality). There are some changes (I'd say improvements) compared to the original description of the PoC: 1. There is a dedicated environment for all PR previews (folio-release-pr) |
| Comment by John Malconian [ 03/May/19 ] |
|
Here are some links I'll leave up for a short time: ui-users test PR for POC in Github: https://github.com/folio-org/ui-users/pull/820 ui-users PR job in Jenkins: https://jenkins-aws.indexdata.com/job/folio-org/job/ui-users/view/change-requests/job/PR-820/ The "preview" system built by the PR is at: https://folio-release-pr.aws.indexdata.com. Login as $ {TENANT}admin - where TENANT is 'pr$ {PR_NUMBER}_ {JENKINS_BUILD_NUMBER}. (The link to the "preview" system and tenant created is posted to the Github PR conversation). An immediate next step is to figure out how to host bundles for multiple PRs and repositories. This POC hosts the stripes bundle on https://folio-release-pr.aws.indexdata.com. This is not scalable past one repository. Stripes bundles are static, so a simple web service with a unique URL to the bundle is all that is required as well as a clean up process that removes old bundles and services. |
| Comment by Jakub Skoczen [ 06/May/19 ] |
|
John Malconian I have created
|