customize
This commit is contained in:
parent
cd1560cb40
commit
7238b65496
20
master.cfg
20
master.cfg
@ -43,7 +43,7 @@ c['protocols'] = {'pb': {'port': os.environ.get("BUILDBOT_WORKER_PORT", 9989)}}
|
|||||||
|
|
||||||
c['change_source'] = []
|
c['change_source'] = []
|
||||||
c['change_source'].append(changes.GitPoller(
|
c['change_source'].append(changes.GitPoller(
|
||||||
'git://gitea.parrrate.ru/PTV/radn-rs.git',
|
'https://gitea.parrrate.ru/PTV/radn-rs.git',
|
||||||
workdir='gitpoller-workdir', branch='master',
|
workdir='gitpoller-workdir', branch='master',
|
||||||
pollinterval=300))
|
pollinterval=300))
|
||||||
|
|
||||||
@ -71,6 +71,7 @@ c['schedulers'].append(schedulers.ForceScheduler(
|
|||||||
factory = util.BuildFactory()
|
factory = util.BuildFactory()
|
||||||
# check out the source
|
# check out the source
|
||||||
factory.addStep(steps.Git(repourl='https://gitea.parrrate.ru/PTV/radn-rs.git', mode='incremental'))
|
factory.addStep(steps.Git(repourl='https://gitea.parrrate.ru/PTV/radn-rs.git', mode='incremental'))
|
||||||
|
# factory.addStep(steps.Gitea(repourl='https://gitea.parrrate.ru/PTV/radn-rs.git', mode='incremental'))
|
||||||
# run the tests (note that this will require that 'trial' is installed)
|
# run the tests (note that this will require that 'trial' is installed)
|
||||||
factory.addStep(steps.ShellCommand(command=["cargo", "test"]))
|
factory.addStep(steps.ShellCommand(command=["cargo", "test"]))
|
||||||
|
|
||||||
@ -86,7 +87,9 @@ c['builders'].append(
|
|||||||
# pushed to these targets. buildbot/reporters/*.py has a variety to choose from,
|
# pushed to these targets. buildbot/reporters/*.py has a variety to choose from,
|
||||||
# like IRC bots.
|
# like IRC bots.
|
||||||
|
|
||||||
c['services'] = []
|
c['services'] = [
|
||||||
|
# reporters.GiteaStatusPush('https://example.com', "SECRET", verbose=True),
|
||||||
|
]
|
||||||
|
|
||||||
####### PROJECT IDENTITY
|
####### PROJECT IDENTITY
|
||||||
|
|
||||||
@ -106,6 +109,19 @@ c['buildbotURL'] = os.environ.get("BUILDBOT_WEB_URL", "http://localhost:8010/")
|
|||||||
# minimalistic config to activate new web UI
|
# minimalistic config to activate new web UI
|
||||||
c['www'] = dict(port=os.environ.get("BUILDBOT_WEB_PORT", 8010),
|
c['www'] = dict(port=os.environ.get("BUILDBOT_WEB_PORT", 8010),
|
||||||
plugins=dict(waterfall_view={}, console_view={}))
|
plugins=dict(waterfall_view={}, console_view={}))
|
||||||
|
c['www'] = {
|
||||||
|
'port': os.environ.get("BUILDBOT_WEB_PORT", 8010),
|
||||||
|
'plugins': {
|
||||||
|
'waterfall_view': {},
|
||||||
|
'console_view': {},
|
||||||
|
},
|
||||||
|
# 'change_hook_dialects': {
|
||||||
|
# 'gitea': {
|
||||||
|
# 'secret': '<SecretToEnterInGitea>',
|
||||||
|
# 'onlyIncludePushCommit': True,
|
||||||
|
# }
|
||||||
|
# },
|
||||||
|
}
|
||||||
|
|
||||||
####### DB URL
|
####### DB URL
|
||||||
|
|
||||||
|
2
master/Dockerfile
Normal file
2
master/Dockerfile
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
FROM buildbot/buildbot-master:master
|
||||||
|
RUN pip3 install buildbot_gitea
|
@ -1,7 +1,8 @@
|
|||||||
version: '2'
|
version: '2'
|
||||||
services:
|
services:
|
||||||
buildbot:
|
buildbot:
|
||||||
image: buildbot/buildbot-master:master
|
image: "buildbot-master-parrrate"
|
||||||
|
build: ../master
|
||||||
env_file:
|
env_file:
|
||||||
- db.env
|
- db.env
|
||||||
environment:
|
environment:
|
||||||
@ -24,7 +25,7 @@ services:
|
|||||||
- 5432
|
- 5432
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
image: "buildbot-worker-rust"
|
image: "buildbot-worker-parrrate-rust"
|
||||||
build: ../worker
|
build: ../worker
|
||||||
environment:
|
environment:
|
||||||
BUILDMASTER: buildbot
|
BUILDMASTER: buildbot
|
||||||
|
Loading…
Reference in New Issue
Block a user