Gitea : suppression variables propres à la qualif et/ou mauvais defaults (Garbaye) - 2/2

This commit is contained in:
Gitouche 2023-02-10 16:37:14 +01:00
parent 08b3133d51
commit 806a6b0362
2 changed files with 3 additions and 4 deletions

View file

@ -11,7 +11,7 @@ gitea:
script: script:
- cd podman-gitea - cd podman-gitea
- ./ci_build-images.sh - ./ci_build-images.sh
- GARBAYE_GITEA_DOMAIN=git.garbaye.fr GARBAYE_GITEA_POSTGRES_PASSWORD=kejfczEAKjzkejklc GARBAYE_GITEA_ENV_WEBLISTENPORT=18088 GARBAYE_GITEA_ENV_SSHLISTENPORT=12222 ./05_freshinstall.sh - GARBAYE_GITEA_DOMAIN=git.garbaye.fr GARBAYE_GITEA_SMTP_FROM='git-ci@garbaye.fr' GARBAYE_GITEA_POSTGRES_PASSWORD=kejfczEAKjzkejklc GARBAYE_GITEA_ENV_WEBLISTENPORT=18088 GARBAYE_GITEA_ENV_SSHLISTENPORT=12222 ./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

@ -9,10 +9,9 @@ weblisten_if="${GARBAYE_GITEA_ENV_WEBLISTENIF:-127.0.0.1}"
weblisten_port="${GARBAYE_GITEA_ENV_WEBLISTENPORT:-8088}" weblisten_port="${GARBAYE_GITEA_ENV_WEBLISTENPORT:-8088}"
sshlisten_if="${GARBAYE_GITEA_ENV_SSHLISTENIF:-0.0.0.0}" sshlisten_if="${GARBAYE_GITEA_ENV_SSHLISTENIF:-0.0.0.0}"
sshlisten_port="${GARBAYE_GITEA_ENV_SSHLISTENPORT:-2222}" sshlisten_port="${GARBAYE_GITEA_ENV_SSHLISTENPORT:-2222}"
GARBAYE_GITEA_APPNAME="${GARBAYE_GITEA_ENV_APPNAME:-La forge Garbaye}" GARBAYE_GITEA_APPNAME="${GARBAYE_GITEA_ENV_APPNAME:-Gitea}"
GARBAYE_GITEA_SMTP_FROM="${GARBAYE_GITEA_ENV_SMTP_FROM:-git@garbaye.fr}"
## mandatory ENV vars ## mandatory ENV vars
envvars='GARBAYE_GITEA_DOMAIN GARBAYE_GITEA_POSTGRES_PASSWORD' envvars='GARBAYE_GITEA_DOMAIN GARBAYE_GITEA_POSTGRES_PASSWORD GARBAYE_GITEA_SMTP_FROM'
## internal vars : do not touch ## internal vars : do not touch
project_name=${PWD##*/} project_name=${PWD##*/}
pod_name="${project_name}" pod_name="${project_name}"