Skip to content

Commit d37afa7

Browse files
Update docs for v16.9.1 release
1 parent 6138b5a commit d37afa7

11 files changed

+31
-2
lines changed

CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## 16.9.0 (2024-02-15)
2+
3+
This release was tested against GitLab 16.7, 16.8, and 16.9 for both CE and EE
4+
5+
IMPROVEMENTS:
6+
- resource/gitlab_project_variable: added support for `description` ([!1827](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1827))
7+
- resource/gitlab_group_variable: added support for `description` ([!1827](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1827))
8+
- resource/gitlab_project: added support for `ci_restrict_pipeline_cancellation_role` ([!1825](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1825))
9+
- datasource/gitlab_project_variable: added support for `description` ([!1827](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1827))
10+
- datasource/gitlab_project_variables: added support for `description` ([!1827](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1827))
11+
- datasource/gitlab_group_variable: added support for `description` ([!1827](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1827))
12+
- datasource/gitlab_group_variables: added support for `description` ([!1827](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1827))
13+
- datasource/gitlab_project: added support for `ci_restrict_pipeline_cancellation_role` ([!1825](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1825))
14+
- datasource/gitlab_projects: added support for `ci_restrict_pipeline_cancellation_role` ([!1825](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1825))
15+
16+
BUG FIXES:
17+
18+
- resource/gitlab_project_protected_environment: Fixed an issue where using characters in the project name that required encoding (such as "/") would cause an error ([!1835](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1835))
19+
- resource/application_settings: Fixed an issue where elasticsearch namespace and project IDs accepted a list of strings instead of a list of integers. Providing a list of integers would cause a provider error, rendering the attributes unusable. ([!1824](https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/merge_requests/1824))
20+
121
## 16.8.1 (2024-01-24)
222

323
This release was tested against GitLab 16.6, 16.7, and 16.8 for both CE and EE

