Skip to content
Snippets Groups Projects
Commit 7f6853b1 authored by jurgenhaas's avatar jurgenhaas
Browse files

Get gitlab access token from evn variable

parent 7657c529
Branches
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ LOG = logging.getLogger('alerta.plugins') ...@@ -9,7 +9,7 @@ LOG = logging.getLogger('alerta.plugins')
ALERTA_URL = 'https://{{ alerta_domain }}/web' ALERTA_URL = 'https://{{ alerta_domain }}/web'
GITLAB_URL = '{{ gitlab_issue.url }}' GITLAB_URL = '{{ gitlab_issue.url }}'
GITLAB_ACCESS_TOKEN = '{{ gitlab_issue.token }}' GITLAB_ACCESS_TOKEN = '{{ lookup("env","GITLAB_ACCESS_TOKEN") }}'
class GitlabIssue(PluginBase): class GitlabIssue(PluginBase):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment