diff --git a/openQA-4.6.1612014696.1998b3cde.obscpio b/openQA-4.6.1612014696.1998b3cde.obscpio deleted file mode 100644 index df56153..0000000 --- a/openQA-4.6.1612014696.1998b3cde.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d61dd204411e5001c2c65dbda806371f1c4db82da5f3013476d9fd712f3a9cc3 -size 12682253 diff --git a/openQA-4.6.1612273300.b98492573.obscpio b/openQA-4.6.1612273300.b98492573.obscpio new file mode 100644 index 0000000..dafffb8 --- /dev/null +++ b/openQA-4.6.1612273300.b98492573.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de4ef107646b2720d63becad6289a98c6ca15d9fe3a447924dd302a4ff73b96c +size 12686349 diff --git a/openQA-client-test.spec b/openQA-client-test.spec index 36a04f1..05be480 100644 --- a/openQA-client-test.spec +++ b/openQA-client-test.spec @@ -18,7 +18,7 @@ %define short_name openQA-client Name: %{short_name}-test -Version: 4.6.1612014696.1998b3cde +Version: 4.6.1612273300.b98492573 Release: 0 Summary: Test package for %{short_name} License: GPL-2.0-or-later diff --git a/openQA-devel-test.spec b/openQA-devel-test.spec index 9b383d8..477e43c 100644 --- a/openQA-devel-test.spec +++ b/openQA-devel-test.spec @@ -18,7 +18,7 @@ %define short_name openQA-devel Name: %{short_name}-test -Version: 4.6.1612014696.1998b3cde +Version: 4.6.1612273300.b98492573 Release: 0 Summary: Test package for %{short_name} License: GPL-2.0-or-later diff --git a/openQA-test.spec b/openQA-test.spec index 3996900..c7bd038 100644 --- a/openQA-test.spec +++ b/openQA-test.spec @@ -18,7 +18,7 @@ %define short_name openQA Name: %{short_name}-test -Version: 4.6.1612014696.1998b3cde +Version: 4.6.1612273300.b98492573 Release: 0 Summary: Test package for openQA License: GPL-2.0-or-later diff --git a/openQA-worker-test.spec b/openQA-worker-test.spec index bb08045..80eddfe 100644 --- a/openQA-worker-test.spec +++ b/openQA-worker-test.spec @@ -18,7 +18,7 @@ %define short_name openQA-worker Name: %{short_name}-test -Version: 4.6.1612014696.1998b3cde +Version: 4.6.1612273300.b98492573 Release: 0 Summary: Test package for %{short_name} License: GPL-2.0-or-later diff --git a/openQA.changes b/openQA.changes index df9e184..94ab889 100644 --- a/openQA.changes +++ b/openQA.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Feb 03 04:23:40 UTC 2021 - coolo@suse.com + +- Update to version 4.6.1612273300.b98492573: + * Make 'perl >= 5.20.0' a common dependency to be able to use signatures everywhere + * Use Mojo::UserAgent::socket_options if available to avoid relying on monkey patch + * Return size of symlink (and not its target) when deleting job results + * tests: Test expected output from job cloning + * Add service files to restart worker after config changes without interrupting running jobs + * Restart openqa-worker-auto-restart@.service on pkg upgrade without interrupting jobs + ------------------------------------------------------------------- Sun Jan 31 20:23:28 UTC 2021 - coolo@suse.com diff --git a/openQA.obsinfo b/openQA.obsinfo index c594d51..1f4a918 100644 --- a/openQA.obsinfo +++ b/openQA.obsinfo @@ -1,5 +1,5 @@ name: openQA -version: 4.6.1612014696.1998b3cde -mtime: 1612014696 -commit: 1998b3cde8c85be95d8ddab6933d7877c9437670 +version: 4.6.1612273300.b98492573 +mtime: 1612273300 +commit: b984925737e731417af97f6ec87d8f57e000de76 diff --git a/openQA.spec b/openQA.spec index c00f16e..d6acd56 100644 --- a/openQA.spec +++ b/openQA.spec @@ -49,10 +49,10 @@ # The following line is generated from dependencies.yaml %define assetpack_requires perl(CSS::Minifier::XS) >= 0.01 perl(JavaScript::Minifier::XS) >= 0.11 perl(Mojolicious::Plugin::AssetPack) >= 1.36 # The following line is generated from dependencies.yaml -%define common_requires perl(Archive::Extract) > 0.7 perl(Config::IniFiles) perl(Cpanel::JSON::XS) perl(Cwd) perl(Data::Dump) perl(Data::Dumper) perl(Digest::MD5) perl(Getopt::Long) perl(Minion) >= 10.12 perl(Mojolicious) >= 8.55 perl(Regexp::Common) perl(Storable) perl(Try::Tiny) +%define common_requires perl >= 5.20.0 perl(Archive::Extract) > 0.7 perl(Config::IniFiles) perl(Cpanel::JSON::XS) perl(Cwd) perl(Data::Dump) perl(Data::Dumper) perl(Digest::MD5) perl(Getopt::Long) perl(Minion) >= 10.12 perl(Mojolicious) >= 8.55 perl(Regexp::Common) perl(Storable) perl(Try::Tiny) # runtime requirements for the main package that are not required by other sub-packages # The following line is generated from dependencies.yaml -%define main_requires %assetpack_requires git-core perl >= 5.20.0 perl(BSD::Resource) perl(Carp) perl(Carp::Always) perl(CommonMark) perl(Config::Tiny) perl(DBD::Pg) >= 3.7.4 perl(DBI) >= 1.632 perl(DBIx::Class) >= 0.082801 perl(DBIx::Class::DeploymentHandler) perl(DBIx::Class::DynamicDefault) perl(DBIx::Class::OptimisticLocking) perl(DBIx::Class::ResultClass::HashRefInflator) perl(DBIx::Class::Schema::Config) perl(DBIx::Class::Storage::Statistics) perl(Date::Format) perl(DateTime) perl(DateTime::Duration) perl(DateTime::Format::Pg) perl(Exporter) perl(Fcntl) perl(File::Basename) perl(File::Copy) perl(File::Copy::Recursive) perl(File::Path) perl(File::Spec) perl(Filesys::Df) perl(FindBin) perl(Getopt::Long::Descriptive) perl(IO::Handle) perl(IPC::Run) perl(JSON::Validator) perl(LWP::UserAgent) perl(Module::Load::Conditional) perl(Module::Pluggable) perl(Mojo::Base) perl(Mojo::ByteStream) perl(Mojo::IOLoop) perl(Mojo::JSON) perl(Mojo::Pg) perl(Mojo::RabbitMQ::Client) >= 0.2 perl(Mojo::URL) perl(Mojo::Util) perl(Mojolicious::Commands) perl(Mojolicious::Plugin) perl(Mojolicious::Static) perl(Net::OpenID::Consumer) perl(POSIX) perl(Pod::POM) perl(SQL::Translator) perl(Scalar::Util) perl(Sort::Versions) perl(Text::Diff) perl(Time::HiRes) perl(Time::ParseDate) perl(Time::Piece) perl(Time::Seconds) perl(URI::Escape) perl(YAML::PP) >= 0.026 perl(YAML::XS) perl(aliased) perl(base) perl(constant) perl(diagnostics) perl(strict) perl(warnings) +%define main_requires %assetpack_requires git-core perl(BSD::Resource) perl(Carp) perl(Carp::Always) perl(CommonMark) perl(Config::Tiny) perl(DBD::Pg) >= 3.7.4 perl(DBI) >= 1.632 perl(DBIx::Class) >= 0.082801 perl(DBIx::Class::DeploymentHandler) perl(DBIx::Class::DynamicDefault) perl(DBIx::Class::OptimisticLocking) perl(DBIx::Class::ResultClass::HashRefInflator) perl(DBIx::Class::Schema::Config) perl(DBIx::Class::Storage::Statistics) perl(Date::Format) perl(DateTime) perl(DateTime::Duration) perl(DateTime::Format::Pg) perl(Exporter) perl(Fcntl) perl(File::Basename) perl(File::Copy) perl(File::Copy::Recursive) perl(File::Path) perl(File::Spec) perl(Filesys::Df) perl(FindBin) perl(Getopt::Long::Descriptive) perl(IO::Handle) perl(IPC::Run) perl(JSON::Validator) perl(LWP::UserAgent) perl(Module::Load::Conditional) perl(Module::Pluggable) perl(Mojo::Base) perl(Mojo::ByteStream) perl(Mojo::IOLoop) perl(Mojo::JSON) perl(Mojo::Pg) perl(Mojo::RabbitMQ::Client) >= 0.2 perl(Mojo::URL) perl(Mojo::Util) perl(Mojolicious::Commands) perl(Mojolicious::Plugin) perl(Mojolicious::Static) perl(Net::OpenID::Consumer) perl(POSIX) perl(Pod::POM) perl(SQL::Translator) perl(Scalar::Util) perl(Sort::Versions) perl(Text::Diff) perl(Time::HiRes) perl(Time::ParseDate) perl(Time::Piece) perl(Time::Seconds) perl(URI::Escape) perl(YAML::PP) >= 0.026 perl(YAML::XS) perl(aliased) perl(base) perl(constant) perl(diagnostics) perl(strict) perl(warnings) # The following line is generated from dependencies.yaml %define client_requires curl git-core jq perl(Getopt::Long::Descriptive) perl(IO::Socket::SSL) >= 2.009 perl(IPC::Run) perl(JSON::Validator) perl(LWP::Protocol::https) perl(LWP::UserAgent) perl(Test::More) perl(YAML::PP) >= 0.020 perl(YAML::XS) # The following line is generated from dependencies.yaml @@ -76,7 +76,7 @@ %define devel_requires %devel_no_selenium_requires chromedriver Name: openQA -Version: 4.6.1612014696.1998b3cde +Version: 4.6.1612273300.b98492573 Release: 0 Summary: The openQA web-frontend, scheduler and tools License: GPL-2.0-or-later @@ -415,7 +415,15 @@ fi %restart_on_update apparmor %postun worker +# restart worker services on updates; does *not* include services for worker slots unless openqa-worker.target +# is running at the time of the update %service_del_postun %{openqa_worker_services} +# restart running openqa-worker-auto-restart@.service units without interrupting jobs +# notes: noop if no such units are running; daemon-reload already done by service_del_postun macro; +# "$1 -ge 1" checks for a package upgrade +if [ -x /usr/bin/systemctl ] && [ $1 -ge 1 ]; then + /usr/bin/systemctl kill --signal SIGHUP 'openqa-worker-auto-restart@*.service' || : +fi %postun auto-update %service_del_postun openqa-auto-update.timer @@ -565,6 +573,8 @@ fi %{_unitdir}/openqa-worker-cacheservice.service %{_unitdir}/openqa-worker-no-cleanup@.service %{_unitdir}/openqa-worker-auto-restart@.service +%{_unitdir}/openqa-reload-worker-auto-restart@.service +%{_unitdir}/openqa-reload-worker-auto-restart@.path %{_unitdir}/openqa-slirpvde.service %{_unitdir}/openqa-vde_switch.service %{_datadir}/openqa/script/openqa-slirpvde