1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dex_ynh.git synced 2024-09-03 18:26:22 +02:00

Merge pull request #7 from YunoHost-Apps/testing

Fix Bullseye and web UI installation
This commit is contained in:
Limezy 2022-04-04 18:06:58 +07:00 committed by GitHub
commit 5305c7eb70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 15 deletions

View file

@ -24,7 +24,7 @@ This Yunohost package will install Dex and setup a canonical OpenID Connect prov
- Interfaced with Yunohost's LDAP server
**Shipped version:** 2.31.1~ynh1
**Shipped version:** 2.31.1~ynh2
@ -37,10 +37,6 @@ This Yunohost package will install Dex and setup a canonical OpenID Connect prov
### Known limitations :
* Can't be installed yet using the web UI. You have to use the CLI
```
sudo yunohost app install https://github.com/Yunohost-Apps/dex_ynh
```
* Only tested on x86 architectures
* Dex only allows you to setup one OpenID Connect app at a time
* However, it's a working multi-instance app, so you can install it more than once

View file

@ -20,7 +20,7 @@ This Yunohost package will install Dex and setup a canonical OpenID Connect prov
- Interfaced with Yunohost's LDAP server
**Version incluse :** 2.31.1~ynh1
**Version incluse :** 2.31.1~ynh2
@ -33,10 +33,6 @@ This Yunohost package will install Dex and setup a canonical OpenID Connect prov
### Known limitations :
* Can't be installed yet using the web UI. You have to use the CLI
```
sudo yunohost app install https://github.com/Yunohost-Apps/dex_ynh
```
* Only tested on x86 architectures
* Dex only allows you to setup one OpenID Connect app at a time
* However, it's a working multi-instance app, so you can install it more than once

View file

@ -1,9 +1,5 @@
### Known limitations :
* Can't be installed yet using the web UI. You have to use the CLI
```
sudo yunohost app install https://github.com/Yunohost-Apps/dex_ynh
```
* Only tested on x86 architectures
* Dex only allows you to setup one OpenID Connect app at a time
* However, it's a working multi-instance app, so you can install it more than once

View file

@ -5,7 +5,7 @@
"description": {
"en": "OpenID Connect Provider based on Yunohost LDAP server"
},
"version": "2.31.1~ynh1",
"version": "2.31.1~ynh2",
"url": "https://github.com/YunoHost-Apps/dex_ynh",
"upstream": {
"license": "Apache-2.0",

View file

@ -117,10 +117,13 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION
pushd "$final_path"
# Setup go exe and environnement
ynh_use_go
export GOPATH="$final_path/go"
export GOCACHE="$final_path/go/.cache"
# Build server from source
make build 2>&1
# Setup a nice Yunohost logo
cp /usr/share/yunohost/admin/img/logo.08bab97e.png web/themes/light/logo.png
ynh_secure_remove --file="$final_path/go"
popd
ynh_remove_go

View file

@ -99,10 +99,13 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION
pushd "$final_path"
# Setup go exe and environnement
ynh_use_go
export GOPATH="$final_path/go"
export GOCACHE="$final_path/go/.cache"
# Build server from source
make build 2>&1
# Setup a nice Yunohost logo
cp /usr/share/yunohost/admin/img/logo.08bab97e.png web/themes/light/logo.png
ynh_secure_remove --file="$final_path/go"
popd
ynh_remove_go