'protocols': {'pb': {'port': "ssl:9989:privateKey=privkey.pem:certKey=fullchain.pem"}},
'schedulers': [ForceScheduler(
name="force",
- builderNames=["crawl","fcgisrv","ledger","npupnp","libupnpp","upmpdcli","veilid"])],
+ builderNames=["crawl","fcgisrv","ledger","npupnp","libupnpp","upmpdcli","veilid","waterslager"])],
'secretsProviders': [secrets.SecretInAFile(dirname="/var/lib/buildmaster/secrets")],
'services': [reporters.MailNotifier(
fromaddr="Humopery Buildbot <buildbot@humopery.space>",
####### waterslager
localrepo='/usr/src/bare/waterslager.git'
-# c['change_source'].append(GitPoller(
-# localrepo,
-# workdir='waterslager',
-# pollAtLaunch=True,
-# pollInterval=60*60*24))
-c['schedulers'].append(ForceScheduler(
- name="force-waterslager",
- buttonName="Run",
- builderNames=["waterslager"]))
c['schedulers'].append(SingleBranchScheduler(
name="waterslager",
change_filter=ChangeFilter(project="waterslager",branch="main"),
Git(repourl='lin0:'+localrepo),
ShellCommand(
name="lint",
- command=["cargo","clippy","--no-deps"],
- # haltOnFailure=False,
+ command=["cargo","clippy","--no-deps","--","-D","warnings"],
+ haltOnFailure=True,
workdir="build/waterslager"),
ShellCommand(
name="build waterslager",
command=["cargo","build","--release"],
haltOnFailure=True,
workdir="build/waterslager"),
- ShellCommand(
- name="copy waterslager to lin0",
- haltOnFailure=True,
- command=["scp","target/release/waterslager","lin0:~"]),
+ # ShellCommand(
+ # name="copy waterslager to lin0",
+ # haltOnFailure=True,
+ # command=["scp","target/release/waterslager","lin0:~"]),
# ShellCommand(
# name="clean build dir",
# command=["cargo","clean"]),