mirror of
https://github.com/YunoHost-Apps/my_capsule_ynh.git
synced 2024-09-03 19:46:21 +02:00
Install gemserv in test.toml preinstall
This commit is contained in:
parent
22a435d810
commit
2a63c95c71
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
||||||
|
|
||||||
packaging_format = 2
|
packaging_format = 2
|
||||||
|
|
||||||
id = "my_capsule"
|
id = "my_capsule"
|
||||||
|
@ -77,7 +79,7 @@ ram.runtime = "50M"
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = "php8.2-fpm, php8.2-mbstring"
|
packages = "php8.2-fpm, php8.2-mbstring"
|
||||||
packages_from_raw_bash = """
|
packages_from_raw_bash = """
|
||||||
if [[ "$database" == true ]]; then
|
if [[ "$database" == true ]]; then
|
||||||
echo "mariadb-server, php8.2-mysql"
|
echo "mariadb-server, php8.2-mysql"
|
||||||
fi
|
fi
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -1,7 +1,13 @@
|
||||||
|
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json
|
||||||
|
|
||||||
test_format = 1.0
|
test_format = 1.0
|
||||||
|
|
||||||
[default]
|
[default]
|
||||||
|
|
||||||
|
preinstall = """
|
||||||
|
yunohost app install --force gemserv
|
||||||
|
"""
|
||||||
|
|
||||||
# ------------
|
# ------------
|
||||||
# Tests to run
|
# Tests to run
|
||||||
# ------------
|
# ------------
|
||||||
|
|
Loading…
Add table
Reference in a new issue