Accepting request 607391 from home:M0ses:kanku
initial version OBS-URL: https://build.opensuse.org/request/show/607391 OBS-URL: https://build.opensuse.org/package/show/devel:kanku/kanku?expand=0&rev=1
This commit is contained in:
commit
61d12f0609
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
16
_service
Normal file
16
_service
Normal file
@ -0,0 +1,16 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="disabled">
|
||||
<param name="versionformat">@PARENT_TAG@.git%cd.%h</param>
|
||||
<param name="url">git://github.com/M0ses/kanku.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="extract">dist/kanku.spec</param>
|
||||
<param name="revision">master</param>
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="compression">xz</param>
|
||||
<param name="file">*.tar</param>
|
||||
</service>
|
||||
<service name="set_version" mode="buildtime"/>
|
||||
</services>
|
6
_servicedata
Normal file
6
_servicedata
Normal file
@ -0,0 +1,6 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">git://github.com/M0ses/kanku.git</param>
|
||||
<param name="changesrevision">a2e5bb43573ba175746f0aaf48b119805cdeb591</param></service><service name="tar_scm">
|
||||
<param name="url">/home/frank/prj/kanku</param>
|
||||
<param name="changesrevision">07fc15f0647a92f01b67085d698485d3432a8924</param></service></servicedata>
|
3
debian.tar.gz
Normal file
3
debian.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ae889675caa4d14c4855c4a891f35b4ebd2d1a54049a52471b8c8cd95644a06e
|
||||
size 2681
|
3
kanku-0.3.9.git20180223.a2e5bb4.obscpio
Normal file
3
kanku-0.3.9.git20180223.a2e5bb4.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e9da2cc0ab6d5d1f043c3b534adafed1ed8a51982bc8a770b50ea18c9080aa9c
|
||||
size 7800846
|
187
kanku.changes
Normal file
187
kanku.changes
Normal file
@ -0,0 +1,187 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 23 03:19:12 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.3.9.git20180223.a2e5bb4:
|
||||
* [web] default sqlite_unicode=1 for server setup to avoid utf8 problems
|
||||
* [web] changed admin -> user/role list to REST/json
|
||||
* [web] Workaround for UTF8 double encoding
|
||||
* [web] fix storage of user_id for javascript in template data
|
||||
* [cmd] added ExecuteCommandViaSSH in init template
|
||||
* [cmd] fix for default in ssh command
|
||||
* [web] avoid implicit creation of logged_in_user
|
||||
* [web] first working version of job comments in webui
|
||||
* [schema] final new database schema version 9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 19 21:50:39 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.3.5.git20180219.240f8be:
|
||||
* [dist] added missing 'Requires' for kanku-web
|
||||
* comments in schema JobHistory
|
||||
* [cmd] fix descriptions for kanku status
|
||||
* [cmd] add -X <domain_name> to ssh command
|
||||
* [core] initial version of cli based comments
|
||||
* [cli] new command dbinit
|
||||
* [dist] exclude only dirs from file list but keep files
|
||||
* [cli] refactored regex for libvirtd.conf
|
||||
* [web] link to gh-pages on index page
|
||||
* [web] user/role lists in admin interface
|
||||
* [web] configurable timeout for notification
|
||||
* [web] better layout for job_history
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 12 16:38:07 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.3.5.git20180212.633d114:
|
||||
* [dist] create default pool automatically in developer setup
|
||||
* [cli] use public api in template for init
|
||||
* [handler] new handler ChangeDomainState
|
||||
* [handler] option 'reuse' for 'additional_disks' in CreateDomain
|
||||
* [util] fix deletion of volumes VM
|
||||
* [handler] option 'keep_volumes' to RemoveDomain
|
||||
* [worker] improve duplicate advertisement handling
|
||||
* [handler] fix for additional disks uploading from cache
|
||||
* [handler] fix for database in ImageDownload
|
||||
* [handler] use url in ImageDownload directly
|
||||
* [web] added links to documentation in webui
|
||||
* [handler] added additional_disks option for CreateDomain
|
||||
* [doc] documented start/enable of kanku-worker
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 19 01:30:48 UTC 2018 - fschreiner@suse.de
|
||||
|
||||
- Update to version 0.3.4.git20180119.07fc15f:
|
||||
* [doc] changed file path for doc files
|
||||
* [doc] initial version of README.setup-worker.md
|
||||
* [worker] reconnect to rabbitmq if SSL error occurrs
|
||||
* [core] fixed missing increase for counter if more than 1 kanku-worker defined
|
||||
* initialize last_job_id to avoid 'uninitialized ..' warnings
|
||||
* [handler] proper env variables for ExecuteCommandViaSSH
|
||||
* [web] fix for task notify filters
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 19 01:05:43 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.3.3.git20180119.07fc15f:
|
||||
* [doc] changed file path for doc files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 19 00:57:01 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.3.3.git20180119.d78a55d:
|
||||
* [doc] changed file path for doc files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 19 00:55:33 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.3.3.git20180119.57b2c8a:
|
||||
* [doc] changed file path for doc files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 19 00:40:19 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.3.3.git20180119.0de131d:
|
||||
* [doc] initial version of README.setup-worker.md
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 18 23:39:22 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.3.3.git20180118.b800cdf:
|
||||
* [doc] initial version of README.setup-worker.md
|
||||
* [worker] reconnect to rabbitmq if SSL error occurrs
|
||||
* [core] fixed missing increase for counter if more than 1 kanku-worker defined
|
||||
* initialize last_job_id to avoid 'uninitialized ..' warnings
|
||||
* [handler] proper env variables for ExecuteCommandViaSSH
|
||||
* [web] fix for task notify filters
|
||||
* [web] avoid 500 when accepting/declining role reques
|
||||
* [cli] admin interface for roles requests
|
||||
* [doc] updated distributions in README.md
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 11 11:19:19 UTC 2017 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.3.3.git20171211.e68078b:
|
||||
* [web] avoid 500 when accepting/declining role reques
|
||||
* [cli] admin interface for roles requests
|
||||
* [doc] updated distributions in README.md
|
||||
* Create LICENSE
|
||||
* Create CONTRIBUTING.md
|
||||
* [web] ui component to request role changes
|
||||
* [schema] new database schema version 7
|
||||
* [cli] avoid exception in 'kanku status'
|
||||
* [web] fix for filters if no filter so far submitted
|
||||
* [core] include hostname in notify for daemon restart
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 24 12:24:34 UTC 2016 - fschreiner@suse.com
|
||||
|
||||
- Update to version 0.1.8.git20161124.ed94b6d:
|
||||
* fixed remote login if no kankurc found
|
||||
* cleanup for K::H::ImageDownload
|
||||
* cleanup K::Util::VM
|
||||
* logging console output to file
|
||||
* added vcpu to init options
|
||||
* pod docu for Kanku::Handler
|
||||
* added PERL5LIB to profile get access via perldoc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 19 02:56:52 UTC 2016 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Update to version 0.1.7.git20161119.64ee74e:
|
||||
* more logging in Kanku::Util::VM
|
||||
* new README.md pointing to projects gh-page
|
||||
* fixed template problems with cpu type
|
||||
* make repository for Kanku::Handler::OBSCheck configurable via WebUI
|
||||
* make ssh auth_type for Kanku::Roles::SSH globally configurable
|
||||
* fix 'Uninitialzed value' warning in Kanku::Util::VM
|
||||
* link to home:M0ses:kanku:Images in initial KankuFile
|
||||
* fixed offline handling with new libvirt based image upload
|
||||
* new version in spec file
|
||||
* fixed problem if setup not started as root
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 28 01:56:49 UTC 2016 - fschreiner@suse.com
|
||||
|
||||
- refactor Cmd::Roles::Remote for autologin
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 01 2016 Frank Schreiner - 0.1.0-1.0
|
||||
|
||||
- added handler for openstack
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 20 2016 Frank Schreiner - 0.0.5-2.0
|
||||
|
||||
- fixed libvirtd setup for leap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 19 2016 Frank Schreiner <m0ses@samaxi.de> - 0.0.5-1.0
|
||||
|
||||
- fixed cache_dir problem with CreateDomain
|
||||
- fixed specfile problems
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 19 2016 Frank Schreiner <m0ses@samaxi.de> 0.0.4-1.1
|
||||
|
||||
- fixed version of contrib/port_forward.pl
|
||||
- RemoveDomain can be disabled now by gui
|
||||
- download via OBS api
|
||||
- initial version of openvswitch integration
|
||||
- moved job template to examples directory
|
||||
- added mirror mode to GIT handler
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 20 2016 Frank Schreiner - 0.0.3-0.1
|
||||
|
||||
- new cli remote commands
|
||||
- refactor of parameter handling in UI and scheduler
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 25 2016 Frank Schreiner - 0.0.2-0.1
|
||||
|
||||
- introduced offline mode and dbmigreate command
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 10 2016 Frank Schreiner - 0.0.1-0.1
|
||||
|
||||
- initial version
|
11
kanku.dsc
Normal file
11
kanku.dsc
Normal file
@ -0,0 +1,11 @@
|
||||
Format: 1.0
|
||||
Source: kanku
|
||||
Binary: kanku
|
||||
Architecture: any
|
||||
Version: 0.0.1.git20160318.745005d-0
|
||||
Maintainer: unknown <unknown@debian.org>
|
||||
Standards-Version: 3.8.2
|
||||
Homepage: https://github.com/M0ses/kanku
|
||||
Build-Depends: debhelper (>= 5)
|
||||
Debtransform-Tar: kanku-0.0.1.git20160318.745005d.tar.xz
|
||||
Debtransform-Files-Tar: debian.tar.gz
|
5
kanku.obsinfo
Normal file
5
kanku.obsinfo
Normal file
@ -0,0 +1,5 @@
|
||||
name: kanku
|
||||
version: 0.3.9.git20180223.a2e5bb4
|
||||
mtime: 1519349744
|
||||
commit: a2e5bb43573ba175746f0aaf48b119805cdeb591
|
||||
|
473
kanku.spec
Normal file
473
kanku.spec
Normal file
@ -0,0 +1,473 @@
|
||||
#
|
||||
# spec file for package kanku
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: kanku
|
||||
# Version gets set by obs-service-tar_scm
|
||||
Version: 0.0.0
|
||||
Release: 0.0
|
||||
License: GPL-3.0
|
||||
Summary: Development and continuous integration made easy
|
||||
Url: https://github.com/M0ses/kanku
|
||||
Group: Productivity/Networking/Web/Utilities
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: systemd-rpm-macros
|
||||
|
||||
# perl requires for %check
|
||||
BuildRequires: perl(DBIx::Class::Fixtures)
|
||||
BuildRequires: perl(Test::Simple)
|
||||
BuildRequires: perl(YAML)
|
||||
BuildRequires: perl(Config::Tiny)
|
||||
BuildRequires: perl(Path::Class)
|
||||
BuildRequires: perl(Sys::Virt)
|
||||
BuildRequires: perl(Moose)
|
||||
BuildRequires: perl(Log::Log4perl)
|
||||
BuildRequires: perl(MooseX::App::Cmd)
|
||||
BuildRequires: perl(Dancer2::Plugin::REST)
|
||||
BuildRequires: perl(MooseX::Singleton)
|
||||
BuildRequires: perl(Expect)
|
||||
BuildRequires: perl(Net::SSH2)
|
||||
BuildRequires: perl(Net::IP)
|
||||
BuildRequires: perl(Net::OBS::Client)
|
||||
BuildRequires: perl(XML::Structured)
|
||||
BuildRequires: perl(DBIx::Class::Migration)
|
||||
BuildRequires: perl(Template)
|
||||
BuildRequires: perl(Log::Log4perl)
|
||||
BuildRequires: perl(Config::Tiny)
|
||||
BuildRequires: perl(Dancer2::Plugin::DBIC)
|
||||
BuildRequires: perl(Dancer2::Plugin::Auth::Extensible)
|
||||
BuildRequires: perl(Dancer2::Plugin::Auth::Extensible::Provider::DBIC)
|
||||
BuildRequires: perl(File::HomeDir)
|
||||
BuildRequires: perl(Template::Plugin::Filter::ANSIColor)
|
||||
BuildRequires: perl(JSON::XS)
|
||||
BuildRequires: perl(DBIx::Class)
|
||||
BuildRequires: perl(DBIx::Class::Migration)
|
||||
BuildRequires: perl(Template::Plugin::Filter::ANSIColor)
|
||||
BuildRequires: perl(File::LibMagic)
|
||||
BuildRequires: perl(IO::Uncompress::UnXz)
|
||||
BuildRequires: perl(Plack)
|
||||
BuildRequires: perl(Dancer2)
|
||||
BuildRequires: perl(Dancer2::Plugin::REST)
|
||||
BuildRequires: perl(XML::XPath)
|
||||
BuildRequires: perl(Term::ReadKey)
|
||||
BuildRequires: perl(IPC::Run)
|
||||
# DBD::SQLite is also provided by perl-DBD-SQLite-Amalgamation
|
||||
# but perl-DBD-SQLite-Amalgamation is breaks with SQL syntax errors
|
||||
# at job_histroy_sub table
|
||||
BuildRequires: perl-DBD-SQLite
|
||||
BuildRequires: perl(LWP::Protocol::https)
|
||||
BuildRequires: perl(Mail::Sendmail)
|
||||
BuildRequires: perl(Archive::Cpio)
|
||||
BuildRequires: perl(Dancer2)
|
||||
BuildRequires: perl(Dancer2::Plugin)
|
||||
BuildRequires: perl(Dancer2::Plugin::REST)
|
||||
BuildRequires: perl(Dancer2::Plugin::DBIC)
|
||||
BuildRequires: perl(Dancer2::Plugin::WebSocket)
|
||||
BuildRequires: perl(Dancer2::Plugin::Auth::Extensible)
|
||||
BuildRequires: perl(Net::AMQP::RabbitMQ)
|
||||
BuildRequires: perl(UUID)
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
Requires: kanku-cli
|
||||
Requires: kanku-web
|
||||
Requires: kanku-worker
|
||||
Requires: kanku-scheduler
|
||||
Requires: kanku-dispatcher
|
||||
Requires: kanku-triggerd
|
||||
|
||||
%description
|
||||
TODO: add some meaningful description
|
||||
to be more verbose
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
/bin/true
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
%fdupes %{buildroot}/opt/kanku/share
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rckanku-web
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rckanku-worker
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rckanku-dispatcher
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rckanku-scheduler
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rckanku-triggerd
|
||||
|
||||
%check
|
||||
# FIXME
|
||||
#prove -Ilib t/000_use.t
|
||||
|
||||
%files
|
||||
%exclude /etc
|
||||
%exclude /usr
|
||||
|
||||
%package common
|
||||
Summary: Common files for kanku
|
||||
|
||||
Recommends: osc
|
||||
Recommends: perl(IO::Uncompress::UnXz)
|
||||
Recommends: apache2
|
||||
Requires: libvirt-daemon-qemu qemu-kvm libvirt-daemon-config-network libvirt-daemon-config-nwfilter
|
||||
Requires: perl(DBIx::Class::Fixtures)
|
||||
Requires: perl(Test::Simple)
|
||||
Requires: perl(YAML)
|
||||
Requires: perl(Config::Tiny)
|
||||
Requires: perl(Path::Class)
|
||||
Requires: perl(Sys::Virt)
|
||||
Requires: perl(Moose)
|
||||
Requires: perl(Log::Log4perl)
|
||||
Requires: perl(MooseX::App::Cmd)
|
||||
Requires: perl(Dancer2::Plugin::REST)
|
||||
Requires: perl(MooseX::Singleton)
|
||||
Requires: perl(Expect)
|
||||
Requires: perl(Net::SSH2)
|
||||
Requires: perl(Net::IP)
|
||||
Requires: perl(Net::OBS::Client)
|
||||
Requires: perl(XML::Structured)
|
||||
Requires: perl(DBIx::Class::Migration)
|
||||
Requires: perl(Template)
|
||||
Requires: perl(Log::Log4perl)
|
||||
Requires: perl(Config::Tiny)
|
||||
Requires: perl(Dancer2::Plugin::DBIC)
|
||||
Requires: perl(Dancer2::Plugin::Auth::Extensible)
|
||||
Requires: perl(Dancer2::Plugin::Auth::Extensible::Provider::DBIC)
|
||||
Requires: perl(File::HomeDir)
|
||||
Requires: perl(Template::Plugin::Filter::ANSIColor)
|
||||
Requires: perl(JSON::XS)
|
||||
Requires: perl(DBIx::Class)
|
||||
Requires: perl(DBIx::Class::Migration)
|
||||
Requires: perl(Template::Plugin::Filter::ANSIColor)
|
||||
Requires: perl(File::LibMagic)
|
||||
Requires: perl(IO::Uncompress::UnXz)
|
||||
Requires: perl-Plack
|
||||
Requires: perl(Dancer2)
|
||||
Requires: perl(Dancer2::Plugin::REST)
|
||||
Requires: perl(XML::XPath)
|
||||
Requires: perl(Term::ReadKey)
|
||||
Requires: perl(IPC::Run)
|
||||
# DBD::SQLite is also provided by perl-DBD-SQLite-Amalgamation
|
||||
# but perl-DBD-SQLite-Amalgamation is breaks with SQL syntax errors
|
||||
# at job_histroy_sub table
|
||||
Requires: perl-DBD-SQLite
|
||||
Requires: perl(LWP::Protocol::https)
|
||||
Requires: perl(Mail::Sendmail)
|
||||
Requires: perl(Archive::Cpio)
|
||||
Requires: logrotate
|
||||
|
||||
Conflicts: perl-DBD-SQLite-Amalgamation
|
||||
|
||||
%description common
|
||||
TODO:
|
||||
add a useful description
|
||||
|
||||
|
||||
%files common
|
||||
%defattr(-,root,root)
|
||||
%doc README.md TODO
|
||||
|
||||
%dir /opt/kanku
|
||||
%dir /opt/kanku/var
|
||||
%dir /opt/kanku/var/log
|
||||
%dir /opt/kanku/var/cache
|
||||
%dir /opt/kanku/lib
|
||||
%dir /opt/kanku/lib/Kanku
|
||||
%dir /opt/kanku/lib/Kanku/Daemon
|
||||
|
||||
# share contains database related stuff
|
||||
%dir /opt/kanku/share/
|
||||
/opt/kanku/share/fixtures
|
||||
/opt/kanku/share/migrations
|
||||
|
||||
%dir /opt/kanku/bin
|
||||
%attr(755,root,root) /opt/kanku/bin/kanku
|
||||
%attr(755,root,root) /opt/kanku/bin/kanku-network-setup.pl
|
||||
|
||||
%dir /opt/kanku/etc/
|
||||
%ghost /opt/kanku/etc/config.yml
|
||||
%config /opt/kanku/etc/console-log.conf
|
||||
%config /opt/kanku/etc/kanku-network-setup-logging.conf
|
||||
%config /opt/kanku/etc/config.yml.template
|
||||
|
||||
%dir /opt/kanku/etc/templates
|
||||
%dir /opt/kanku/etc/templates/examples-vm/
|
||||
%dir /opt/kanku/etc/templates/cmd
|
||||
%config /opt/kanku/etc/templates/cmd/setup.config.yml.tt2
|
||||
%config /opt/kanku/etc/templates/cmd/init.tt2
|
||||
%config /opt/kanku/etc/templates/examples-vm/obs-server-26.tt2
|
||||
%config /opt/kanku/etc/templates/examples-vm/sles11sp3.tt2
|
||||
%config /opt/kanku/etc/templates/examples-vm/obs-server.tt2
|
||||
|
||||
%dir /opt/kanku/etc/jobs
|
||||
%dir /opt/kanku/etc/jobs/examples
|
||||
%config /opt/kanku/etc/jobs/examples/obs-server.yml
|
||||
%config /opt/kanku/etc/jobs/examples/obs-server-26.yml
|
||||
%config /opt/kanku/etc/jobs/examples/sles11sp3.yml
|
||||
|
||||
%config(noreplace) /opt/kanku/etc/log4perl.conf
|
||||
|
||||
%dir /etc/sudoers.d
|
||||
%config (noreplace) /etc/sudoers.d/kanku
|
||||
|
||||
%exclude %dir /etc/profile.d
|
||||
%config /etc/profile.d/kanku.sh
|
||||
|
||||
%exclude %dir /etc/logrotate.d/
|
||||
%config /etc/logrotate.d/kanku-common
|
||||
|
||||
/opt/kanku/lib/Kanku/Handler/
|
||||
/opt/kanku/lib/Kanku/Roles/
|
||||
/opt/kanku/lib/Kanku/Schema/
|
||||
/opt/kanku/lib/Kanku/Setup/
|
||||
/opt/kanku/lib/Kanku/Util/
|
||||
/opt/kanku/lib/Kanku/Task/
|
||||
/opt/kanku/lib/OpenStack/
|
||||
/opt/kanku/lib/Kanku/Config.pm
|
||||
/opt/kanku/lib/Kanku/Handler.pod
|
||||
/opt/kanku/lib/Kanku/Notifier
|
||||
/opt/kanku/lib/Kanku/Job.pm
|
||||
/opt/kanku/lib/Kanku/RabbitMQ.pm
|
||||
/opt/kanku/lib/Kanku/Schema.pm
|
||||
/opt/kanku/lib/Kanku/JobList.pm
|
||||
/opt/kanku/lib/Kanku/Task.pm
|
||||
/opt/kanku/lib/Kanku/Airbrake.pm
|
||||
/opt/kanku/lib/Kanku/NotifyQueue.pm
|
||||
|
||||
%dir /opt/kanku/lib/Kanku/WebSocket
|
||||
/opt/kanku/lib/Kanku/WebSocket/Notification.pm
|
||||
/opt/kanku/lib/Kanku/WebSocket/Session.pm
|
||||
|
||||
%dir /opt/kanku/lib/Kanku/Airbrake
|
||||
/opt/kanku/lib/Kanku/Airbrake/Dummy.pm
|
||||
|
||||
%dir /opt/kanku/lib/Kanku/LibVirt
|
||||
/opt/kanku/lib/Kanku/LibVirt/HostList.pm
|
||||
|
||||
%dir /opt/kanku/lib/Kanku/Dispatch/
|
||||
/opt/kanku/lib/Kanku/Dispatch/Local.pm
|
||||
|
||||
|
||||
%package cli
|
||||
Summary: Command line client for kanku
|
||||
Requires: kanku-common
|
||||
Requires: libvirt-client
|
||||
|
||||
%description cli
|
||||
Command line client for kanku, mainly used for setup tasks
|
||||
and in developer mode
|
||||
|
||||
%files cli
|
||||
%dir /opt/kanku/views/cli/
|
||||
%dir /opt/kanku/views/cli/rjob
|
||||
/opt/kanku/views/cli/*.tt
|
||||
/opt/kanku/views/cli/rjob/*.tt
|
||||
/opt/kanku/lib/Kanku/Cmd/
|
||||
/opt/kanku/lib/Kanku/Cmd.pm
|
||||
|
||||
%package web
|
||||
Summary: WebUI for kanku
|
||||
Requires: kanku-common
|
||||
Requires: perl(Dancer2::Plugin::WebSocket)
|
||||
Requires: perl(Twiggy)
|
||||
Requires: perl(Mail::Message::Body::String)
|
||||
Requires: perl(Mail::Transport::Send)
|
||||
Requires: perl(Net::AMQP::RabbitMQ)
|
||||
Requires: perl(UUID)
|
||||
#Requires: %{?systemd_requires}
|
||||
|
||||
%description web
|
||||
TODO:
|
||||
add a useful description
|
||||
|
||||
%pre web
|
||||
%service_add_pre kanku-web.service
|
||||
|
||||
%post web
|
||||
%service_add_post kanku-web.service
|
||||
|
||||
%preun web
|
||||
%service_del_preun kanku-web.service
|
||||
|
||||
%postun web
|
||||
%service_del_postun kanku-web.service
|
||||
|
||||
%files web
|
||||
%attr(755,root,root) /opt/kanku/bin/kanku-app.psgi
|
||||
%dir /opt/kanku/views/
|
||||
%{_unitdir}/kanku-web.service
|
||||
%{_sbindir}/rckanku-web
|
||||
/opt/kanku/views/admin.tt
|
||||
/opt/kanku/views/guest.tt
|
||||
/opt/kanku/views/index.tt
|
||||
/opt/kanku/views/job.tt
|
||||
/opt/kanku/views/notify.tt
|
||||
/opt/kanku/views/notify_disabled.tt
|
||||
/opt/kanku/views/job_history.tt
|
||||
/opt/kanku/views/job_result.tt
|
||||
%dir /opt/kanku/views/layouts
|
||||
/opt/kanku/views/layouts/main.tt
|
||||
/opt/kanku/views/login.tt
|
||||
%dir /opt/kanku/views/login
|
||||
/opt/kanku/views/login/denied.tt
|
||||
/opt/kanku/views/admin.tt
|
||||
/opt/kanku/views/settings.tt
|
||||
/opt/kanku/views/signup.tt
|
||||
/opt/kanku/views/pwreset.tt
|
||||
/opt/kanku/views/reset_password.tt
|
||||
|
||||
%dir /etc/apache2
|
||||
%dir /etc/apache2/conf.d
|
||||
%config (noreplace) /etc/apache2/conf.d/kanku.conf
|
||||
|
||||
# public contains css/js/bootstrap/jquery etc
|
||||
/opt/kanku/public/
|
||||
/opt/kanku/lib/Kanku.pm
|
||||
/opt/kanku/lib/Kanku/REST.pm
|
||||
|
||||
%package worker
|
||||
Summary: Worker daemon for kanku
|
||||
|
||||
Requires: kanku-common
|
||||
#Requires: %{?systemd_requires}
|
||||
Requires: perl(Net::AMQP::RabbitMQ)
|
||||
Requires: perl(UUID)
|
||||
Requires: perl(Sys::CPU)
|
||||
Requires: perl(Sys::LoadAvg)
|
||||
Requires: perl(Sys::MemInfo)
|
||||
|
||||
%description worker
|
||||
A simple remote worker for kanku based on RabbitMQ
|
||||
|
||||
%pre worker
|
||||
%service_add_pre kanku-worker.service
|
||||
|
||||
%post worker
|
||||
%service_add_post kanku-worker.service
|
||||
|
||||
%preun worker
|
||||
%service_del_preun kanku-worker.service
|
||||
|
||||
%postun worker
|
||||
%service_del_postun kanku-worker.service
|
||||
|
||||
%files worker
|
||||
%{_unitdir}/kanku-worker.service
|
||||
%{_sbindir}/rckanku-worker
|
||||
/opt/kanku/bin/kanku-worker
|
||||
/opt/kanku/lib/Kanku/Daemon/Worker.pm
|
||||
|
||||
%package dispatcher
|
||||
Summary: Dispatcher daemon for kanku
|
||||
|
||||
Requires: kanku-common
|
||||
#Requires: %{?systemd_requires}
|
||||
Requires: perl(Net::AMQP::RabbitMQ)
|
||||
Recommends: rabbitmq-server
|
||||
|
||||
%description dispatcher
|
||||
A simple dispatcher for kanku based on RabbitMQ
|
||||
|
||||
%pre dispatcher
|
||||
%service_add_pre kanku-dispatcher.service
|
||||
|
||||
%post dispatcher
|
||||
%service_add_post kanku-dispatcher.service
|
||||
|
||||
%preun dispatcher
|
||||
%service_del_preun kanku-dispatcher.service
|
||||
|
||||
%postun dispatcher
|
||||
%service_del_postun kanku-dispatcher.service
|
||||
|
||||
%files dispatcher
|
||||
%{_unitdir}/kanku-dispatcher.service
|
||||
%{_sbindir}/rckanku-dispatcher
|
||||
/opt/kanku/bin/kanku-dispatcher
|
||||
/opt/kanku/lib/Kanku/Daemon/Dispatcher.pm
|
||||
/opt/kanku/lib/Kanku/Dispatch/RabbitMQ.pm
|
||||
|
||||
%package scheduler
|
||||
Summary: Scheduler daemon for kanku
|
||||
Requires: kanku-common
|
||||
#Requires: %{?systemd_requires}
|
||||
|
||||
%description scheduler
|
||||
A simple scheduler for kanku based on RabbitMQ
|
||||
|
||||
%pre scheduler
|
||||
%service_add_pre kanku-scheduler.service
|
||||
|
||||
%post scheduler
|
||||
%service_add_post kanku-scheduler.service
|
||||
|
||||
%preun scheduler
|
||||
%service_del_preun kanku-scheduler.service
|
||||
|
||||
%postun scheduler
|
||||
%service_del_postun kanku-scheduler.service
|
||||
|
||||
%files scheduler
|
||||
%attr(755,root,root) /opt/kanku/bin/kanku-scheduler
|
||||
/opt/kanku/lib/Kanku/Daemon/Scheduler.pm
|
||||
%{_unitdir}/kanku-scheduler.service
|
||||
%{_sbindir}/rckanku-scheduler
|
||||
|
||||
%package triggerd
|
||||
Summary: Trigger daemon for kanku
|
||||
Requires: kanku-common
|
||||
#Requires: %{?systemd_requires}
|
||||
|
||||
%description triggerd
|
||||
A simple triggerd for kanku based on RabbitMQ
|
||||
|
||||
%pre triggerd
|
||||
%service_add_pre kanku-triggerd.service
|
||||
|
||||
%post triggerd
|
||||
%service_add_post kanku-triggerd.service
|
||||
|
||||
%preun triggerd
|
||||
%service_del_preun kanku-triggerd.service
|
||||
|
||||
%postun triggerd
|
||||
%service_del_postun kanku-triggerd.service
|
||||
|
||||
%files triggerd
|
||||
%attr(755,root,root) /opt/kanku/bin/kanku-triggerd
|
||||
%dir /opt/kanku/lib/Kanku/Listener
|
||||
/opt/kanku/lib/Kanku/Daemon/TriggerD.pm
|
||||
/opt/kanku/lib/Kanku/Listener/RabbitMQ.pm
|
||||
%{_unitdir}/kanku-triggerd.service
|
||||
%{_sbindir}/rckanku-triggerd
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation files for kanku
|
||||
|
||||
%description doc
|
||||
This package contains the documentation files for kanku
|
||||
|
||||
%files doc
|
||||
%{_defaultdocdir}/kanku/
|
||||
|
||||
|
||||
|
||||
%changelog
|
3
rpmlintrc
Normal file
3
rpmlintrc
Normal file
@ -0,0 +1,3 @@
|
||||
addFilter("W: non-etc-or-var-file-marked-as-conffile /opt/kanku/etc/");
|
||||
addFilter("W: suse-filelist-forbidden-opt /opt/kanku");
|
||||
addFilter("W: explicit-lib-dependency libvirt");
|
Loading…
Reference in New Issue
Block a user