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: README.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,10 +38,9 @@ Using the provider
38
38
----------------------
39
39
## Fill in for each provider
40
40
41
-
Developing the Provider
42
-
---------------------------
41
+
# Developing the Provider
43
42
44
-
If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.11+ is *required*). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`.
43
+
If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.14+ is *required*).
45
44
46
45
To compile the provider, run `make build`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory.
The Terraform Provider only has acceptance tests, these can run against a gitlab instance where you have a token with administrator permissions (likely not gitlab.com).
55
+
56
+
The Terraform Provider only has acceptance tests, these can run against a gitlab instance where you have a token with administrator permissions (likely not gitlab.com).
57
57
There is excellent documentation on [how to run gitlab from docker at gitlab.com](https://docs.gitlab.com/omnibus/docker/)
58
58
59
59
In order to run the full suite of acceptance tests, export the environment variables:
@@ -66,3 +66,13 @@ and run `make testacc`.
66
66
```sh
67
67
$ make testacc
68
68
```
69
+
70
+
### Gitlab Community Edition and Gitlab Entreprise Edition
71
+
72
+
This module supports both Gitlab CE and Gitlab EE. We run tests on Gitlab EE,
73
+
but can't run them on pull requests from forks.
74
+
75
+
Features that only work on one flavour can use the following helpers as
76
+
SkipFunc: `isRunningInEE` and `isRunningInCE`. You can see an exemple of this
77
+
for [gitlab_project_push_rules](gitlab/resource_gitlab_project_push_rules_test.go)
0 commit comments