Add module dependency resolution quality gate for PRs in CI

Description

All module dependency resolution checking utilizing a tenant install endpoint in Okapi (simulate-mode).

The process would look something like the following:

1) deploy an instance of okapi (probably in a container) for each PR.
2) pull all module descriptors from folio-registry.
3) generate a module descriptor for the PR's module and post to local instance of okapi.
4) generate a list of stripes modules from 'next-release' branch of platform-core or platform-complete to enable in addition/in lieu of the local module we are testing.
5) create a tenant on local okapi instance
6) use tenant's install endpoint to simulate deployment
7) tear down local okapi instance

If there is a dependency resolution conflict, the PR fails. If there is no dependency resolution conflict, but the new version of the module is not included in list of modules to enable, a warning message is generated that signifies that no modules are prepared to use the new iteration of the module. This is useful for backend modules that increment the interface version.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

John Malconian March 8, 2019 at 2:25 PM

Based on our discussions, we decided not to do this. Instead we decided to implement this feature on release builds only (separate issue). We can revisit this later if needed.

Jakub Skoczen March 8, 2019 at 10:00 AM

this has been in "CODE REVIEW" for some time, has it been completed? If so, where can I see the resulting dependency check?

Ann-Marie Breaux January 15, 2019 at 9:18 PM

I switched this to In Code Review; if you prefer for it to be closed, then close it. Definitely not "In Review" for manual testing. Thank you!

Cate Boerema January 4, 2019 at 8:05 AM

, true. , In Review status means ready for the manual testers. If you are looking for a code review, please use Code Review status or close. Thanks!

patty.wanninger January 3, 2019 at 10:24 PM

This does not seem like a ticket for the IC testers.

Won't Do

Details

Assignee

Reporter

Priority

Development Team

Core: Platform

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created October 24, 2018 at 2:55 PM
Updated June 26, 2019 at 11:20 AM
Resolved March 8, 2019 at 2:25 PM
TestRail: Cases
TestRail: Runs

Flag notifications