From: Mark Wielaard <mark@klomp.org>
To: buildbot@sourceware.org
Cc: Mark Wielaard <mark@klomp.org>
Subject: [PATCH] Add valgrind trunk snapshot scheduler, factory and builder
Date: Mon, 10 Apr 2023 01:28:51 +0200 [thread overview]
Message-ID: <20230409232851.3008137-1-mark@klomp.org> (raw)
---
builder/master.cfg | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/builder/master.cfg b/builder/master.cfg
index e66804b..061451d 100644
--- a/builder/master.cfg
+++ b/builder/master.cfg
@@ -668,6 +668,18 @@ valgrind_try_scheduler = schedulers.AnyBranchScheduler(
"valgrind-try-opensuseleap-x86_64"])
c['schedulers'].append(valgrind_try_scheduler)
+valgrind_snapshot_scheduler = schedulers.Periodic(
+ name="valgrind-snapshots",
+ change_filter=util.ChangeFilter(project="valgrind",
+ branch="master"),
+ branch="master",
+ periodicBuildTimer=15*60, # 15 minutes in seconds
+ onlyIfChanged=True,
+ reason="valgrind periodic project master branch snapshot",
+ builderNames=["valgrind-snapshots-trunk"])
+c['schedulers'].append(valgrind_snapshot_scheduler)
+
+
debugedit_scheduler = schedulers.SingleBranchScheduler(
name="debugedit",
change_filter=util.ChangeFilter(project="debugedit",
@@ -3931,6 +3943,19 @@ valgrind_auxchecks_step = steps.Test(
name="make auxchecks",
haltOnFailure=True)
+valgrind_make_all_docs_step = steps.Compile(
+ name="make all-docs",
+ command=["make", "-C", "docs", "all-docs"])
+valgrind_make_download_docs_step = steps.Compile(
+ name="make download-docs",
+ command=["make", "-C", "docs", "download-docs"])
+valgrind_create_output_step = steps.ShellCommand(
+ name="create output",
+ command="mkdir /home/builder/shared/output && mv ./valgrind-*.tar.bz2 /home/builder/shared/output/ && mv ./docs/html /home/builder/shared/output/ && mv ./docs/downloads/ /home/builder/shared/output/")
+valgrind_create_publish_file_step = steps.ShellCommand(
+ name="create publish file",
+ command="echo valgrind/trunk > /home/builder/shared/publish")
+
libabigail_snapshots_html_doc_builder = util.BuilderConfig(
name="libabigail-snapshots-html-doc",
collapseRequests=True,
@@ -3968,6 +3993,17 @@ valgrind_make_aux_factory.addStep(make_step)
valgrind_make_aux_factory.addStep(valgrind_auxchecks_step)
valgrind_make_aux_factory.addStep(make_distclean_step)
+# trunk snapshots
+valgrind_snapshots_trunk_factory = util.BuildFactory()
+valgrind_snapshots_trunk_factory.addStep(valgrind_git_step)
+valgrind_snapshots_trunk_factory.addStep(valgrind_autogen_step)
+valgrind_snapshots_trunk_factory.addStep(configure_step)
+valgrind_snapshots_trunk_factory.addStep(valgrind_make_all_docs_step)
+valgrind_snapshots_trunk_factory.addStep(valgrind_make_download_docs_step)
+valgrind_snapshots_trunk_factory.addStep(wait_snapshots_output_ready_step)
+valgrind_snapshots_trunk_factory.addStep(valgrind_create_output_step)
+valgrind_snapshots_trunk_factory.addStep(valgrind_create_publish_file_step)
+
valgrind_fedora_x86_64_builder = util.BuilderConfig(
name="valgrind-fedora-x86_64",
properties={'container-file':
@@ -4143,6 +4179,16 @@ valgrind_debian_testing_x86_64_builder = util.BuilderConfig(
factory=valgrind_make_check_aux_factory)
c['builders'].append(valgrind_debian_testing_x86_64_builder)
+valgrind_snapshots_trunk_builder = util.BuilderConfig(
+ name="valgrind-snapshots-trunk",
+ collapseRequests=True,
+ properties={'container-file':
+ readContainerFile('fedora-latest')},
+ workernames="snapshots",
+ tags=["valgrind-snapshots", "trunk"],
+ factory=valgrind_snapshots_trunk_factory)
+c['builders'].append(valgrind_snapshots_trunk_builder)
+
systemtap_factory = util.BuildFactory()
systemtap_factory.addStep(steps.Git(
--
2.31.1
reply other threads:[~2023-04-09 23:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230409232851.3008137-1-mark@klomp.org \
--to=mark@klomp.org \
--cc=buildbot@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).