Framadate : suppression variables propres à la qualif et/ou mauvais defaults (Garbaye)

This commit is contained in:
Gitouche 2023-02-10 16:23:27 +01:00
parent 63452dee54
commit 76706acd0e
2 changed files with 3 additions and 5 deletions

View file

@ -10,7 +10,7 @@ framadate:
script: script:
- cd podman-framadate - cd podman-framadate
- ./ci_build_images.sh - ./ci_build_images.sh
- GARBAYE_FRAMADATE_ADMIN_PASSWORD=adlkjsqghen GARBAYE_FRAMADATE_MYSQL_ROOT_PASSWORD=zekjsljgnrxx GARBAYE_FRAMADATE_MYSQL_PASSWORD=azekljqlkcsdql GARBAYE_FRAMADATE_ENV_LISTENPORT=18087 ./05_freshinstall.sh - GARBAYE_FRAMADATE_DOMAIN=sondage.garbaye.fr GARBAYE_FRAMADATE_ADMIN_MAIL=contact-framadate@garbaye.fr GARBAYE_FRAMADATE_ADMIN_PASSWORD=adlkjsqghen GARBAYE_FRAMADATE_MYSQL_ROOT_PASSWORD=zekjsljgnrxx GARBAYE_FRAMADATE_MYSQL_PASSWORD=azekljqlkcsdql GARBAYE_FRAMADATE_ENV_LISTENPORT=18087 ./05_freshinstall.sh
- ./20_enable.sh - ./20_enable.sh
- ./30_start.sh && sleep 10 - ./30_start.sh && sleep 10
- ./40_stop.sh - ./40_stop.sh

View file

@ -5,11 +5,9 @@ framadate_version='1.1.19'
## default vars : override with ENV var ## default vars : override with ENV var
listen_if="${GARBAYE_FRAMADATE_ENV_LISTENIF:-127.0.0.1}" listen_if="${GARBAYE_FRAMADATE_ENV_LISTENIF:-127.0.0.1}"
listen_port="${GARBAYE_FRAMADATE_ENV_LISTENPORT:-8087}" listen_port="${GARBAYE_FRAMADATE_ENV_LISTENPORT:-8087}"
GARBAYE_FRAMADATE_APP_NAME="${GARBAYE_FRAMADATE_ENV_APP_NAME:-Framadate Garbaye}" GARBAYE_FRAMADATE_APP_NAME="${GARBAYE_FRAMADATE_ENV_APP_NAME:-Framadate}"
GARBAYE_FRAMADATE_DOMAIN="${GARBAYE_FRAMADATE_ENV_DOMAIN:-sondage.garbaye.fr}"
GARBAYE_FRAMADATE_ADMIN_MAIL="${GARBAYE_FRAMADATE_ENV_ADMIN_MAIL:-contact-framadate@garbaye.fr}"
## mandatory ENV vars ## mandatory ENV vars
envvars='GARBAYE_FRAMADATE_ADMIN_PASSWORD GARBAYE_FRAMADATE_MYSQL_ROOT_PASSWORD GARBAYE_FRAMADATE_MYSQL_PASSWORD' envvars='GARBAYE_FRAMADATE_DOMAIN GARBAYE_FRAMADATE_ADMIN_MAIL GARBAYE_FRAMADATE_ADMIN_PASSWORD GARBAYE_FRAMADATE_MYSQL_ROOT_PASSWORD GARBAYE_FRAMADATE_MYSQL_PASSWORD'
## internal vars : do not touch ## internal vars : do not touch
project_name=${PWD##*/} project_name=${PWD##*/}
pod_name="pod_${project_name}" pod_name="pod_${project_name}"