X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=trusty%2Fdebian%2Frules;h=b17160a3d2495829bb3d585ca39c399c754c0bba;hb=ba604594965e9ab8cd121d28ec161f4ca6473f82;hp=1d6cd3abeb5107708d74f8020ceb6b10e38aade5;hpb=5ad49ac6866ab4648551cc4bac92fa2d917cfcb9;p=openstack-build%2Fceilometer-build.git diff --git a/trusty/debian/rules b/trusty/debian/rules index 1d6cd3a..b17160a 100755 --- a/trusty/debian/rules +++ b/trusty/debian/rules @@ -20,8 +20,11 @@ override_dh_install: # Manage ceilometer.conf mkdir -p $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common - PYTHONPATH=. bash tools/config/generate_sample.sh -b . -p ceilometer -o $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common - mv $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf.sample $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf + oslo-config-generator --output-file $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf \ + --namespace ceilometer \ + --namespace oslo.db \ + --namespace oslo.messaging \ + --namespace keystonemiddleware.auth_token sed -i 's|[# \t]*auth_protocol[\t ]*=.*|auth_protocol=http|' $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf chmod 0644 $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf sed -i 's|#connection=.*|connection=mongodb://localhost:27017/ceilometer|' $(CURDIR)/debian/ceilometer-common/usr/share/ceilometer-common/ceilometer.conf @@ -45,7 +48,7 @@ ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) testr init set -e && \ TEMP_REZ=`mktemp -t` && \ - bash -x ./setup-test-env.sh testr run --subunit 'tests\.(?!.*test_bin.*)' | tee $$TEMP_REZ | subunit2pyunit || true ; \ + bash -x ./setup-test-env-mongodb.sh testr run --subunit 'tests\.(?!.*test_bin.*)' | tee $$TEMP_REZ | subunit2pyunit || true ; \ cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats || true ; \ rm -f $$TEMP_REZ ; testr slowest