1.0.0
Added
- New variable
operate_at_root_group_levelto simplify configuration and replace the combination ofgitlab_agent_grant_access_to_entire_root_namespaceandgitlab_agent_create_variables_in_root_namespace. - New variable
groups_enabledto specify groups where the GitLab Agent should be enabled (when not operating at root group level). - New variable
projects_enabledto 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 = falseand 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_leveland 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_idnow returnsnullwhen not operating at root group level.
Removed
- BREAKING CHANGE: variable
gitlab_agent_grant_access_to_entire_root_namespace- replaced byoperate_at_root_group_level. - BREAKING CHANGE: variable
gitlab_agent_create_variables_in_root_namespace- behavior is now determined byoperate_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 = truegitlab_agent_grant_access_to_entire_root_namespace = true+gitlab_agent_create_variables_in_root_namespace = true→operate_at_root_group_level = true+gitlab_agent_grant_user_access_to_root_namespace = truegitlab_agent_grant_access_to_entire_root_namespace = false->operate_at_root_group_level = false+ configuregroups_enabledand/orprojects_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.