Add Buildbot builder for release tests
@@ -76,20 +76,22 @@ c['change_source'].append(GitHubPullrequestPoller(
####### SCHEDULERS
+allBuilders = ["bazel-0.16.0", "bazel-0.16.1", "bazel-release", "bazel-opt", "go-1.10.3"]
+
c['schedulers'] = []
c['schedulers'].append(schedulers.SingleBranchScheduler(
name="master",
change_filter=util.ChangeFilter(category=None, branch='master'),
- builderNames=["bazel-0.16.0", "bazel-0.16.1", "bazel-opt", "go-1.10.3"]))
+ builderNames=allBuilders))
c['schedulers'].append(schedulers.SingleBranchScheduler(
name="pull-requests",
change_filter=util.ChangeFilter(category='pull'),
- builderNames=["bazel-0.16.0", "bazel-0.16.1", "bazel-opt", "go-1.10.3"]))
+ builderNames=allBuilders))
# Allow builders to be "forced"
c['schedulers'].append(schedulers.ForceScheduler(
name="force",
- builderNames=["bazel-0.16.0", "bazel-0.16.1", "bazel-opt", "go-1.10.3"]))
+ builderNames=allBuilders))
####### BUILDERS
@@ -102,7 +104,7 @@ bazelKytheSteps.addStep(steps.ShellCommand(
env=bazelBinEnv,
haltOnFailure=True))
bazelKytheSteps.addStep(steps.ShellCommand(
- command=["bazel", "test", util.Property('bazel_flags', default=[]), "-k", "//..."],
+ command=["bazel", "test", util.Property('bazel_flags', default=[]), "-k", util.Property('bazel_target', default='//...')],
env=bazelBinEnv))
# TODO(schroederc): build as a Go 1.11+ module
@@ -140,6 +142,13 @@ c['builders'].append(
properties={'bazel_version': '0.16.1', 'bazel_flags': ['-c', 'opt']},
locks=[build_lock.access('exclusive')],
factory=bazelKytheSteps))
+c['builders'].append(
+ util.BuilderConfig(
+ name="bazel-release",
+ workernames=["local-worker"],
+ properties={'bazel_version': '0.16.1', 'bazel_flags': ['-c', 'opt', '--stamp'], 'bazel_target': '//kythe/release:release_test'},
+ locks=[build_lock.access('exclusive')],
+ factory=bazelKytheSteps))
c['builders'].append(
util.BuilderConfig(
name="go-1.10.3",
