diff --git a/master.cfg b/master.cfg index ef257f2..b74c3c7 100644 --- a/master.cfg +++ b/master.cfg @@ -77,6 +77,17 @@ c["schedulers"].append( # what steps, and which workers can execute them. Note that any particular build will # 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() # check out the source if GITEA_SECRET: @@ -84,7 +95,6 @@ if GITEA_SECRET: steps.Gitea( repourl="https://gitea.parrrate.ru/PTV/radn-rs.git", mode="incremental", - codebase="radn-rs", ) ) else: