Skip to content

Change use_service_account to a feature flag

What does this MR do and why?

Change use_service_account to a feature flag to control whether composite identity is used.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Configure GDK to work with Duo Workflow: https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/duo_workflow.md
  2. Run the following command to start a workflow:
curl -H "Private-Token: glpat-<redacted>" -XPOST 'http://127.0.0.1:3000/api/v4/ai/duo_workflows/workflows?project_id=1000000&start_workflow=true&goal=Create+a+file+called+hello.sh+that+prints+hello.'
  1. A new branch was created, (see active branches http://gdk.test:3000/gitlab-duo/test/-/branches) with a name like workloads/<hash>
  2. This branch should have been created under Duo Workflow image

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 #554156 (closed)

Edited by Fred de Gier

Merge request reports

Loading