1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yunorunner_ynh.git synced 2024-09-03 20:36:13 +02:00

Merge pull request #12 from YunoHost-Apps/testing

Few improvments
This commit is contained in:
yalh76 2021-04-28 02:08:35 +02:00 committed by GitHub
commit c342bd0a6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 2 additions and 4 deletions

View file

@ -29,7 +29,7 @@ YunoRunner is our own CI runner for YunoHost Apps
## Limitations ## Limitations
* You need to install [CI_package_check](https://github.com/YunoHost/CI_package_check) using the build_CI.sh script before installing YunoRunner * You need to install [CI_package_check](https://github.com/YunoHost/CI_package_check) using the build_CI.sh script before installing YunoRunner
* When YunoRunner is installed, modify the systemd script to add the path of the script analyseCI.sh. The default systemd is configured to /home/CI_package_check/analyseCI.sh * When YunoRunner is installed, modify the systemd script to add the path of the script analyseCI.sh. The default systemd is configured to `/home/CI_package_check/analyseCI.sh`
## Links ## Links

View file

@ -20,7 +20,6 @@
upgrade=1 from_commit=f0e9373aa2403bf04f84c67646ac5d34376b7959 upgrade=1 from_commit=f0e9373aa2403bf04f84c67646ac5d34376b7959
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
incorrect_path=1
port_already_use=1 (4242) port_already_use=1 (4242)
change_url=1 change_url=1
;;; Options ;;; Options

0
scripts/_common.sh Executable file → Normal file
View file

1
scripts/remove Executable file → Normal file
View file

@ -26,7 +26,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
# REMOVE SERVICE INTEGRATION IN YUNOHOST # REMOVE SERVICE INTEGRATION IN YUNOHOST
#================================================= #=================================================
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
if ynh_exec_warn_less yunohost service status $app >/dev/null if ynh_exec_warn_less yunohost service status $app >/dev/null
then then
ynh_script_progression --message="Removing $app service integration..." ynh_script_progression --message="Removing $app service integration..."

View file

@ -36,7 +36,7 @@ ynh_script_progression --message="Ensuring downward compatibility..."
# If port doesn't exist, create it # If port doesn't exist, create it
if [ -z "$port" ]; then if [ -z "$port" ]; then
port=4242 port=4242
ynh_app_setting_set $app port $port ynh_app_setting_set --app=$app --key=port --value=$port
fi fi
if [[ ! -d "$final_path/.git/" ]] if [[ ! -d "$final_path/.git/" ]]