mirror of
https://github.com/YunoHost-Apps/code-server_ynh.git
synced 2024-09-03 18:16:28 +02:00
More log output for CI
This commit is contained in:
parent
21e82e1150
commit
6c842e6136
2 changed files with 10 additions and 8 deletions
|
@ -54,18 +54,20 @@ function set_node_vars {
|
||||||
function build_app {
|
function build_app {
|
||||||
set_node_vars
|
set_node_vars
|
||||||
|
|
||||||
|
set +x
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
chown -R $admin:$admin "$final_path"
|
chown -R $admin:$admin "$final_path"
|
||||||
sudo -u $admin touch $final_path/.yarnrc
|
sudo -u $admin touch $final_path/.yarnrc
|
||||||
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" config set python python3 2>&1
|
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" config set python python3 1>&2
|
||||||
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" install 2>&1
|
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" install 1>&2
|
||||||
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" build 2>&1
|
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" build 1>&2
|
||||||
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" build:vscode 2>&1
|
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" build:vscode 1>&2
|
||||||
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" release 2>&1
|
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" release 1>&2
|
||||||
cd release
|
cd release
|
||||||
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" install --production 2>&1
|
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" install --production 1>&2
|
||||||
cd ..
|
cd ..
|
||||||
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" release:standalone 2>&1
|
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" release:standalone 1>&2
|
||||||
popd
|
popd
|
||||||
|
|
||||||
set_permissions
|
set_permissions
|
||||||
|
|
|
@ -88,7 +88,7 @@ install_dependencies
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Setting up source files..."--weight=25
|
ynh_script_progression --message="Setting up source files..." --weight=25
|
||||||
|
|
||||||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||||
ynh_app_setting_set --app=$app --key=data_path --value=$data_path
|
ynh_app_setting_set --app=$app --key=data_path --value=$data_path
|
||||||
|
|
Loading…
Add table
Reference in a new issue