public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/buildbot] epel10.2: Update to 2.8.3 (#1776032)
@ 2026-10-09 14:34 Neal Gompa
  0 siblings, 0 replies; 2+ messages in thread
From: Neal Gompa @ 2026-10-09 14:34 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/buildbot
Branch : epel10.2
Commit : 04dea7d645edc43942350dc2e200ac03503d9349
Author : Neal Gompa <ngompa13@gmail.com>
Date   : 2020-08-23T09:04:08-04:00
Stats  : +34/-14 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/buildbot/c/04dea7d645edc43942350dc2e200ac03503d9349?branch=epel10.2

Log:
Update to 2.8.3 (#1776032)

---
diff --git a/.gitignore b/.gitignore
index ffcf28b..0d1080b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -76,3 +76,12 @@ buildbot-0.7.12.tar.gz
 /buildbot-waterfall-view-2.5.1.tar.gz
 /buildbot-worker-2.5.1.tar.gz
 /buildbot-www-2.5.1.tar.gz
+/buildbot-2.8.3.tar.gz
+/buildbot-badges-2.8.3.tar.gz
+/buildbot-console-view-2.8.3.tar.gz
+/buildbot-grid-view-2.8.3.tar.gz
+/buildbot-pkg-2.8.3.tar.gz
+/buildbot-waterfall-view-2.8.3.tar.gz
+/buildbot-worker-2.8.3.tar.gz
+/buildbot-wsgi-dashboards-2.8.3.tar.gz
+/buildbot-www-2.8.3.tar.gz

diff --git a/buildbot.spec b/buildbot.spec
index 8611687..a701928 100644
--- a/buildbot.spec
+++ b/buildbot.spec
@@ -8,8 +8,8 @@
 %bcond_with docs
 
 Name:           buildbot
-Version:        2.5.1
-Release:        4%{?dist}
+Version:        2.8.3
+Release:        1%{?dist}
 
 Summary:        Build/test automation system
 License:        GPLv2
@@ -20,8 +20,10 @@ Source2:        %{pypi_source buildbot-www}
 Source3:        %{pypi_source buildbot-waterfall-view}
 Source4:        %{pypi_source buildbot-grid-view}
 Source5:        %{pypi_source buildbot-console-view}
+Source6:        %{pypi_source buildbot-badges}
+Source7:        %{pypi_source buildbot-wsgi-dashboards}
 # Build-time only component for buildbot
-Source6:        %{pypi_source buildbot-pkg}
+Source8:        %{pypi_source buildbot-pkg}
 
 BuildArch:      noarch
 
@@ -34,7 +36,7 @@ BuildRequires:  python3dist(twisted) >= 17.9
 BuildRequires:  python3dist(jinja2) >= 2.1
 BuildRequires:  python3dist(zope.interface) >= 4.1.1
 BuildRequires:  python3dist(future)
-BuildRequires:  python3dist(sqlalchemy) >= 0.8
+BuildRequires:  python3dist(sqlalchemy) >= 1.2.0
 BuildRequires:  python3dist(sqlalchemy-migrate) >= 0.9
 BuildRequires:  python3dist(python-dateutil) >= 1.5
 BuildRequires:  python3dist(txaio) >= 2.2.2
@@ -147,7 +149,7 @@ Summary:        Buildbot documentation
 %endif
 
 %prep
-%setup -q -b0 -b1 -b2 -b3 -b4 -b5 -b6
+%setup -q -b0 -b1 -b2 -b3 -b4 -b5 -b6 -b7 -b8
 
 
 %build
@@ -170,7 +172,7 @@ export BUILDBOT_VERSION=%{version}
 # So that other modules can use buildbot-pkg import
 export PYTHONPATH=%{_builddir}/%{name}-%{version}/build/lib:%{_builddir}/%{name}-pkg-%{version}/build/lib
 
-bbweb_components=(pkg www waterfall-view grid-view console-view)
+bbweb_components=(pkg www waterfall-view grid-view console-view badges wsgi-dashboards)
 
 for bbweb_component in ${bbweb_components[@]}; do
 	pushd ../%{name}-${bbweb_component}-%{version}
@@ -188,7 +190,7 @@ export BUILDBOT_VERSION=%{version}
 # So that other modules can use buildbot-pkg import
 export PYTHONPATH=%{_builddir}/%{name}-%{version}/build/lib:%{_builddir}/%{name}-pkg-%{version}/build/lib
 
-bbweb_components=(www waterfall-view grid-view console-view)
+bbweb_components=(www waterfall-view grid-view console-view badges wsgi-dashboards)
 
 for bbweb_component in ${bbweb_components[@]}; do
 	pushd ../%{name}-${bbweb_component}-%{version}
@@ -246,6 +248,10 @@ trial buildbot.test
 %{python3_sitelib}/buildbot_grid_view-*egg-info/
 %{python3_sitelib}/buildbot_console_view/
 %{python3_sitelib}/buildbot_console_view-*egg-info/
+%{python3_sitelib}/buildbot_badges/
+%{python3_sitelib}/buildbot_badges-*egg-info/
+%{python3_sitelib}/buildbot_wsgi_dashboards/
+%{python3_sitelib}/buildbot_wsgi_dashboards-*egg-info/
 
 %if %{with docs}
 %files doc
@@ -253,6 +259,9 @@ trial buildbot.test
 %endif
 
 %changelog
+* Sun Aug 23 2020 Neal Gompa <ngompa13@gmail.com> - 2.8.3-1
+- Update to 2.8.3 (#1776032)
+
 * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
 

diff --git a/sources b/sources
index 5e602b9..bbcfa07 100644
--- a/sources
+++ b/sources
@@ -1,7 +1,9 @@
-SHA512 (buildbot-2.5.1.tar.gz) = cf6379bfff28f5498f5ebb509897e5566118b2d5fe4ec6ef309604098e7592d78ceba40fc9f207c43d6bc103b37606fe69c427b96fe348ae77d1738770193e70
-SHA512 (buildbot-console-view-2.5.1.tar.gz) = 7ee96a1d976de45948685d25527957ceec141695d9e7360d19ca90901f231baeaa102c82c072d2f6d093e2575a31b8e89401bfdbf8c24c9ff076b167d2509f20
-SHA512 (buildbot-grid-view-2.5.1.tar.gz) = 46f9d0df6f6f2dde2866922ef6e84725c55b5bc9772c479753a588796dbaa5364223bfc2472bc55de8c047e2cf20c916e82186a01a90724f8615742fed6e5385
-SHA512 (buildbot-pkg-2.5.1.tar.gz) = f57a1a4a8d9949a232e46d264f2ad356b068971b0eb2d9be768c097c63d80d65ee243d1084a74c8ab58d9f42807a2034931b4e3f0b6dab50950ade507e3d28f1
-SHA512 (buildbot-waterfall-view-2.5.1.tar.gz) = f53d7c42c88873d1d9919b932d937fe9e1c3e1e1ca2f059f4d1156a9ab48685320112e2bcc3a839b3c486b12ad21a52181ecf49d1faa754b08047404c675ee8f
-SHA512 (buildbot-worker-2.5.1.tar.gz) = 62c15c7bd659a187675a3a630c6669e5efbec7d05a3f769fc66860998f719a1424609d890cf9898e840511fa1c860eb87dd54adc626eb08cccd30e0df418248a
-SHA512 (buildbot-www-2.5.1.tar.gz) = 2cfd81bd30f5bd29962424de4a927f69e63b7d913ba4c270d00059eedbe8b9dba072eacf7163b72af8a3025e395a708f82f010e2d33777667a1eb5fcae06ec5c
+SHA512 (buildbot-2.8.3.tar.gz) = e0b3044d05d0c2f7194202aa7ac067ba5bcbaae671214e4f480ebfe4990cf449a128572261d63faa937c965a8583df8287ca96aec960c79d1a215d37333e55b7
+SHA512 (buildbot-badges-2.8.3.tar.gz) = 7c09aedffbffcfb95960b7a05efb38b6f3b1d1875b94f4518f7d745d7c400b579c9452632ce0f9731452e389a36f076e6f361cf274faf1fa511e8a569df4a8d6
+SHA512 (buildbot-console-view-2.8.3.tar.gz) = f7cffb3e8956290dbabc90a4551d55799b86d1658671945b5b4fc9dde2c303c5dcecc4d826f8ce059c34b7f6a22e10900fef9ba04ed8edc942e9c2135876c6b3
+SHA512 (buildbot-grid-view-2.8.3.tar.gz) = 6a2573a06d1071f5d3af0c37bdf35206f3eeeec1eec0cd262876529345867c8a498581898d9db94bf59d40a8be551ab41dd54487efb02050a0d0574cb12930d9
+SHA512 (buildbot-pkg-2.8.3.tar.gz) = f9365f0309a691bb4e56e40234f2114a97dfa596f7838e48e836030665e6c832c31a2627a5492ed177433cede7d2ad7cc6a3eeed9966c77160ebcfa5f9eac0c4
+SHA512 (buildbot-waterfall-view-2.8.3.tar.gz) = 941a3fa51d12a37c497a1f80d148bdca80de9e7c8bc0b0667b2e78f2d366b9396162446812b6f88e022957767e0c64d3b9f7cb07a1bb7cf238ddb554fdb07146
+SHA512 (buildbot-worker-2.8.3.tar.gz) = 9f2786b080ada5d618bd77f962a3705e92dafbe05e7866d85530ccf17644f3891b0dc57be93e1ac7602239287b4e8608cc6c82759989154a9ad4499d71785830
+SHA512 (buildbot-wsgi-dashboards-2.8.3.tar.gz) = 2128c51ae4f187da9187097896dffbadd77107eb7e8da40311252cf2cc31116bd8f7439d22ae59d53f36bce009728f250e14aba2cbf2e5a1d4edae8b4ac87217
+SHA512 (buildbot-www-2.8.3.tar.gz) = 0304138473a5c98f722596f23a1757b4d21d6e6799a214d5287df2a5ada5b11511251977bb46aa6ad74effcdc624dd0b49b96eb47e5b1eccd3409b406724b668

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rpms/buildbot] epel10.2: Update to 2.8.3 (#1776032)
@ 2026-10-09 14:34 Neal Gompa
  0 siblings, 0 replies; 2+ messages in thread
From: Neal Gompa @ 2026-10-09 14:34 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/buildbot
            Branch : epel10.2
            Commit : 78029764470c4b335fb99865328c11810638187c
            Author : Neal Gompa <ngompa13@gmail.com>
            Date   : 2020-08-23T09:25:01-04:00
            Stats  : +68/-0 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/buildbot/c/78029764470c4b335fb99865328c11810638187c?branch=epel10.2

            Log:
            Update to 2.8.3 (#1776032)

- Add systemd service template units for masters and workers

---
diff --git a/buildbot-master@.service b/buildbot-master@.service
new file mode 100644
index 0000000..e60d75d
--- /dev/null
+++ b/buildbot-master@.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Buildbot master %I
+Documentation=man:buildbot(1) https://docs.buildbot.net/
+ConditionDirectoryNotEmpty=/var/lib/buildbot/master/%i
+ConditionFileNotEmpty=/var/lib/buildbot/master/%i/buildbot.tac
+ConditionFileNotEmpty=/var/lib/buildbot/master/%i/master.cfg
+
+[Service]
+Type=simple
+WorkingDirectory=/var/lib/buildbot/master/%i
+PrivateTmp=true
+User=buildbot-master
+Group=buildbot-master
+ExecStart=/usr/bin/buildbot start --nodaemon
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target

diff --git a/buildbot-worker@.service b/buildbot-worker@.service
new file mode 100644
index 0000000..9484bbe
--- /dev/null
+++ b/buildbot-worker@.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Buildbot worker %I
+Documentation=man:buildbot-worker(1) https://docs.buildbot.net/
+ConditionDirectoryNotEmpty=/var/lib/buildbot/worker/%i
+ConditionFileNotEmpty=/var/lib/buildbot/worker/%i/buildbot.tac
+
+[Service]
+Type=simple
+WorkingDirectory=/var/lib/buildbot/worker/%i
+PrivateTmp=true
+User=buildbot-worker
+Group=buildbot-worker
+ExecStart=/usr/bin/buildbot-worker start --nodaemon
+
+[Install]
+WantedBy=multi-user.target

diff --git a/buildbot.spec b/buildbot.spec
index a701928..e24ce78 100644
--- a/buildbot.spec
+++ b/buildbot.spec
@@ -25,6 +25,10 @@ Source7:        %{pypi_source buildbot-wsgi-dashboards}
 # Build-time only component for buildbot
 Source8:        %{pypi_source buildbot-pkg}
 
+# Service template units for buildbot instances
+Source10:       buildbot-master@.service
+Source11:       buildbot-worker@.service
+
 BuildArch:      noarch
 
 BuildRequires:  python3-devel
@@ -68,6 +72,9 @@ BuildRequires:  python3dist(sphinx-jinja)
 BuildRequires:  python3dist(towncrier)
 %endif
 
+# For systemd units
+BuildRequires:  systemd-rpm-macros
+
 # Turns former package into a metapackage for installing everything
 Requires:       %{name}-master = %{version}
 Requires:       %{name}-worker = %{version}
@@ -214,11 +221,31 @@ popd
 # Purge windows-only files
 rm -vf %{buildroot}%{_bindir}/*windows*
 
+# Install systemd units
+mkdir -p %{buildroot}%{_unitdir}
+cp -a %{S:10} %{S:11} %{buildroot}%{_unitdir}
+mkdir -p %{buildroot}%{_sharedstatedir}/buildbot/{master,worker}
+
+
 %if %{with check}
 %check
 trial buildbot.test
 %endif
 
+%pre master
+getent group buildbot-master >/dev/null || groupadd -r buildbot-master
+getent passwd buildbot-master >/dev/null || \
+    useradd -r -g buildbot-master -d %{_sharedstatedir}/buildbot/master -s /sbin/nologin \
+    -c "Service account for the Buildbot master" buildbot-master
+exit 0
+
+%pre worker
+getent group buildbot-worker >/dev/null || groupadd -r buildbot-worker
+getent passwd buildbot-worker >/dev/null || \
+    useradd -r -g buildbot-worker -d %{_sharedstatedir}/buildbot/worker -s /sbin/nologin \
+    -c "Service account for the Buildbot worker" buildbot-worker
+exit 0
+
 %files
 # Empty because metapackage
 
@@ -229,6 +256,9 @@ trial buildbot.test
 %{_mandir}/man1/buildbot.1*
 %{python3_sitelib}/buildbot/
 %{python3_sitelib}/buildbot-*egg-info/
+%dir %{_sharedstatedir}/buildbot
+%dir %attr(-, buildbot-master, buildbot-master) %{_sharedstatedir}/buildbot/master
+%{_unitdir}/buildbot-master@.service
 
 %files worker
 %doc NEWS UPGRADING
@@ -237,6 +267,9 @@ trial buildbot.test
 %{_mandir}/man1/buildbot-worker.1*
 %{python3_sitelib}/buildbot_worker/
 %{python3_sitelib}/buildbot_worker-*egg-info/
+%dir %{_sharedstatedir}/buildbot
+%dir %attr(-, buildbot-worker, buildbot-worker) %{_sharedstatedir}/buildbot/worker
+%{_unitdir}/buildbot-worker@.service
 
 %files www
 %license COPYING
@@ -261,6 +294,7 @@ trial buildbot.test
 %changelog
 * Sun Aug 23 2020 Neal Gompa <ngompa13@gmail.com> - 2.8.3-1
 - Update to 2.8.3 (#1776032)
+- Add systemd service template units for masters and workers
 
 * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-09 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 14:34 [rpms/buildbot] epel10.2: Update to 2.8.3 (#1776032) Neal Gompa
2026-10-09 14:34 Neal Gompa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox