[FOLIO-2055] create an Ansible role for backend-module that deploys the container to K8s cluster Created: 31/May/19 Updated: 03/Jun/20 Resolved: 29/Jul/19 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Task | Priority: | P2 |
| Reporter: | Jakub Skoczen | Assignee: | mark.stacy |
| Resolution: | Done | Votes: | 0 |
| Labels: | platform-backlog | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||||||||||||||||||||||||||||||||||||||
| Sprint: | CP: sprint 67, CP: sprint 69, CP: sprint 68 | ||||||||||||||||||||||||||||||||||||||||||||
| Story Points: | 5 | ||||||||||||||||||||||||||||||||||||||||||||
| Development Team: | Core: Platform | ||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Scope This issue is scoped to deploying pre-release and release artifacts (commits to master and releases). Deployment of arbitrary commits on feature branches is out of scope. (see
Assumptions Jenkins pipeline performs the following steps first:
Process In broad terms, this is the process that should be followed:
Open questions
|
| Comments |
| Comment by Jakub Skoczen [ 10/Jul/19 ] |
|
Ian Hardy mark.stacy Guys, let's flash out the steps for deploying this module and making use of Okapi's dependency resolution – it would involve making a couple calls to the Okapi API to get the deps and then cross-checking them against the discovery endpoint to confirm what is running and what is not. Also, we will need to name the modules with the module name and a version number (and Kubernets has some limitations in terms of naming services). |
| Comment by mark.stacy [ 19/Jul/19 ] |
|
Jakub Skoczen Ian Hardy Wayne Schneider John Malconian PR submitted (copy markdown over to issue) Role Accomplishes: Review: @wafschneider @ihardy @funkymalc ISSUES
|
| Comment by Ann-Marie Breaux (Inactive) [ 25/Jul/19 ] |
|
HI mark.stacy and Jakub Skoczen This showed up in the manual testing queue, but I don't think there's anything for us to do. Do you want to close this ticket? |
| Comment by John Malconian [ 25/Jul/19 ] |
|
Updated status to 'In Code Review' |
| Comment by Ian Hardy [ 29/Jul/19 ] |
|
Wayne's latest changes look good to me, my vote merge them in and handle the last todo (replace module_list with folio_modules) perhaps as part of folio-2187? I also noticed that the roles included in meta/main.yml include the common role, which is a bit tricky on k8s since the common role expects to be running on a Debian system. I think I can work around this in the module deploy pipeline temporarily, but this might be another issue to address in 2187. |