Przeglądaj źródła

gitea checkout buildstep

covid-videoplattform
rodzic
commit
8e957774f7
1 zmienionych plików z 12 dodań i 0 usunięć
  1. +12
    -0
      templates/buildbot/master.cfg.j2

+ 12
- 0
templates/buildbot/master.cfg.j2 Wyświetl plik

@@ -20,6 +20,7 @@ c['builders'] = []
factory = util.BuildFactory()

{% for repo in builder.repos %}
{% if repo.type | default('github') == 'github' %}
factory.addStep(steps.GitHub(
name='{{repo.name}}',
repourl='{{repo.repourl}}',
@@ -27,6 +28,17 @@ factory.addStep(steps.GitHub(
workdir='{{repo.workdir}}',
alwaysUseLatest=True,
))
{% elif repo.type == 'gitea' %}
factory.addStep(steps.Gitea(
name='{{repo.name}}',
repourl='{{repo.repourl}}',
mode='incremental',
workdir='{{repo.workdir}}',
branch="master",
progress=True,
logEnviron=False,
))
{% endif %}
{% endfor %}

{% for cmd in builder.shell_commands %}


Ładowanie…
Anuluj
Zapisz