customize
This commit is contained in:
parent
efdd3f9268
commit
c8117779f8
13
master.cfg
13
master.cfg
@ -77,20 +77,19 @@ 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 = {
|
# all_repositories = {
|
||||||
r"https://gitea.parrrate.ru/PTV/radn-rs.git": "radn-rs",
|
# r"https://gitea.parrrate.ru/PTV/radn-rs.git": "radn-rs",
|
||||||
}
|
# }
|
||||||
|
|
||||||
|
|
||||||
def codebaseGenerator(chdict):
|
# def codebaseGenerator(chdict):
|
||||||
return all_repositories.get(chdict["repository"])
|
# return all_repositories.get(chdict["repository"])
|
||||||
|
|
||||||
|
|
||||||
c["codebaseGenerator"] = codebaseGenerator
|
# c["codebaseGenerator"] = codebaseGenerator
|
||||||
|
|
||||||
c["builders"] = []
|
c["builders"] = []
|
||||||
|
|
||||||
|
|
||||||
factory = util.BuildFactory()
|
factory = util.BuildFactory()
|
||||||
factory.addStep(
|
factory.addStep(
|
||||||
steps.Git(repourl="https://gitea.parrrate.ru/PTV/radn-rs.git", mode="incremental")
|
steps.Git(repourl="https://gitea.parrrate.ru/PTV/radn-rs.git", mode="incremental")
|
||||||
|
Loading…
Reference in New Issue
Block a user