Require experiment toggled for duo workflow
What does this MR do and why?
Allows Duo Workflow to be used only if experiment features are enabled. Experiment features are available to be enabled in the root level non-personal namespaces.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Experiment features enabled | Experiment features disabled |
---|---|
How to set up and validate locally
- Follow the instructions to run a duo workflow
- Go to a root namespace edit page eg: http://gdk.test:3000/groups/flightjs/-/edit
- Under General -> Gitlab Duo Features, select Use experiment and beta Gitlab Duo Features checkbox
- In VsCode create a new workflow. It should be executed.
- Go back to namespace settings page and disable the same checkbox
- YIn VsCode create a new workflow. You should get an error.
Edited by Halil Coban