gitlab: refined enterprise gitlab support
This commit is contained in:
parent
63c36dccd2
commit
ece9244966
3 changed files with 11 additions and 7 deletions
|
@ -23,14 +23,14 @@ class ListGitlabAutomation(ListAutomation):
|
|||
gitlab = {
|
||||
source = "gitlabhq/gitlab"
|
||||
version = "~> 3.14.0"
|
||||
{% if gitlab_url %}
|
||||
url = "{{ gitlab_url }}"
|
||||
{% endif %}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "gitlab" {
|
||||
{% if gitlab_url %}
|
||||
base_url = "{{ gitlab_url }}/api/v4/"
|
||||
{% endif %}
|
||||
token = "{{ gitlab_token }}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue