Register license compliance vuex module to pipeline tabs store
What does this MR do and why?
Migrates the license compliance widget vuex store in mr_widget_license_report.vue
from having it's own store TO registering it in the parent pipeline tabs store.
Also update the license_reports.vue which is the legacy vue app that is used when the unified pipeline tabs flag is off so it still works with the flag off.
Before (flag off) | After (flag on) |
---|---|
Describe in detail what your merge request does and why.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
-
Reach out to me for a demo, or attempt steps below -
In a rails console enable flag Feature.enable(:pipeline_tabs_vue)
-
Clone the https://gitlab.com/gitlab-examples/security/security-reports project locally -
Manually trigger the pipeline to run for Master
. This can be done by going to theCI/CD
->Pipelines
tab on the left nav and then clicking theRun Pipeline
button. -
Set up Allowed/Denied licenses in https://<localhost>/<group>/<project>/-/licenses#policies
-
Create a new MR. I suggest changing something simple like a letter or two in the README.md
file. We just need a pipeline to complete and run. The sample project uses test reports to generate the data so doesn't matter what you change just need a MR. -
Go to the pipeline view for the MR you just created -
You should see the Licenses
tab after the pipeline completes, click on it, and look for the license widget. -
In a rails console disable flag Feature.disable(:pipeline_tabs_vue)
-
You should see the Licenses
tab after the pipeline completes, click on it, and look for the license widget.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #363079 (closed)
Edited by -