# Fedora spec initially based on upstream spec file from OBS: # https://build.opensuse.org/package/view_file/devel:openQA/openQA/openQA.spec # License: GPLv2+ # openQA has a bunch of private modules (most namespaced but a couple # not), we do not want automatic provides or requires for these # ref https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Perl # but per https://fedorahosted.org/fpc/ticket/591 , these have been # improved, and contrary to the wiki it is safe to set them first and # then call perl_default_filter, the values will be properly merged. # I tried to sell upstream on naming these properly and installing # them to the perl vendor dir, but they wouldn't bite: # https://github.com/os-autoinst/os-autoinst/issues/387 # Despite the apparently-CPAN-like name, DBIx::Class::Timestamps is # installed to openQA's private directory and should be excluded. # perl(Perl::Critic) requirements come from HashKeyQuotes.pm, which is # used only for tests, so we don't want a runtime requirement. %global __provides_exclude_from %{_datadir}/openqa/lib %global __requires_exclude perl\\((OpenQA|DBIx::Class::Timestamps|MojoDebugHandle|db_helpers|db_profiler|Perl::Critic) %{?perl_default_filter} %global github_owner os-autoinst %global github_name openQA %global github_version 4.4 %global github_commit 8cc04a251ae81a89350c79c12f760dc11036ce2e # if set, will be a post-release snapshot build, otherwise a 'normal' build %global github_date 20170130 %global shortcommit %(c=%{github_commit}; echo ${c:0:7}) # can't use linebreaks here! %global openqa_services openqa-webui.service openqa-gru.service openqa-websockets.service openqa-scheduler.service %global openqa_worker_services openqa-worker.target openqa-worker@.service openqa-slirpvde.service openqa-vde_switch.service %if %{undefined tmpfiles_create} %global tmpfiles_create() \ systemd-tmpfiles --create %{?*} >/dev/null 2>&1 || : %{nil} %endif Name: openqa Version: %{github_version} Release: 38%{?github_date:.%{github_date}git%{shortcommit}}%{?dist} Summary: OS-level automated testing framework License: GPLv2+ Url: http://os-autoinst.github.io/openQA/ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{github_name}-%{github_commit}.tar.gz # pre-generated cached assets, build with update-cache.sh. We could # install without these and let openQA generate them at run time, but # we don't for two reasons: we don't want to let a webapp rewrite # itself if avoidable (it's a security risk), and the tests don't work # without the asset cache present. This should be re-generated any # time Source0 changes. Source1: assetcache-%{github_commit}.tar.xz # Auto-duplicate jobs that die, so long as we still suffer from #1403343 # at least. It also insulates us from general wackiness... Patch0: 0001-Duplicate-jobs-on-died-as-well-as-quit.patch # Fix tests when Selenium not available # https://github.com/os-autoinst/openQA/pull/1211 Patch1: 0001-Fix-UI-test-skipping-when-modules-not-available.patch # For the httpd subpackage split in 4.3-7, needed for updates to work right Obsoletes: openqa < 4.3-7 Requires: openqa-common = %{version}-%{release} Requires: openqa-client = %{version}-%{release} Requires: perl(URI) # needed for openid support Requires: perl(LWP::Protocol::https) # needed for saving needles optimized Requires: optipng Requires: dbus # Required for postgresql support Recommends: perl(DateTime::Format::Pg) perl(DBD::Pg) # runtime requirements for server, worker and testsuite # these are Requires: in -common # FIXME: should have perl(RabbitMQ::Client) in here for the AMQP # plugin, but it's not packaged yet %define t_requires perl(DBD::SQLite) perl(DBIx::Class) perl(Config::IniFiles) perl(SQL::Translator) perl(Date::Format) perl(File::Copy::Recursive) perl(DateTime::Format::SQLite) perl(Net::OpenID::Consumer) perl(Mojolicious::Plugin::RenderFile) perl(Mojolicious::Plugin::AssetPack) perl(aliased) perl(Config::Tiny) perl(DBIx::Class::DynamicDefault) perl(DBIx::Class::Schema::Config) perl(DBIx::Class::Storage::Statistics) perl(IO::Socket::SSL) perl(Data::Dump) perl(DBIx::Class::OptimisticLocking) perl(Text::Markdown) perl(Net::DBus) perl(IPC::Run) perl(Archive::Extract) perl(CSS::Minifier::XS) perl(JavaScript::Minifier::XS) perl(Time::ParseDate) perl(Time::Piece) perl(Time::Seconds) perl(Sort::Versions) # versioned requires can't go in the t_requires macro BuildRequires: perl-generators BuildRequires: perl(Mojolicious) >= 7.18 BuildRequires: perl(Mojolicious::Plugin::AssetPack) >= 1.36 # critical bug fix BuildRequires: perl(DBIx::Class) >= 0.082801 # required for make install asset gen step, even though we already did it BuildRequires: rubygem(sass) # things required for the test suite BuildRequires: %{t_requires} BuildRequires: git BuildRequires: os-autoinst BuildRequires: perl(Test::Compile) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::MockModule) BuildRequires: perl(Test::MockObject) BuildRequires: perl(Test::Mojo) BuildRequires: perl(Test::Output) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Warnings) BuildRequires: perl(Perl::Critic) BuildRequires: perl(DBIx::Class::DeploymentHandler) BuildRequires: perl(SQL::SplitStatement) BuildRequires: perl(IPC::Cmd) BuildRequires: perl(Module::Load::Conditional) # needed for parallel test execution(?) BuildRequires: perl(CPAN::Meta::YAML) # These two are not packaged for Fedora yet; without them some tests # are skipped, but we can run a lot %ifarch %x86 x86_64 #BuildRequires: phantomjs %endif #BuildRequires: perl(Selenium::Remote::Driver) Requires(post): coreutils # Standard for packages that have systemd services BuildRequires: systemd Requires(post): systemd Requires(preun): systemd Requires(postun): systemd BuildArch: noarch %description openQA is a framework for operating system-level automated testing. It consists of three parts. This package contains the web interface, API, and scheduler. The worker component, which supervises test execution, is available in the openqa-worker package. The test engine, os-autoinst, is available in the os-autoinst package. %package common Summary: Common components for openQA server and workers Requires: %{t_requires} Requires: perl(Mojolicious) >= 7.18 Requires: perl(DBIx::Class) >= 0.082801 %description common This package contains shared resources for the openQA server and openQA workers. %package worker Summary: The openQA worker Requires: openqa-common = %{version}-%{release} Requires(post): coreutils Requires: os-autoinst >= 4.4 Requires: os-autoinst < 5 Requires: openqa-client = %{version}-%{release} Requires: qemu Requires: perl(SQL::SplitStatement) Requires(post): systemd Requires(preun): systemd Requires(postun): systemd %description worker The openQA worker manages the os-autoinst test engine. A system with openqa-worker installed can run an arbitrary number of openQA workers (as many as its hardware can support), each of which will run a single openQA test job at a time, as long as appropriate jobs for the worker are available from the server it is configured to work for. %package httpd Summary: openQA httpd (Apache) integration Requires: httpd Requires: httpd-filesystem # prior to 4.3-7, these files were part of the core package; this is # here so people who had those versions installed don't lose their # bits on update Obsoletes: openqa < 4.3-7 # Note: does not require any part of openQA as you may wish to have # Apache and openQA running on different boxes %description httpd This package contains httpd (Apache) configuration for the openQA automated testing framework. openQA runs as a self-contained http server which is expected to be reverse-proxied by a public-facing http server (rather than being accessed directly). The config snippets in this package help you configure openQA to be reverse proxied by httpd. # FIXME: maybe this should be a separate SRPM in future %package plugin-fedmsg Summary: openQA plugin for sending fedmsgs Requires: openqa >= 4.3-20 Requires: /usr/bin/fedmsg-logger %description plugin-fedmsg This package contains an openQA plugin which sends fedmsgs for certain openQA internal events. To enable it, put 'plugins = Fedmsg' in the global section of /etc/openqa/openqa.ini. The plugin uses fedmsg-logger to send messages, so fedmsg configuration determines where the message goes. Note: the certificate prefix is hard coded to 'openqa' for now, to send signed messages you must have an 'openqa' cert for fedmsg. %package client Summary: Client tools for remote openQA management Requires: perl(Config::IniFiles) Requires: perl(Data::Dump) Requires: perl(Getopt::Long) Requires: perl(JSON) Requires: perl(Mojolicious) %description client This package contains the openQA client script, along with several other useful tools and support files. The client script is a convenient helper for interacting with the openQA REST API. %package doc Summary: The openQA documentation %description doc Documentation material covering installation, configuration, basic test writing, etc., covering both openQA and the os-autoinst test engine. %prep %autosetup -p1 -n %{github_name}-%{github_commit} -a 1 # Fedora calls it httpd.service, SUSE calls it apache2.service... sed -i -e 's,apache2\.service,httpd\.service,g' systemd/*.service # ...Fedora keeps httpd config here, SUSE keeps it there. sed -i -e 's,"$(DESTDIR)"/etc/apache2/vhosts.d,"$(DESTDIR)"%{_sysconfdir}/httpd/conf.d,g' Makefile sed -i -e 's,/etc/apache2/vhosts.d,%{_sysconfdir}/httpd/conf.d,g' etc/apache2/vhosts.d/* # These are the Fedora-y standard TLS cert/key locations. sed -i -e 's,/etc/apache2/ssl.crt,%{_sysconfdir}/pki/tls/certs,g' etc/apache2/vhosts.d/* sed -i -e 's,/etc/apache2/ssl.key,%{_sysconfdir}/pki/tls/private,g' etc/apache2/vhosts.d/* # FIXME: remove AMQP plugin for now, we are missing its dependency rm -f lib/OpenQA/WebAPI/Plugin/AMQP.pm rm -f t/23-amqp.t %build # this does nothing, but it's harmless, so just in case it turns up... make %{?_smp_mflags} %install %make_install mkdir -p %{buildroot}%{_datadir}/openqa/etc/openqa ln -s %{_sysconfdir}/openqa/openqa.ini %{buildroot}%{_datadir}/openqa/etc/openqa/openqa.ini ln -s %{_sysconfdir}/openqa/database.ini %{buildroot}%{_datadir}/openqa/etc/openqa/database.ini mkdir -p %{buildroot}%{_bindir} ln -s /usr/share/openqa/script/client %{buildroot}%{_bindir}/openqa-client cd %{buildroot} grep -rl /usr/bin/env . | while read file; do sed -e 's,/usr/bin/env perl,/usr/bin/perl,' -i $file done mkdir %{buildroot}%{_localstatedir}/lib/openqa/pool/1 mkdir %{buildroot}%{_localstatedir}/lib/openqa/cache # We don't do AppArmor rm -rf %{buildroot}%{_sysconfdir}/apparmor.d %check # we don't really need the tidy test rm -f t/00-tidy.t # this should run the tests in parallel, but they're not really safe yet #PROVE_ARGS='-r %{?_smp_mflags}' make test # some tests are currently skipped due to missing phantomjs and Selenium make test %pre getent group geekotest >/dev/null || groupadd -r geekotest || : getent passwd geekotest >/dev/null || \ useradd -r -g geekotest -d /var/lib/openqa -s /sbin/nologin \ -c "openQA user" geekotest || : %pre worker getent group _openqa-worker >/dev/null || groupadd -r _openqa-worker || : getent passwd _openqa-worker >/dev/null || \ useradd -r -g _openqa-worker -G qemu -d /dev/null -s /sbin/nologin \ -c "openQA worker" _openqa-worker || : %post %systemd_post %{openqa_services} %post worker %tmpfiles_create %{_tmpfilesdir}/openqa.conf %systemd_post %{openqa_worker_services} %post httpd if [ $1 -eq 1 ]; then echo "### copy and edit /etc/httpd/conf.d/openqa.conf.template!" fi %preun %systemd_preun %{openqa_services} if [ $1 -eq 0 ]; then rm -rf %{_datadir}/openqa/public/packed fi %preun worker %systemd_preun %{openqa_worker_services} %postun %systemd_postun_with_restart %{openqa_services} %postun worker %systemd_postun_with_restart %{openqa_worker_services} %files %doc README.asciidoc %dir %{_sysconfdir}/openqa %config(noreplace) %{_sysconfdir}/openqa/openqa.ini %config(noreplace) %attr(-,root,geekotest) %{_sysconfdir}/openqa/database.ini %dir %{_datadir}/openqa %dir %{_datadir}/openqa/etc %dir %{_datadir}/openqa/etc/openqa %{_datadir}/openqa/etc/openqa/openqa.ini %{_datadir}/openqa/etc/openqa/database.ini %config %{_sysconfdir}/logrotate.d %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.opensuse.openqa.conf # init %{_unitdir}/openqa-webui.service %{_unitdir}/openqa-gru.service %{_unitdir}/openqa-scheduler.service %{_unitdir}/openqa-websockets.service # web libs %{_datadir}/openqa/templates %{_datadir}/openqa/public %{_datadir}/openqa/dbicdh %{_datadir}/openqa/assets %dir %{_datadir}/openqa/script %{_datadir}/openqa/script/check_dependencies %{_datadir}/openqa/script/clean_needles %{_datadir}/openqa/script/create_admin %{_datadir}/openqa/script/fetchneedles %{_datadir}/openqa/script/initdb %{_datadir}/openqa/script/openqa %{_datadir}/openqa/script/openqa-scheduler %{_datadir}/openqa/script/openqa-websockets %{_datadir}/openqa/script/upgradedb %{_datadir}/openqa/script/modify_needle %dir %{_localstatedir}/lib/openqa/share %defattr(-,geekotest,root) # the database script does creation with 'geekotest' privileges %dir %{_localstatedir}/lib/openqa/db # the server may create files in these locations %dir %{_localstatedir}/lib/openqa/images %dir %{_localstatedir}/lib/openqa/share/factory %dir %{_localstatedir}/lib/openqa/share/tests %{_localstatedir}/lib/openqa/testresults # when sqlite is used this file must be server-writable and *not* # readable by anyone but server or root, hence expected permissions %ghost %attr(0640,geekotest,root) %{_localstatedir}/lib/openqa/db/db.sqlite %files common %license COPYING %dir %{_datadir}/openqa %ghost %dir %{_datadir}/openqa/packed %{_datadir}/openqa/lib %exclude %{_datadir}/openqa/lib/OpenQA/WebAPI/Plugin/Fedmsg.pm %exclude %{_datadir}/openqa/lib/OpenQA/Client.pm %dir %{_localstatedir}/lib/openqa # these are compatibility symlinks into the shared data; they go in # -common because both server and workers need them but they're not in # the shared location %{_localstatedir}/lib/openqa/factory %{_localstatedir}/lib/openqa/tests # this is a compat symlink to a directory whose contents are split # between server and worker %{_localstatedir}/lib/openqa/script %files worker %config(noreplace) %{_sysconfdir}/openqa/workers.ini %config(noreplace) %attr(0400,_openqa-worker,root) %{_sysconfdir}/openqa/client.conf # init %dir %{_unitdir} %{_prefix}/lib/systemd/system-generators/systemd-openqa-generator %{_unitdir}/openqa-worker.target %{_unitdir}/openqa-worker@.service %{_unitdir}/openqa-slirpvde.service %{_unitdir}/openqa-vde_switch.service %{_tmpfilesdir}/openqa.conf %ghost %dir %{_rundir}/openqa # worker libs %dir %{_datadir}/openqa %dir %{_datadir}/openqa/script %{_datadir}/openqa/script/worker %dir %{_localstatedir}/lib/openqa/pool %defattr(-,_openqa-worker,root) %dir %{_localstatedir}/lib/openqa/cache # own one pool - to create the others is task of the admin %dir %{_localstatedir}/lib/openqa/pool/1 # Note: remote workers are required to mount /var/lib/openqa/share # shared with the server. %files httpd %license COPYING # apache vhost %config %{_sysconfdir}/httpd/conf.d/openqa.conf.template %config %{_sysconfdir}/httpd/conf.d/openqa-common.inc %config %{_sysconfdir}/httpd/conf.d/openqa-ssl.conf.template %files client %dir %{_datadir}/openqa %dir %{_datadir}/openqa/script %{_datadir}/openqa/script/client %{_datadir}/openqa/script/clone_job.pl %{_datadir}/openqa/script/dump_templates %{_datadir}/openqa/script/load_templates %dir %{_datadir}/openqa/lib %{_datadir}/openqa/lib/OpenQA/Client.pm %{_bindir}/openqa-client %files doc %doc docs/* %files plugin-fedmsg %{_datadir}/openqa/lib/OpenQA/WebAPI/Plugin/Fedmsg.pm %changelog * Mon Jan 30 2017 Adam Williamson - 4.4-38.20170130git8cc04a2 - Update to latest git, drop merged #1200 patch - Split out client and doc packages (following SUSE) - Add /usr/bin/openqa-client symlink (following SUSE) - Update Mojolicious requirements - Replace duplication patch with version that works against new code - Backport #1211 to fix tests when Selenium is unavailable * Wed Jan 25 2017 Adam Williamson - 4.4-37.20170104git3d6640e - Backport PR #1200 to allow setting precedence order override * Wed Jan 04 2017 Adam Williamson - 4.4-36.20170104git3d6640e - Update to latest git, drop merged patch #1133 * Wed Jan 04 2017 Adam Williamson - 4.4-35.20170103git30ded4f - Backport #1133 to improve the db deployment locking a bit * Tue Jan 03 2017 Adam Williamson - 4.4-34.20170103git30ded4f - Update to latest git again (many enhancements, inc. my DB schema upgrade one) - Drop no-longer-needed dependency and merged patch * Fri Dec 16 2016 Adam Williamson - 4.4-33.20161216git7addfed - bump to latest git again, with brc/bgo patch merged - backport PR #1087 to have initdb indicate result by exit code * Wed Dec 14 2016 Adam Williamson - 4.4-32.20161213git2fb9bdb - backport patch to add 'brc' (RHBZ) and 'bgo' (BGO) bug labels * Tue Dec 13 2016 Adam Williamson - 4.4-31.20161213git2fb9bdb - bump to latest git again (some useful-looking fixes) * Mon Dec 05 2016 Adam Williamson - 4.4-30.20161205git84716b1 - bump to latest git again (get some upstream changes to fedmsg messages) - Backport a PR to add comment ID to fedmsg comment messages - BuildRequire Test::MockObject as AMQP test uses it * Mon Nov 28 2016 Adam Williamson - 4.4-29.20161128git663c025 - Bump to latest git (general F25 cycle start bump, lots of new stuff) - Port over spec changes from openSUSE * Thu Nov 10 2016 Adam Williamson - 4.4-28.20161022git1f44aeb - Backport patch to add 'before' and 'after' params to the API job query * Mon Oct 24 2016 Adam Williamson - 4.4-27.20161022git1f44aeb - backport #963 to fix worker handling of missing assets * Sat Oct 22 2016 Adam Williamson - 4.4-26.20161022git1f44aeb - bump to git one more time, all recent fixes merged upstream * Fri Oct 21 2016 Adam Williamson - 4.4-25.20161020git877db25 - stop job cancellation breaking on artefact upload (and duplicating the job) * Fri Oct 21 2016 Adam Williamson - 4.4-24.20161020git877db25 - latest git again (with #954 merged) - latest version of #955 - backport #956 (fix group overview page for groups with no description) * Thu Oct 20 2016 Adam Williamson - 4.4-23.20161020gitbaac24b - latest git again (with #945), backport three asset fixups * Wed Oct 19 2016 Adam Williamson - 4.4-22.20161019git91993f8 - latest git again, backport PR #945 (to fix asset cleanup) * Thu Oct 06 2016 Adam Williamson - 4.4-21.20161006git1ad6190 - bump to latest git again, to get #920 (fix for asset download name) * Fri Sep 23 2016 Adam Williamson - 4.4-20.20160922git23e4f45 - bump to latest git once more, coolo fixed more stuff * Mon Sep 19 2016 Adam Williamson - 4.4-19.20160919git5c812db - bump to latest git again, all patches merged except auto-dupe reversion * Fri Sep 16 2016 Adam Williamson - 4.4-18.20160915git13b8eb4 - bump to latest git again (inc. garret's needle fix) - update #883, rediff #875 on new #883, add an extra fix on top of #875 * Thu Sep 15 2016 Adam Williamson - 4.4-17.20160915git323d73a - backport a couple of worker notification fixes I wrote * Thu Sep 15 2016 Adam Williamson - 4.4-16.20160915git323d73a - also backport garretraziel's needles-in-subdirs fix (#868) * Thu Sep 15 2016 Adam Williamson - 4.4-15.20160915git323d73a - bump to git master again, more fixes, backport #875 * Wed Sep 14 2016 Adam Williamson - 4.4-14.20160914git89e98b7 - bump to git master again, with better HMAC timestamp fix * Mon Sep 12 2016 Adam Williamson - 4.4-13.20160912gitc185cf9 - bump to git master again, drop merged patches - increase HMAC timestamp validity from 5 to 10 mins to workaround POO #13690 * Mon Sep 12 2016 Adam Williamson - 4.4-12.20160912git14305d0 - bump to latest git, drop merged patches - drop my PR #844 patches in favour of coolo's #848 (merged upstream) - backport PR #864 to make dead worker check less greedy * Sat Sep 10 2016 Adam Williamson - 4.4-11.20160902gitee52128 - revert upstream's disabling of auto-duplication of 'unknown incomplete' jobs * Sat Sep 03 2016 Adam Williamson - 4.4-10.20160902gitee52128 - bump to latest git (minor changes) * Thu Sep 01 2016 Adam Williamson - 4.4-9.20160829git8609e09 - move the status_update timer removal back a bit - latest tested upstream-submitted versions of PR #844 patches * Wed Aug 31 2016 Adam Williamson - 4.4-8.20160829git8609e09 - ok, let's see if this works: - keep the upload reversion (use non-blocking post) - keep updating status till file upload completes - checksum uploaded assets by 100MiB chunks to avoid long block on file read * Wed Aug 31 2016 Adam Williamson - 4.4-7.20160829git8609e09 - re-apply the upload reversion so we use non-blocking post again... * Wed Aug 31 2016 Adam Williamson - 4.4-6.20160829git8609e09 - worker: drop the inactivity time thing, didn't work * Wed Aug 31 2016 Adam Williamson - 4.4-5.20160829git8609e09 - worker: keep updating status till file upload completes * Wed Aug 31 2016 Adam Williamson - 4.4-4.20160829git8609e09 - try using simple blocking post for file upload with inactivity timeout * Mon Aug 29 2016 Adam Williamson - 4.4-3.20160829git8609e09 - Complete revert of f2547e9 to see if it helps upload issues * Mon Aug 29 2016 Adam Williamson - 4.4-2.20160829git8609e09 - update to latest git (should help with upload failures) - apply PR #802 to see if it helps with job cancel failures * Fri Aug 26 2016 Adam Williamson - 4.4-1.20160826git1ac2387 - update to latest git again - SUSE switched to 4.4 as the base version, so follow that * Fri Jul 08 2016 Adam Williamson - 4.3-30.20160708git84c9461 - update to latest git again - drop merged patches: PR #767 and asset removal PR #773 * Wed Jul 06 2016 Adam Williamson - 4.3.29-20160706gitc34c90b - Apply PR #767 to fix multiple interactive mode issues * Wed Jul 06 2016 Adam Williamson - 4.3.28-20160706gitc34c90b - bump to latest git again (fix fuzzy web UI logo) * Tue Jul 05 2016 Adam Williamson - 4.3.27-20160630git1e9c29b - bump to latest git again (some useful bug fixes landed) * Mon Jun 27 2016 Adam Williamson - 4.3.26-20160627gita08377c - bump to latest upstream git - drop Assetpack-Bootstrap3 dep - drop triggerin use and just pre-generate and package the asset cache - add script for generating the asset cache (using a minimal mojo app) * Tue May 24 2016 Adam Williamson - 4.3-25.20160413git45e4923 - backport support for configuring asset types not to show links for * Wed Apr 13 2016 Adam Williamson - 4.3-24.20160413git45e4923 - bump a bit further to include garretraziel's HDD_1 search fix * Thu Apr 07 2016 Adam Williamson - 4.3-23.20160408git968b05d - rebase to current upstream git master (patch set is getting unwieldy) - drop database migration scriptlets (done in openQA itself now) * Thu Mar 31 2016 Adam Williamson - 4.3-22 - backport: allow needles to be in nested directories (jskladan) * Thu Mar 10 2016 Adam Williamson - 4.3-21 - add a 'build' property to the fedmsg data * Thu Mar 10 2016 Adam Williamson - 4.3-20 - let geekotest own share/factory instead of packaging factory/tmp - backport PR that allows loading of config file-specified plugins - add a plugin to emit fedmsgs * Tue Mar 08 2016 Adam Williamson - 4.3-19 - package /var/lib/openqa/share/factory/tmp with appropriate ownership * Mon Feb 29 2016 Adam Williamson - 4.3-18 - backports: make asset downloading more robust against unexpected cases * Wed Feb 17 2016 Adam Williamson - 4.3-17 - backport: start services after database services - backport: treat kernels/initrds as assets, allow download of all assets * Wed Feb 17 2016 Adam Williamson - 4.3-16 - update the selenium-skipping patch to a better version * Tue Feb 16 2016 Adam Williamson - 4.3-15 - fix mode of generate-packed-assets (stupid RPM...) - backport patch to not install unneeded scripts - don't do prove -r twice in check * Tue Feb 16 2016 Adam Williamson - 4.3-14 - re-organize requires in spec file - fix the tests to run if perl(Selenium) bits aren't available - backport fix for worker systemd unit with newer systemd - enable test suite (some tests are skipped, but better than nothing) * Tue Feb 16 2016 Adam Williamson - 4.3-13 - update backported patches that have been merged upstream now - backport generate-packed-assets instead of adding it as SOURCE1 * Fri Feb 12 2016 Adam Williamson - 4.3-12 - quiet the trigger script down a bit - clean up sass cache in the trigger script - more customizable trigger script for upstream submission - setgid in upgradedb as well as initdb * Fri Feb 12 2016 Adam Williamson - 4.3-11 - fix initdb UID / GID issues - use triggers for packed asset (re-)generation (Zbigniew) - server should own script dir as well as worker - drop ownership / ghosting of specific asset dirs * Wed Feb 10 2016 Adam Williamson - 4.3-10 - log to journal by default (upstream PR #541) * Mon Feb 08 2016 Adam Williamson - 4.3-9 - drop the log file ghost stuff, it's for AppArmor, not needed for Fedora - comment on the requirement for remote workers to mount shared data - explain the location of the compat symlinks in -common - fix ownership of database.ini (thanks Zbigniew) * Sun Feb 07 2016 Adam Williamson - 4.3-8 - more package review improvements: - * drop the old commented perl(EV) conflict which isn't needed now - * don't use systemd_requires macro - * explain that build is a lie (but make it parallel nothing) - * move check to the logical place - * don't fail scriptlets on user creation failure - * move post-install info message to httpd subpackage - * openqa.ini does not need to be owned by geekotest - * don't own directories we shouldn't * Fri Feb 05 2016 Adam Williamson - 4.3-7 - package review improvements: - * no need for worker to Requires(post) os-autoinst - * explain why tests are currently disabled - * fix a few macro invocations to use curly braces - * use directory macros where appropriate in scriptlets - * split apache configuration into a subpackage * Thu Jan 28 2016 Adam Williamson - 4.3-6 - update ISOURL patch to latest revision * Thu Jan 28 2016 Adam Williamson - 4.3-5 - patch: fix ISO downloading when ISOURL is specified but not ISO * Wed Jan 27 2016 Adam Williamson - 4.3-4 - patch: stop gru task barfing on malformed JSON (upstream PR #518) * Fri Jan 15 2016 Adam Williamson - 4.3-3 - filter perl(Perl::Critic) auto-requires, only needed for tests * Fri Jan 15 2016 Adam Williamson - 4.3-2 - fix __requires_exclude (stray | made it too greedy) * Fri Jan 15 2016 Adam Williamson - 4.3-1 - new release 4.3, drop patches merged upstream - tweak auto-provides / requires filtering - backport fix for slowdown caused by using dbus for thumbnails - update database on package update - include license in -common * Tue Jan 05 2016 Adam Williamson - 4.2-12 - one more backport (of a PR I just wrote) for HDD cleanup * Mon Jan 04 2016 Adam Williamson - 4.2-11 - backport cleanup of generated HDD snapshots * Wed Dec 16 2015 Adam Williamson - 4.2-10 - backport tmpdir creation fix (prevents large uploads failing) * Wed Dec 02 2015 Adam Williamson - 4.2-9 - backport branding fix (removes SUSE navbar) * Tue Nov 17 2015 Adam Williamson - 4.2-8 - make create_admin executable * Sat Oct 24 2015 Adam Williamson - 4.2-7 - conflict with perl(EV) - see openQA GH #450 * Thu Oct 22 2015 Adam Williamson - 4.2-6 - backport sqlite security fix and admin user creation script * Sat Oct 17 2015 Adam Williamson - 4.2-5 - correct worker username in a couple of places, adjust perms * Sat Oct 17 2015 Adam Williamson - 4.2-4 - another dep fix: sqlite * Sat Oct 17 2015 Adam Williamson - 4.2-3 - correct some dependencies, exclude internal auto-generated reqs * Fri Oct 16 2015 Adam Williamson - 4.2-2 - fix apache config filenames in sed commands * Thu Oct 15 2015 Adam Williamson - 4.2-1 - update to 4.2 upstream, tweak spec a bit more * Fri Aug 14 2015 Adam Williamson - 4-1.20150814gitc66ff87 - initial package (based on openSUSE spec)