docs/data-sources/group_variable.md

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ data "gitlab_group_variable" "bar" {
4343

4444
### Read-Only
4545

46+
- `description` (String) The description of the variable.
4647
- `id` (String) The ID of this resource.
4748
- `masked` (Boolean) If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
4849
- `protected` (Boolean) If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.

docs/data-sources/group_variables.md

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ data "gitlab_group_variables" "staging_vars" {
4848

4949
Read-Only:
5050

51+
- `description` (String)
5152
- `environment_scope` (String)
5253
- `group` (String)
5354
- `key` (String)

docs/data-sources/project.md

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ data "gitlab_project" "example" {
4949
- `build_timeout` (Number) The maximum amount of time, in seconds, that a job can run.
5050
- `builds_access_level` (String) Set the builds access level. Valid values are `disabled`, `private`, `enabled`.
5151
- `ci_config_path` (String) CI config file path for the project.
52+
- `ci_restrict_pipeline_cancellation_role` (String) The role required to cancel a pipeline or job. Introduced in GitLab 16.8. Premium and Ultimate only. Valid values are `developer`, `maintainer`, `no one`
5253
- `ci_separated_caches` (Boolean) Use separate caches for protected branches.
5354
- `container_expiration_policy` (List of Object) Set the image cleanup policy for this project. **Note**: this field is sometimes named `container_expiration_policy_attributes` in the GitLab Upstream API. (see [below for nested schema](#nestedatt--container_expiration_policy))
5455
- `container_registry_access_level` (String) Set visibility of container registry, for this project. Valid values are `disabled`, `private`, `enabled`.

docs/data-sources/project_variable.md

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ data "gitlab_project_variable" "bar" {
4343

4444
### Read-Only
4545

46+
- `description` (String) The description of the variable.
4647
- `id` (String) The ID of this resource.
4748
- `masked` (Boolean) If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
4849
- `protected` (Boolean) If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.

docs/data-sources/project_variables.md

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ data "gitlab_project_variables" "staging_vars" {
4848

4949
Read-Only:
5050

51+
- `description` (String)
5152
- `environment_scope` (String)
5253
- `key` (String)
5354
- `masked` (Boolean)

docs/data-sources/projects.md

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ Read-Only:
9696
- `ci_config_path` (String)
9797
- `ci_default_git_depth` (Number)
9898
- `ci_forward_deployment_enabled` (Boolean)
99+
- `ci_restrict_pipeline_cancellation_role` (String)
99100
- `container_expiration_policy` (List of Object) (see [below for nested schema](#nestedobjatt--projects--container_expiration_policy))
100101
- `container_registry_access_level` (String)
101102
- `container_registry_enabled` (Boolean)

docs/resources/application_settings.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ resource "gitlab_application_settings" "this" {
118118
- `elasticsearch_limit_indexing` (Boolean) Limit Elasticsearch to index certain namespaces and projects.
119119
- `elasticsearch_max_bulk_concurrency` (Number) Maximum concurrency of Elasticsearch bulk requests per indexing operation. This only applies to repository indexing operations.
120120
- `elasticsearch_max_bulk_size_mb` (Number) Maximum size of Elasticsearch bulk indexing requests in MB. This only applies to repository indexing operations.
121-
- `elasticsearch_namespace_ids` (List of String) The namespaces to index via Elasticsearch if elasticsearch_limit_indexing is enabled.
121+
- `elasticsearch_namespace_ids` (List of Number) The namespaces to index via Elasticsearch if elasticsearch_limit_indexing is enabled.
122122
- `elasticsearch_password` (String, Sensitive) The password of your Elasticsearch instance.
123-
- `elasticsearch_project_ids` (List of String) The projects to index via Elasticsearch if elasticsearch_limit_indexing is enabled.
123+
- `elasticsearch_project_ids` (List of Number) The projects to index via Elasticsearch if elasticsearch_limit_indexing is enabled.
124124
- `elasticsearch_search` (Boolean) Enable Elasticsearch search.
125125
- `elasticsearch_url` (List of String) The URL to use for connecting to Elasticsearch. Use a comma-separated list to support cluster (for example, http://localhost:9200, http://localhost:9201).
126126
- `elasticsearch_username` (String) The username of your Elasticsearch instance.

docs/resources/group_variable.md

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ resource "gitlab_group_variable" "example" {
3737

3838
### Optional
3939

40+
- `description` (String) The description of the variable.
4041
- `environment_scope` (String) The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
4142
- `masked` (Boolean) If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
4243
- `protected` (Boolean) If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.

docs/resources/project.md

+1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ resource "gitlab_project" "import_private" {
153153
- `ci_config_path` (String) Custom Path to CI config file.
154154
- `ci_default_git_depth` (Number) Default number of revisions for shallow cloning.
155155
- `ci_forward_deployment_enabled` (Boolean) When a new deployment job starts, skip older deployment jobs that are still pending.
156+
- `ci_restrict_pipeline_cancellation_role` (String) The role required to cancel a pipeline or job. Introduced in GitLab 16.8. Premium and Ultimate only. Valid values are `developer`, `maintainer`, `no one`
156157
- `ci_separated_caches` (Boolean) Use separate caches for protected branches.
157158
- `container_expiration_policy` (Block List, Max: 1) Set the image cleanup policy for this project. **Note**: this field is sometimes named `container_expiration_policy_attributes` in the GitLab Upstream API. (see [below for nested schema](#nestedblock--container_expiration_policy))
158159
- `container_registry_access_level` (String) Set visibility of container registry, for this project. Valid values are `disabled`, `private`, `enabled`.

docs/resources/project_variable.md

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ resource "gitlab_project_variable" "example" {
3838

3939
### Optional
4040

41+
- `description` (String) The description of the variable.
4142
- `environment_scope` (String) The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
4243
- `masked` (Boolean) If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
4344
- `protected` (Boolean) If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.

0 commit comments

Comments
 (0)