Commit fdbea181 authored by Jérome Perrin's avatar Jérome Perrin

software/matomo: cleanups

parent 31514f06
...@@ -6,14 +6,9 @@ extends = ...@@ -6,14 +6,9 @@ extends =
../../component/diffutils/buildout.cfg ../../component/diffutils/buildout.cfg
parts = parts =
# Call installation of slapos.cookbook egg defined in stack/slapos.cfg (needed
# in 99,9% of Slapos Software Releases)
slapos-cookbook slapos-cookbook
# to create file instance.cfg of all instances
lamp-instance lamp-instance
# download bas
# inherited by modules that need to download files
[matomo-download] [matomo-download]
recipe = slapos.recipe.build:download recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:filename} url = ${:_profile_base_location_}/${:filename}
...@@ -25,8 +20,6 @@ url = https://builds.matomo.org/matomo-4.15.1.zip ...@@ -25,8 +20,6 @@ url = https://builds.matomo.org/matomo-4.15.1.zip
md5sum = d7d2c4f94cb77af859d0cee8e9e0dbdb md5sum = d7d2c4f94cb77af859d0cee8e9e0dbdb
archive-root = matomo archive-root = matomo
# give the location of the instance-matomo.cfg fil
# Without it the instance-matomo.cfg file will not be executed
[custom-application-deployment] [custom-application-deployment]
path = ${template-matomo-instance:output} path = ${template-matomo-instance:output}
part-list = matomo-backup.sh matomo-backup-cron part-list = matomo-backup.sh matomo-backup-cron
......
...@@ -59,7 +59,7 @@ class MatomoTestCase(SlapOSInstanceTestCase): ...@@ -59,7 +59,7 @@ class MatomoTestCase(SlapOSInstanceTestCase):
#Check if matomo root directory is empty #Check if matomo root directory is empty
def test_matomo_dir(self): def test_matomo_dir(self):
self.assertEqual(os.path.isfile(self.matomo_path),False) self.assertEqual(os.path.isfile(self.matomo_path),False)
#Check deployement matomo works #Check deployement matomo works
def test_matomo_url_get(self): def test_matomo_url_get(self):
resp = requests.get(self.connection_parameters['backend-url'], verify=False) resp = requests.get(self.connection_parameters['backend-url'], verify=False)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment