mirror of
https://github.com/YunoHost-Apps/yunorunner_ynh.git
synced 2024-09-03 20:36:13 +02:00
commit
c342bd0a6a
5 changed files with 2 additions and 4 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
0
scripts/_common.sh
Executable file → Normal file
1
scripts/remove
Executable file → Normal file
1
scripts/remove
Executable file → Normal 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..."
|
||||||
|
|
|
@ -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/" ]]
|
||||||
|
|
Loading…
Reference in a new issue