[FOLIO-2036] Include custom backend modules in PR builds for branch preview Created: 22/May/19  Updated: 03/Jun/20  Resolved: 07/Jun/19

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: P3
Reporter: John Malconian Assignee: John Malconian
Resolution: Done Votes: 0
Labels: platform-backlog
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Blocks
blocks FOLIO-2119 Preview capability for PRs (Q2, devel... Closed
blocks UXPROD-1817 Preview capability for PRs (Q3, initi... Closed
blocks UXPROD-2118 Preview capability for PRs (Q4, final... Closed
Relates
relates to UXPROD-1827 CI-integrated continuous deployment (... Closed
relates to FOLIO-2118 CI-integrated continuous deployment (... Closed
Sprint: CP: sprint 65, CP: sprint 64
Story Points: 3
Development Team: Core: Platform

 Description   

Currently the UXPROD-1817 Closed "branch preview" POC only includes module versions specified on
the master branch of platform-core and platform-complete. Add the ability to include snapshot dependencies in the PR environments – e.g by clearly expressing snapshot dependencies in a configuration file provided along with the PR code (e.g "install-extra.json"). This additional configuration would be picked by the CI build process and allow providing snapshot dependencies in the select cases. The configuration file could be merged to the mainline (with any conflicts needing to resolved at the point of the merge) but it would have to be removed during the release process (CI disallows any snapshot dependencies for released artefacts)



 Comments   
Comment by John Malconian [ 04/Jun/19 ]

This is implemented as a POC on branch, FOLIO-2036 Closed , of jenkins-pipeline-libs. The PR build process looks for a file called '.pr-custom-deps.json' in the top-level directory of the code repository. This file follows the same format as the json that is fed to the Okapi tenant install endpoint and contains any custom backend modules (currently "SNAPSHOT" versions) that the developer wants to substitute for backend modules that comprise the 'folio-release' set of modules from platform-core or platform-complete for tenant configurations during a PR build in FOLIO Jenkins. That's the only function of the file.

Comment by John Malconian [ 07/Jun/19 ]

Updated branch-preview documentation.

Comment by John Malconian [ 13/Aug/19 ]

Update notes for cluster deployment:

  • Add/update supertenant credentials to Jenkins for okapi-default.ci.folio.org
Generated at Thu Feb 08 23:17:43 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.