Add Duo agentic platform sidebar widget for self-managed
What does this MR do and why?
Add Duo agentic platform sidebar widget for self-managed
- add widget for paid self-managed duo agent platform enabling with feature preview.
- see https://gitlab.com/gitlab-org/gitlab/-/issues/565473
Screenshots or screen recordings
Click to expand
How to set up and validate locally
note: Fully covered in testing and feature specs for happy path.
Click to expand
- Set up your GDK to point to CustomersDot Staging. In
gdk.yml:
license:
customer_portal_url: https://customers.staging.gitlab.com
license_mode: test
- Also make sure you don't have GITLAB_SIMULATE_SAAS env variable as truthy, then you can reconfigure and restart GDK.
- Purchase a license that is at least Premium on https://customers.staging.gitlab.com
- Follow this URL to purchase an Ultimate self-managed license (see these docs for details)
- You can use a test credit card to complete these purchases
- Copy the activation code for the license from CustomersDot
- Go to the Admin area > Subscription and upload the activation code
- Comment out this line so that it is now
# return false unless on_or_past_release_date? - Refresh and ensure the widget is seen. If not shown, may need to purchase a duo pro/duo enterprise add on if duo core isn't automatically added due to being in local env. See here for more detail add on purchase instructions.
- Once uploaded, go to this path
/admin/gitlab_duo/configurationin your browser. For example:http://gdk.test:3000/admin/gitlab_duo/configuration - Try different combinations as shown in this table and then use the widget to enable.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #565473
Edited by Doug Stull