Skip to content

Commit cdba847

Browse files
committed
2 parents 5acdf36 + c28275f commit cdba847

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+3574
-578
lines changed

CHANGELOG.md

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,44 @@
1-
## 2.8.0 (Unreleased)
1+
## 2.10.0 (Unreleased)
2+
## 2.9.0 (June 01, 2020)
23

3-
* Increase MaxIdleConnsPerHost in http.Transport
4-
([GH-305])
4+
FEATURES:
5+
* **New DataSource:** `gitlab_projects`
6+
([#279](https://github.com/terraform-providers/terraform-provider-gitlab/issues/279))
7+
* **New Resource:** `gitlab_deploy_token`
8+
([#284](https://github.com/terraform-providers/terraform-provider-gitlab/issues/284))
9+
10+
ENHANCEMENTS:
11+
* Add `management_project_id` for Group and Project Clusters
12+
([#301](https://github.com/terraform-providers/terraform-provider-gitlab/issues/301))
13+
14+
## 2.8.0 (May 28, 2020)
15+
16+
FEATURES:
17+
* **New Resource:** `gitlab_group_ldap_link`
18+
([#296](https://github.com/terraform-providers/terraform-provider-gitlab/issues/296),
19+
[#316](https://github.com/terraform-providers/terraform-provider-gitlab/issues/316))
20+
21+
ENHANCEMENTS:
22+
23+
* Update resource gitlab_group_label to read labels from all pages
24+
([#302](https://github.com/terraform-providers/terraform-provider-gitlab/issues/302))
525
* Provide a way to specify client cert and key
6-
([GH-315])
26+
([#315](https://github.com/terraform-providers/terraform-provider-gitlab/issues/315))
27+
28+
BUGFIXES:
29+
* Increase MaxIdleConnsPerHost in http.Transport
30+
([#305](https://github.com/terraform-providers/terraform-provider-gitlab/issues/305))
731

832
## 2.7.0 (May 20, 2020)
933

1034
* Implement `masked` parameters for `gitlab_group_variable`
11-
([[#271](https://github.com/terraform-providers/terraform-provider-gitlab/issues/271)])
35+
([#271](https://github.com/terraform-providers/terraform-provider-gitlab/issues/271))
1236

1337
## 2.6.0 (April 08, 2020)
1438

1539
ENHANCEMENTS:
1640
* Add jira flags
17-
([[#274](https://github.com/terraform-providers/terraform-provider-gitlab/issues/274)])
41+
([#274](https://github.com/terraform-providers/terraform-provider-gitlab/issues/274))
1842

1943
## 2.5.1 (April 06, 2020)
2044

GNUmakefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ test: fmtcheck
1313
echo $(TEST) | \
1414
xargs -t -n4 go test $(TESTARGS) -timeout=30s -parallel=4
1515

16+
testacc-prepareenv:
17+
MAKE_TARGET=testacc GITLAB_TOKEN=ACCTEST LC_ALL=en_US sh -c "'$(CURDIR)/scripts/start-gitlab.sh'"
18+
19+
testacc-cleanenv:
20+
docker stop gitlab
21+
1622
testacc: fmtcheck
1723
TF_ACC=1 go test -v $(TEST) $(TESTARGS) -timeout 40m
1824

gitlab/data_source_gitlab_project.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ func dataSourceGitlabProject() *schema.Resource {
107107
Optional: true,
108108
Computed: true,
109109
},
110+
"remove_source_branch_after_merge": {
111+
Type: schema.TypeBool,
112+
Optional: true,
113+
Computed: true,
114+
},
110115
},
111116
}
112117
}
@@ -141,5 +146,6 @@ func dataSourceGitlabProjectRead(d *schema.ResourceData, meta interface{}) error
141146
d.Set("web_url", found.WebURL)
142147
d.Set("runners_token", found.RunnersToken)
143148
d.Set("archived", found.Archived)
149+
d.Set("remove_source_branch_after_merge", found.RemoveSourceBranchAfterMerge)
144150
return nil
145151
}

0 commit comments

Comments
 (0)