Skip to content

Cleanup feature flag, add feature spec for instance wide agent access and user facing docs

Issues:

Documentation on organizational cluster-agent m... (#517505 - closed)

Remove `workspaces_agents_availability_admin` f... (#548951 - closed)

What does this MR do and why?

This MR:

  • removes the feature flag blocking instance-level Agent admin control
  • adds a capybara e2e test for instance-level agent access and workspace creation
  • adds documentation for configuring instance-level agents

References

Documentation on organizational cluster-agent m... (#517505 - closed)

Remove `workspaces_agents_availability_admin` f... (#548951 - closed)

Screenshots or screen recordings

This recording demonstrates agent access being enabled by an admin and a base organization user having the ability to create a workspace from that agent.

Instance-level_org-level-agent_

How to set up and validate locally

pre-req:

Run bundle exec scripts/remote_development/run-smoke-test-suite.sh, all tests should pass without any errors In local dev environment, setup remote development workspaces: https://gitlab.com/gitlab-org/workspaces/gitlab-workspaces-docs/-/blob/main/doc/local-development-environment-setup.md

Feature-test steps

  • Enable an agent for instance-wide access via the admin-settings UI as shown in the video (disable any namespace access granted)
  • In a separate account (perferably one with no admin privliges) create a group with a project
  • Attempt to create a workspace from that project (the enbaled agent should be avaialble to use)
Edited by Safwan Ahmed

Merge request reports

Loading