Skip to content

1.0.0

Choose a tag to compare

@Stevesibilia Stevesibilia released this 03 Oct 09:31
· 3 commits to main since this release
9b167b2

Compare with previous version

Added

  • New variable operate_at_root_group_level to simplify configuration and replace the combination of gitlab_agent_grant_access_to_entire_root_namespace and gitlab_agent_create_variables_in_root_namespace.
  • New variable groups_enabled to specify groups where the GitLab Agent should be enabled (when not operating at root group level).
  • New variable projects_enabled to specify projects where the GitLab Agent should be enabled (when not operating at root group level).
  • Auto-detection of parent group when operate_at_root_group_level = false and no groups/projects are specified.
  • Support for creating CI/CD variables in multiple groups and projects simultaneously.
  • Dynamic generation of agent configuration file based on enabled groups/projects using yamlencode().
  • New outputs: gitlab_enabled_groups, gitlab_enabled_projects, gitlab_parent_group_auto_detected.

Changed

  • Agent configuration file is now dynamically generated based on operate_at_root_group_level and enabled groups/projects.
  • CI/CD variables can now be created in multiple targets (root group, specific groups, or specific projects) depending on configuration.
  • Output gitlab_root_namespace_id now returns null when not operating at root group level.

Removed

  • BREAKING CHANGE: variable gitlab_agent_grant_access_to_entire_root_namespace - replaced by operate_at_root_group_level.
  • BREAKING CHANGE: variable gitlab_agent_create_variables_in_root_namespace - behavior is now determined by operate_at_root_group_level.
  • Backward compatibility logic for deprecated variables.

Migration Guide

If you were using the removed variables, migrate as follows:

  • gitlab_agent_grant_user_access_to_root_namespace = true -> operate_at_root_group_level = true + gitlab_agent_grant_user_access_to_root_namespace = true
  • gitlab_agent_grant_access_to_entire_root_namespace = true + gitlab_agent_create_variables_in_root_namespace = trueoperate_at_root_group_level = true + gitlab_agent_grant_user_access_to_root_namespace = true
  • gitlab_agent_grant_access_to_entire_root_namespace = false -> operate_at_root_group_level = false + configure groups_enabled and/or projects_enabled

Note: user access is now only available when operate_at_root_group_level = true. If you need user access to specific groups/projects, this is not currently supported by Gitlab.