You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+24-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,27 @@
1
-
## 16.7.0 (2023-12-21)
1
+
## 16.8.0 (2024-01-18)
2
+
3
+
This release was tested against GitLab 16.6, 16.7, and 16.8 for both CE and EE
4
+
5
+
BREAKING CHANGE:
6
+
7
+
- gitlab_application_settings: Removed support for `delayed_group_deletion` and `delayed_project_deletion`, which haven't been supported since GitLab 16.0 ([!1799](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1799))
8
+
9
+
IMPROVEMENTS:
10
+
11
+
-**New Resource**`gitlab_global_level_notifications` allows managing global notifications for the user ([!1801](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1801))
12
+
- resource/gitlab_project: Added support for the `timeouts` block, to allow configurable timeouts for creating projects ([]())
13
+
- resource/gitlab_application_settings: Added support for `housekeeping_optimize_repository_period`, and updated the description of `housekeeping_enabled` to be more descriptive of what fields were required for a successful apply ([!1777](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1777))
14
+
- datasource/gitlab_project: Added support for `shared_with_groups` which includes groups that are shared with the project ([!1795](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1795))
15
+
- datasource/gitlab_group: Added support for `shared_with_groups` which includes groups that are shared with the group ([!1769](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1769))
16
+
- datasource/gitlab_user: Added support for the `is_bot` attribute ([!1798](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1798))
17
+
- datasource/gitlab_users: Added support for the `is_bot` attribute ([!1798](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1798))
18
+
19
+
BUG FIXES:
20
+
21
+
- resource/gitlab_pipeline_schedule_variable: Fixed an issue where deleting the pipeline associated to the variable outside of terraform would cause the resource to be stuck in an error state ([!1796](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1796))
22
+
- resource/gitlab_project_hook: Fixed an issue where changing the URL of a webhook would delete the associated `token`. Changing the URL will now force a new webhook to be created ([!1794](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1794))
23
+
24
+
## 16.7.0 (2024-01-08)
2
25
3
26
This release was tested against GitLab 16.5, 16.6, and 16.7 for both CE and EE
Copy file name to clipboardExpand all lines: docs/data-sources/group.md
+12
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,18 @@ data "gitlab_group" "foo" {
52
52
-`runners_token` (String, Sensitive) The group level registration token to use during runner setup.
53
53
-`shared_runners_minutes_limit` (Number) Can be set by administrators only. Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.
54
54
-`shared_runners_setting` (String) Enable or disable shared runners for a group’s subgroups and projects. Valid values are: `enabled`, `disabled_and_overridable`, `disabled_and_unoverridable`, `disabled_with_override`.
55
+
-`shared_with_groups` (List of Object) Describes groups which have access shared to this group. (see [below for nested schema](#nestedatt--shared_with_groups))
55
56
-`visibility_level` (String) Visibility level of the group. Possible values are `private`, `internal`, `public`.
56
57
-`web_url` (String) Web URL of the group.
57
58
-`wiki_access_level` (String) The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are `disabled`, `private`, `enabled`.
Copy file name to clipboardExpand all lines: docs/data-sources/project.md
+12
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,7 @@ data "gitlab_project" "example" {
89
89
-`restrict_user_defined_variables` (Boolean) Allow only users with the Maintainer role to pass user-defined variables when triggering a pipeline.
90
90
-`runners_token` (String, Sensitive) Registration token to use during runner setup.
91
91
-`security_and_compliance_access_level` (String) Set the security and compliance access level. Valid values are `disabled`, `private`, `enabled`.
92
+
-`shared_with_groups` (List of Object) Describes groups which have access shared to this project. (see [below for nested schema](#nestedatt--shared_with_groups))
92
93
-`snippets_access_level` (String) Set the snippets access level. Valid values are `disabled`, `private`, `enabled`.
93
94
-`snippets_enabled` (Boolean) Enable snippets for the project.
94
95
-`squash_commit_template` (String) Template used to create squash commit message in merge requests. (Introduced in GitLab 14.6.)
-`default_project_visibility` (String) What visibility level new projects receive. Can take private, internal and public as a parameter.
89
89
-`default_projects_limit` (Number) Project limit per user.
90
90
-`default_snippet_visibility` (String) What visibility level new snippets receive. Can take private, internal and public as a parameter.
91
-
-`delayed_group_deletion` (Boolean) Enable delayed group deletion. Introduced in GitLab 15.0. From GitLab 15.1, disables and locks the group-level setting for delayed protect deletion when set to false.
92
-
-`delayed_project_deletion` (Boolean) Enable delayed project deletion by default in new groups. From GitLab 15.1, can only be enabled when delayed_group_deletion is true.
93
91
-`delete_inactive_projects` (Boolean) Enable inactive project deletion feature. Introduced in GitLab 14.10. Became operational in GitLab 15.0 (with feature flag inactive_projects_deletion).
94
-
-`deletion_adjourned_period` (Number) The number of days to wait before deleting a project or group that is marked for deletion. Value must be between 1 and 90. From GitLab 15.1, a hook on deletion_adjourned_period sets the period to 1 on every update, and sets both delayed_project_deletion and delayed_group_deletion to false if the period is 0.
92
+
-`deletion_adjourned_period` (Number) The number of days to wait before deleting a project or group that is marked for deletion. Value must be between 1 and 90.
95
93
-`diff_max_files` (Number) Maximum files in a diff.
96
94
-`diff_max_lines` (Number) Maximum lines in a diff.
97
95
-`diff_max_patch_bytes` (Number) Maximum diff patch size, in bytes.
-`help_text` (String) GitLab server administrator information.
162
160
-`hide_third_party_offers` (Boolean) Do not display offers from third parties in GitLab.
163
161
-`home_page_url` (String) Redirect to this URL when not logged in.
164
-
-`housekeeping_enabled` (Boolean) (If enabled, requires: housekeeping_bitmaps_enabled, housekeeping_full_repack_period, housekeeping_gc_period, and housekeeping_incremental_repack_period) Enable or disable Git housekeeping.
165
-
-`housekeeping_full_repack_period` (Number) Number of Git pushes after which an incremental git repack is run.
166
-
-`housekeeping_gc_period` (Number) Number of Git pushes after which git gc is run.
167
-
-`housekeeping_incremental_repack_period` (Number) Number of Git pushes after which an incremental git repack is run.
162
+
-`housekeeping_enabled` (Boolean) Enable or disable Git housekeeping.
163
+
If enabled, requires either housekeeping_optimize_repository_period OR housekeeping_bitmaps_enabled, housekeeping_full_repack_period, housekeeping_gc_period, and housekeeping_incremental_repack_period.
164
+
Options housekeeping_bitmaps_enabled, housekeeping_full_repack_period, housekeeping_gc_period, and housekeeping_incremental_repack_period are deprecated. Use housekeeping_optimize_repository_period instead.
165
+
-`housekeeping_full_repack_period` (Number, Deprecated) Number of Git pushes after which an incremental git repack is run.
166
+
-`housekeeping_gc_period` (Number, Deprecated) Number of Git pushes after which git gc is run.
167
+
-`housekeeping_incremental_repack_period` (Number, Deprecated) Number of Git pushes after which an incremental git repack is run.
168
+
-`housekeeping_optimize_repository_period` (Number) Number of Git pushes after which an incremental git repack is run.
168
169
-`html_emails_enabled` (Boolean) Enable HTML emails.
-`close_issue` (Boolean) Enable notifications for closed issues. Can only be used when `level` is `custom`.
36
+
-`close_merge_request` (Boolean) Enable notifications for closed merge requests. Can only be used when `level` is `custom`.
37
+
-`failed_pipeline` (Boolean) Enable notifications for failed pipelines. Can only be used when `level` is `custom`.
38
+
-`fixed_pipeline` (Boolean) Enable notifications for fixed pipelines. Can only be used when `level` is `custom`.
39
+
-`issue_due` (Boolean) Enable notifications for due issues. Can only be used when `level` is `custom`.
40
+
-`level` (String) The level of the notification. Valid values are: `disabled`, `participating`, `watch`, `global`, `mention`, `custom`.
41
+
-`merge_merge_request` (Boolean) Enable notifications for merged merge requests. Can only be used when `level` is `custom`.
42
+
-`merge_when_pipeline_succeeds` (Boolean) Enable notifications for merged merge requests when the pipeline succeeds. Can only be used when `level` is `custom`.
43
+
-`moved_project` (Boolean) Enable notifications for moved projects. Can only be used when `level` is `custom`.
44
+
-`new_issue` (Boolean) Enable notifications for new issues. Can only be used when `level` is `custom`.
45
+
-`new_merge_request` (Boolean) Enable notifications for new merge requests. Can only be used when `level` is `custom`.
46
+
-`new_note` (Boolean) Enable notifications for new notes on merge requests. Can only be used when `level` is `custom`.
47
+
-`push_to_merge_request` (Boolean) Enable notifications for push to merge request branches. Can only be used when `level` is `custom`.
48
+
-`reassign_issue` (Boolean) Enable notifications for issue reassignments. Can only be used when `level` is `custom`.
49
+
-`reassign_merge_request` (Boolean) Enable notifications for merge request reassignments. Can only be used when `level` is `custom`.
50
+
-`reopen_issue` (Boolean) Enable notifications for reopened issues. Can only be used when `level` is `custom`.
51
+
-`reopen_merge_request` (Boolean) Enable notifications for reopened merge requests. Can only be used when `level` is `custom`.
52
+
-`success_pipeline` (Boolean) Enable notifications for successful pipelines. Can only be used when `level` is `custom`.
53
+
54
+
### Read-Only
55
+
56
+
-`id` (String) The ID of the resource.This is a static value named gitlab
57
+
58
+
## Import
59
+
60
+
Import is supported using the following syntax:
61
+
62
+
```shell
63
+
# Note: You can import a global notification state using "gitlab" as the ID.
64
+
# The ID will always be gitlab, because the global notificatio only exists
Copy file name to clipboardExpand all lines: docs/resources/project.md
+10
Original file line number
Diff line number
Diff line change
@@ -223,6 +223,7 @@ This attribute is only used during resource creation, thus changes are suppresse
223
223
-`tags` (Set of String) The list of tags for a project; put array of tags, that should be finally assigned to a project. Use topics instead.
224
224
-`template_name` (String) When used without use_custom_template, name of a built-in project template. When used with use_custom_template, name of a custom project template. This option is mutually exclusive with `template_project_id`.
225
225
-`template_project_id` (Number) When used with use_custom_template, project ID of a custom project template. This is preferable to using template_name since template_name may be ambiguous (enterprise edition). This option is mutually exclusive with `template_name`. See `gitlab_group_project_file_template` to set a project as a template project. If a project has not been set as a template, using it here will result in an error.
226
+
-`timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
226
227
-`topics` (Set of String) The list of topics for the project.
227
228
-`use_custom_template` (Boolean) Use either custom instance or group (with group_with_project_templates_id) project template (enterprise edition).
228
229
~> When using a custom template, [Group Tokens won't work](https://docs.gitlab.com/15.7/ee/user/project/settings/import_export_troubleshooting.html#import-using-the-rest-api-fails-when-using-a-group-access-token). You must use a real user's Personal Access Token.
@@ -276,6 +277,15 @@ Optional:
276
277
-`prevent_secrets` (Boolean) GitLab will reject any files that are likely to contain secrets.
277
278
-`reject_unsigned_commits` (Boolean) Reject commit when it’s not signed through GPG.
0 commit comments