mirror of
https://github.com/YunoHost-Apps/dont-code_ynh.git
synced 2024-09-03 18:26:34 +02:00
Trying again to install Mongo 6.0 bullseye in CI server
This commit is contained in:
parent
48f6959e84
commit
038aa1d8f1
2 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
#=================================================
|
#=================================================
|
||||||
java_version=17
|
java_version=17
|
||||||
|
|
||||||
mongo_version=4.4
|
mongo_version=6.0
|
||||||
|
|
||||||
# Java dependencies used by the app will be installed through the Java helper
|
# Java dependencies used by the app will be installed through the Java helper
|
||||||
pkg_dependencies=""
|
pkg_dependencies=""
|
||||||
|
|
|
@ -312,8 +312,8 @@ ynh_install_mongo() {
|
||||||
ynh_handle_getopts_args "$@"
|
ynh_handle_getopts_args "$@"
|
||||||
mongo_version="${mongo_version:-$YNH_MONGO_VERSION}"
|
mongo_version="${mongo_version:-$YNH_MONGO_VERSION}"
|
||||||
|
|
||||||
ynh_print_info --message="Installing MongoDB Community Edition..."
|
ynh_print_info --message="Installing MongoDB Community Edition ..."
|
||||||
ynh_install_extra_app_dependencies --repo="deb http://repo.mongodb.org/apt/debian buster/mongodb-org/$mongo_version main" --package="mongodb-org mongodb-org-server mongodb-org-tools mongodb-mongosh" --key="https://www.mongodb.org/static/pgp/server-$mongo_version.asc"
|
ynh_install_extra_app_dependencies --repo="deb http://repo.mongodb.org/apt/debian $(ynh_get_debian_release)/mongodb-org/$mongo_version main" --package="mongodb-org mongodb-org-server mongodb-org-tools mongodb-mongosh" --key="https://www.mongodb.org/static/pgp/server-$mongo_version.asc"
|
||||||
mongodb_servicename=mongod
|
mongodb_servicename=mongod
|
||||||
|
|
||||||
# Make sure MongoDB is started and enabled
|
# Make sure MongoDB is started and enabled
|
||||||
|
|
Loading…
Add table
Reference in a new issue