services/obs-service-gbs.git
11 years agoUse gbs-specific default repository cache directory
Markus Lehtonen [Fri, 3 May 2013 12:31:21 +0000 (15:31 +0300)]
Use gbs-specific default repository cache directory

Instead of sharing repo cache with the git-buildpackage service (by
default). This is probably safer for the future if we start to use
different repo layout/settings in the services - e.g. start to
support bare repos for the git-buildpackage service.

Change-Id: I6f3a81f4e3564409fb933ed30219610d7d094c88
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoSupport for config files
Markus Lehtonen [Tue, 23 Apr 2013 06:12:54 +0000 (09:12 +0300)]
Support for config files

Initial support for reading service configuration from a file.
Currently, there is only one configuration setting, i.e.
'repo-cache-dir'. All configuration settings can be overridden with
environment variables.

By default, the service tries to read '/etc/obs/services/gbse' and
'~/.obs/gbs'. Other file(s) can be defined with the --config cmdline
option.

Also, change each test case to be run in individual temp dir and have
individual repo cache.

Change-Id: I8dbc713eaa06875f1f1b1163b3962f491dbce4e6
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agopackaging: fix requirements for unit tests
Markus Lehtonen [Thu, 18 Apr 2013 11:34:24 +0000 (14:34 +0300)]
packaging: fix requirements for unit tests

Also don't force do_unittests in spec

Change-Id: Iaf7ec6a40c513e111fb0189db40d4eb1980d32f0
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoRename logger to LOGGER
Markus Lehtonen [Thu, 18 Apr 2013 09:55:27 +0000 (12:55 +0300)]
Rename logger to LOGGER

Adapt to new naming in obs-service-git-buildpackage.

Change-Id: Ib9b0af38f7808666da9d060cccbfaefd31ff8616
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoUpdate .gbp.conf
Markus Lehtonen [Thu, 18 Apr 2013 09:51:51 +0000 (12:51 +0300)]
Update .gbp.conf

Change-Id: I7da978d493efaf3315f591d5335e029826a0213f
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoInitial RPM packaging
Markus Lehtonen [Thu, 4 Apr 2013 12:06:15 +0000 (15:06 +0300)]
Initial RPM packaging

Change-Id: Iac1320f4629c80cb7fbed400ceb3442de40f1971
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoInitial version
Markus Lehtonen [Thu, 4 Apr 2013 08:13:39 +0000 (11:13 +0300)]
Initial version

Change-Id: I84dc4a722cee58d97c3b2cd3c32fc8379048481d
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoInitial empty repository
Eduard Bartosh [Mon, 25 Mar 2013 14:27:15 +0000 (07:27 -0700)]
Initial empty repository