1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00

bypass check_memory for CI

This commit is contained in:
ericgaspar 2021-06-06 22:38:26 +02:00
parent 8afa3c250a
commit 87db34f166
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 18 additions and 6 deletions

View file

@ -43,8 +43,12 @@ test ! -e "$final_path" || ynh_die --message="This path already contains a folde
# Register (book) web path
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
# Check memory requirements
#check_memory_requirements
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
:
else
# Check memory requirements
check_memory_requirements
fi
#=================================================
# STORE SETTINGS FROM MANIFEST

View file

@ -44,8 +44,12 @@ ynh_webpath_available --domain=$domain --path_url=$path_url \
test ! -d $final_path \
|| ynh_die --message="There is already a directory: $final_path "
# Check memory requirements
#check_memory_requirements
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
:
else
# Check memory requirements
check_memory_requirements
fi
#=================================================
# STANDARD RESTORATION STEPS

View file

@ -26,8 +26,12 @@ redis_db=$(ynh_app_setting_get --app=$app --key=redis_db)
unicorn_workers=$(ynh_app_setting_get --app=$app --key=unicorn_workers)
email=$(ynh_app_setting_get --app=$app --key=email)
# Check memory requirements
#check_memory_requirements_upgrade
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
:
else
# Check memory requirements
check_memory_requirements
fi
#=================================================
# CHECK VERSION