customize
This commit is contained in:
parent
c260c85855
commit
f5f71dc0cc
12
master.cfg
12
master.cfg
@ -77,6 +77,17 @@ c["schedulers"].append(
|
|||||||
# what steps, and which workers can execute them. Note that any particular build will
|
# what steps, and which workers can execute them. Note that any particular build will
|
||||||
# only take place on one worker.
|
# only take place on one worker.
|
||||||
|
|
||||||
|
all_repositories = {
|
||||||
|
r"https://gitea.parrrate.ru/PTV/radn-rs.git": "radn-rs",
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
def codebaseGenerator(chdict):
|
||||||
|
return all_repositories.get(chdict["repository"])
|
||||||
|
|
||||||
|
|
||||||
|
c["codebaseGenerator"] = codebaseGenerator
|
||||||
|
|
||||||
factory = util.BuildFactory()
|
factory = util.BuildFactory()
|
||||||
# check out the source
|
# check out the source
|
||||||
if GITEA_SECRET:
|
if GITEA_SECRET:
|
||||||
@ -84,7 +95,6 @@ if GITEA_SECRET:
|
|||||||
steps.Gitea(
|
steps.Gitea(
|
||||||
repourl="https://gitea.parrrate.ru/PTV/radn-rs.git",
|
repourl="https://gitea.parrrate.ru/PTV/radn-rs.git",
|
||||||
mode="incremental",
|
mode="incremental",
|
||||||
codebase="radn-rs",
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user