Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
102
Merge Requests
102
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
fdbea181
Commit
fdbea181
authored
Oct 12, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/matomo: cleanups
parent
31514f06
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
software/matomo/software.cfg
software/matomo/software.cfg
+0
-7
software/matomo/test/test.py
software/matomo/test/test.py
+1
-1
No files found.
software/matomo/software.cfg
View file @
fdbea181
...
@@ -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
...
...
software/matomo/test/test.py
View file @
fdbea181
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment