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

Skip ci check memory (#78) (#79)

* CI skip memory
This commit is contained in:
Éric Gaspar 2021-06-27 14:08:14 +02:00 committed by GitHub
parent c40349020d
commit c626379c98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 7 deletions

View file

@ -6,7 +6,7 @@
"en": "Discussion platform", "en": "Discussion platform",
"fr": "Plateforme de discussion" "fr": "Plateforme de discussion"
}, },
"version": "2.6.1~ynh1", "version": "2.6.1~ynh2",
"url": "http://Discourse.org", "url": "http://Discourse.org",
"license": "GPL-2.0", "license": "GPL-2.0",
"maintainer": { "maintainer": {

View file

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

View file

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

View file

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