Просмотр исходного кода

Add public url for gitlab hookshot to autocreate webhook on gitlab instance

pull/3405/head
progrsam 2 лет назад
Родитель
Сommit
c47c9e9d84
2 измененных файлов: 2 добавлений и 0 удалений
  1. +1
    -0
      roles/custom/matrix-bridge-hookshot/defaults/main.yml
  2. +1
    -0
      roles/custom/matrix-bridge-hookshot/templates/config.yml.j2

+ 1
- 0
roles/custom/matrix-bridge-hookshot/defaults/main.yml Просмотреть файл

@@ -125,6 +125,7 @@ matrix_hookshot_gitlab_instances:


# This will be the "Secret token" you have to enter into all GitLab instances for authentication # This will be the "Secret token" you have to enter into all GitLab instances for authentication
matrix_hookshot_gitlab_webhook_secret: '' matrix_hookshot_gitlab_webhook_secret: ''
matrix_hookshot_gitlab_webhook_publicUrl: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_webhook_endpoint }}"




matrix_hookshot_figma_enabled: false matrix_hookshot_figma_enabled: false


+ 1
- 0
roles/custom/matrix-bridge-hookshot/templates/config.yml.j2 Просмотреть файл

@@ -47,6 +47,7 @@ gitlab:
instances: {{ matrix_hookshot_gitlab_instances | to_json }} instances: {{ matrix_hookshot_gitlab_instances | to_json }}
webhook: webhook:
secret: {{ matrix_hookshot_gitlab_webhook_secret | to_json }} secret: {{ matrix_hookshot_gitlab_webhook_secret | to_json }}
publicUrl: {{ matrix_hookshot_gitlab_webhook_publicUrl | to_json }}
{% endif %} {% endif %}
{% if matrix_hookshot_figma_enabled %} {% if matrix_hookshot_figma_enabled %}
figma: figma:


Загрузка…
Отмена
Сохранить