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 #31 from YunoHost-Apps/testing

Testing
This commit is contained in:
Limezy 2022-11-12 23:22:05 +07:00 committed by GitHub
commit 987f98d956
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 13 additions and 15 deletions

View file

@ -24,8 +24,7 @@ This Yunohost package will install Dex and setup a canonical OpenID Connect prov
- Interfaced with Yunohost's LDAP server
**Shipped version:** 2.35.1~ynh1
**Shipped version:** 2.35.3~ynh1
## Screenshots

View file

@ -24,8 +24,7 @@ This Yunohost package will install Dex and setup a canonical OpenID Connect prov
- Interfaced with Yunohost's LDAP server
**Version incluse :** 2.35.1~ynh1
**Version incluse :** 2.35.3~ynh1
## Captures d'écran

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/dexidp/dex/archive/refs/tags/v2.35.1.tar.gz
SOURCE_SUM=03f2696e9ee32665ecc22bb2caf581952fc032cf760002f90f1db24447ad7ebb
SOURCE_URL=https://github.com/dexidp/dex/archive/refs/tags/v2.35.3.tar.gz
SOURCE_SUM=c62c40fd9d0e5b82dd18d62e4302262f2fb9defa63468c79cdd2193f048ce4d1
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_EXTRACT=true

View file

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

View file

@ -121,13 +121,15 @@ pushd "$final_path"
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
# Setup a nice Yunohost logo
cp ../sources/logo_dark.png "$final_path/web/themes/dark/logo.png"
cp ../sources/logo_light.png "$final_path/web/themes/light/logo.png"
#=================================================
# ADD A CONFIGURATION
#=================================================

View file

@ -103,13 +103,15 @@ pushd "$final_path"
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
# Setup a nice Yunohost logo
cp ../sources/logo_dark.png "$final_path/web/themes/dark/logo.png"
cp ../sources/logo_light.png "$final_path/web/themes/light/logo.png"
#=================================================
# UPDATE A CONFIG FILE
#=================================================

View file

@ -1,2 +0,0 @@
*~
*.sw[op]

BIN
sources/logo_dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

BIN
sources/logo_light.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -1,2 +0,0 @@
*~
*.sw[op]