소스 검색

change hook settings

covid-videoplattform
부모
커밋
2a1d5cb904
2개의 변경된 파일12개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -0
      defaults/main.yaml
  2. +9
    -1
      templates/buildbot/master.cfg.j2

+ 3
- 0
defaults/main.yaml 파일 보기

@@ -11,3 +11,6 @@ buildbot_builders: {}

buildbot_hello_world_example: true
buildbot_local_worker: true

buildbot_github_change_hook: false
buildbot_gitea_change_hook: false

+ 9
- 1
templates/buildbot/master.cfg.j2 파일 보기

@@ -30,7 +30,15 @@ c['www'] = dict(
badges={"left_pad": 0, "right_pad": 0, "border_radius": 3, "style": "badgeio"},
),
change_hook_dialects={
'github': {}
{% if buildbot_github_change_hook %}
'github': {},
{% endif %}
{% if buildbot_gitea_change_hook %}
'gitea': {
'secret': '{{buildbot_gitea_webhook_secret}}',
'onlyIncludePushCommit': False,
},
{% endif %}
},
)



불러오는 중...
취소
저장