[dd-ctl] Moodle plugins install: reduce verbosity
This was polluting the logs making debugging difficult.mejoras_instalacion
parent
66e009abff
commit
397655232f
18
dd-ctl
18
dd-ctl
|
@ -554,17 +554,17 @@ upgrade_plugins_moodle(){
|
||||||
mkdir -p /tmp/moodle/blocks
|
mkdir -p /tmp/moodle/blocks
|
||||||
|
|
||||||
curl --location "${MOODLE_PLUGIN_JITSI_OVERRIDE:-https://moodle.org/plugins/download.php/27002/mod_jitsi_moodle40_2022070602.zip}" > jitsi.zip
|
curl --location "${MOODLE_PLUGIN_JITSI_OVERRIDE:-https://moodle.org/plugins/download.php/27002/mod_jitsi_moodle40_2022070602.zip}" > jitsi.zip
|
||||||
unzip jitsi.zip -d /tmp/moodle/mod/
|
unzip -q jitsi.zip -d /tmp/moodle/mod/
|
||||||
rm jitsi.zip
|
rm jitsi.zip
|
||||||
|
|
||||||
curl --location "${MOODLE_PLUGIN_BBB_OVERRIDE:-https://moodle.org/plugins/download.php/26792/mod_bigbluebuttonbn_moodle311_2019101014.zip}" > bbb.zip
|
curl --location "${MOODLE_PLUGIN_BBB_OVERRIDE:-https://moodle.org/plugins/download.php/26792/mod_bigbluebuttonbn_moodle311_2019101014.zip}" > bbb.zip
|
||||||
unzip bbb.zip -d /tmp/moodle/mod/
|
unzip -q bbb.zip -d /tmp/moodle/mod/
|
||||||
rm bbb.zip
|
rm bbb.zip
|
||||||
|
|
||||||
# curl --location https://github.com/isard-vdi/moodle-auth_saml2/archive/refs/heads/role_map.zip > auth_saml2.zip
|
# curl --location https://github.com/isard-vdi/moodle-auth_saml2/archive/refs/heads/role_map.zip > auth_saml2.zip
|
||||||
# curl --location https://moodle.org/plugins/download.php/24556/auth_saml2_moodle311_2021062900.zip > auth_saml2.zip
|
# curl --location https://moodle.org/plugins/download.php/24556/auth_saml2_moodle311_2021062900.zip > auth_saml2.zip
|
||||||
curl --location "${MOODLE_PLUGIN_SAML_OVERRIDE:-https://github.com/isard-vdi/moodle-auth_saml2/archive/refs/heads/role_map.zip}" > auth_saml2.zip
|
curl --location "${MOODLE_PLUGIN_SAML_OVERRIDE:-https://github.com/isard-vdi/moodle-auth_saml2/archive/refs/heads/role_map.zip}" > auth_saml2.zip
|
||||||
unzip auth_saml2.zip -d /tmp/moodle/auth/
|
unzip -q auth_saml2.zip -d /tmp/moodle/auth/
|
||||||
mv /tmp/moodle/auth/moodle-auth_saml2-role_map/* /tmp/moodle/auth/saml2/
|
mv /tmp/moodle/auth/moodle-auth_saml2-role_map/* /tmp/moodle/auth/saml2/
|
||||||
rm -rf /tmp/moodle/auth/moodle-auth_saml2-role_map
|
rm -rf /tmp/moodle/auth/moodle-auth_saml2-role_map
|
||||||
rm auth_saml2.zip
|
rm auth_saml2.zip
|
||||||
|
@ -576,7 +576,7 @@ upgrade_plugins_moodle(){
|
||||||
PLUGIN_BRANCH=master
|
PLUGIN_BRANCH=master
|
||||||
fi
|
fi
|
||||||
curl --location "${MOODLE_PLUGIN_TRESIPUNTSHARE_OVERRIDE:-${M3IPSHARE}}" > tresipuntshare.zip
|
curl --location "${MOODLE_PLUGIN_TRESIPUNTSHARE_OVERRIDE:-${M3IPSHARE}}" > tresipuntshare.zip
|
||||||
unzip tresipuntshare.zip -d /tmp/moodle/mod/
|
unzip -q tresipuntshare.zip -d /tmp/moodle/mod/
|
||||||
mv /tmp/moodle/mod/moodle_mod_tresipuntshare-$PLUGIN_BRANCH /tmp/moodle/mod/tresipuntshare
|
mv /tmp/moodle/mod/moodle_mod_tresipuntshare-$PLUGIN_BRANCH /tmp/moodle/mod/tresipuntshare
|
||||||
rm tresipuntshare.zip
|
rm tresipuntshare.zip
|
||||||
M3IPVIDEO="https://github.com/3iPunt/moodle_mod_tresipuntvideo/archive/refs/heads/master.zip"
|
M3IPVIDEO="https://github.com/3iPunt/moodle_mod_tresipuntvideo/archive/refs/heads/master.zip"
|
||||||
|
@ -587,7 +587,7 @@ upgrade_plugins_moodle(){
|
||||||
PLUGIN_BRANCH=master
|
PLUGIN_BRANCH=master
|
||||||
fi
|
fi
|
||||||
curl --location "${MOODLE_PLUGIN_TRESIPUNTVIDEO_OVERRIDE:-${M3IPVIDEO}}" > tresipuntvideo.zip
|
curl --location "${MOODLE_PLUGIN_TRESIPUNTVIDEO_OVERRIDE:-${M3IPVIDEO}}" > tresipuntvideo.zip
|
||||||
unzip tresipuntvideo.zip -d /tmp/moodle/mod/
|
unzip -q tresipuntvideo.zip -d /tmp/moodle/mod/
|
||||||
mv /tmp/moodle/mod/moodle_mod_tresipuntvideo-$PLUGIN_BRANCH /tmp/moodle/mod/tresipuntvideo
|
mv /tmp/moodle/mod/moodle_mod_tresipuntvideo-$PLUGIN_BRANCH /tmp/moodle/mod/tresipuntvideo
|
||||||
rm tresipuntvideo.zip
|
rm tresipuntvideo.zip
|
||||||
M3IPAUDIO="https://github.com/3iPunt/moodle_mod_tresipuntaudio/archive/refs/heads/master.zip"
|
M3IPAUDIO="https://github.com/3iPunt/moodle_mod_tresipuntaudio/archive/refs/heads/master.zip"
|
||||||
|
@ -598,7 +598,7 @@ upgrade_plugins_moodle(){
|
||||||
PLUGIN_BRANCH=master
|
PLUGIN_BRANCH=master
|
||||||
fi
|
fi
|
||||||
curl --location "${MOODLE_PLUGIN_TRESIPUNTAUDIO_OVERRIDE:-${M3IPAUDIO}}" > tresipuntaudio.zip
|
curl --location "${MOODLE_PLUGIN_TRESIPUNTAUDIO_OVERRIDE:-${M3IPAUDIO}}" > tresipuntaudio.zip
|
||||||
unzip tresipuntaudio.zip -d /tmp/moodle/mod/
|
unzip -q tresipuntaudio.zip -d /tmp/moodle/mod/
|
||||||
mv /tmp/moodle/mod/moodle_mod_tresipuntaudio-$PLUGIN_BRANCH /tmp/moodle/mod/tresipuntaudio
|
mv /tmp/moodle/mod/moodle_mod_tresipuntaudio-$PLUGIN_BRANCH /tmp/moodle/mod/tresipuntaudio
|
||||||
rm tresipuntaudio.zip
|
rm tresipuntaudio.zip
|
||||||
M3IPSUBMISSION="https://github.com/3iPunt/moodle_assignsubmission_tipnc/archive/refs/heads/master.zip"
|
M3IPSUBMISSION="https://github.com/3iPunt/moodle_assignsubmission_tipnc/archive/refs/heads/master.zip"
|
||||||
|
@ -609,13 +609,13 @@ upgrade_plugins_moodle(){
|
||||||
PLUGIN_BRANCH=master
|
PLUGIN_BRANCH=master
|
||||||
fi
|
fi
|
||||||
curl --location "${MOODLE_PLUGIN_ASSIGNSUBMISSION_OVERRIDE:-${M3IPSUBMISSION}}" > assignsubmission_tipnc.zip
|
curl --location "${MOODLE_PLUGIN_ASSIGNSUBMISSION_OVERRIDE:-${M3IPSUBMISSION}}" > assignsubmission_tipnc.zip
|
||||||
unzip assignsubmission_tipnc.zip -d /tmp/moodle/mod/assign/submission/
|
unzip -q assignsubmission_tipnc.zip -d /tmp/moodle/mod/assign/submission/
|
||||||
mv /tmp/moodle/mod/assign/submission/moodle_assignsubmission_tipnc-$PLUGIN_BRANCH /tmp/moodle/mod/assign/submission/tipnc
|
mv /tmp/moodle/mod/assign/submission/moodle_assignsubmission_tipnc-$PLUGIN_BRANCH /tmp/moodle/mod/assign/submission/tipnc
|
||||||
rm assignsubmission_tipnc.zip
|
rm assignsubmission_tipnc.zip
|
||||||
M3IPSPEND="https://github.com/3iPunt/moodle_block_tresipuntmodspend/archive/refs/heads/master.zip"
|
M3IPSPEND="https://github.com/3iPunt/moodle_block_tresipuntmodspend/archive/refs/heads/master.zip"
|
||||||
|
|
||||||
curl --location "${MOODLE_PLUGIN_TRESIPUNTMODSPEND_OVERRIDE:-${M3IPSPEND}}" > block_tresipuntmodspend.zip
|
curl --location "${MOODLE_PLUGIN_TRESIPUNTMODSPEND_OVERRIDE:-${M3IPSPEND}}" > block_tresipuntmodspend.zip
|
||||||
unzip block_tresipuntmodspend.zip -d /tmp/moodle/blocks/
|
unzip -q block_tresipuntmodspend.zip -d /tmp/moodle/blocks/
|
||||||
rm block_tresipuntmodspend.zip
|
rm block_tresipuntmodspend.zip
|
||||||
M3IPCBE="https://github.com/3iPunt/moodle_theme_cbe/archive/refs/heads/master.zip"
|
M3IPCBE="https://github.com/3iPunt/moodle_theme_cbe/archive/refs/heads/master.zip"
|
||||||
|
|
||||||
|
@ -625,7 +625,7 @@ upgrade_plugins_moodle(){
|
||||||
PLUGIN_BRANCH=master
|
PLUGIN_BRANCH=master
|
||||||
fi
|
fi
|
||||||
curl --location "${MOODLE_THEME_CBE_OVERRIDE:-${M3IPCBE}}" > tresipunt_theme_cbe.zip
|
curl --location "${MOODLE_THEME_CBE_OVERRIDE:-${M3IPCBE}}" > tresipunt_theme_cbe.zip
|
||||||
unzip tresipunt_theme_cbe.zip -d /tmp/moodle/theme/cbe/
|
unzip -q tresipunt_theme_cbe.zip -d /tmp/moodle/theme/cbe/
|
||||||
mv /tmp/moodle/theme/cbe/moodle_theme_cbe-$PLUGIN_BRANCH/* /tmp/moodle/theme/cbe/
|
mv /tmp/moodle/theme/cbe/moodle_theme_cbe-$PLUGIN_BRANCH/* /tmp/moodle/theme/cbe/
|
||||||
rm tresipunt_theme_cbe.zip
|
rm tresipunt_theme_cbe.zip
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue