Ajoute l'application de Brice et sa mise a jour automatique

This commit is contained in:
2026-04-13 21:42:04 +02:00
parent 90f17c9c89
commit 989b61e772
25 changed files with 2149 additions and 6 deletions

View File

@@ -25,6 +25,8 @@ Variables d'environnement reconnues :
CHESSCUBING_GIT_BRANCH
CHESSCUBING_ETHAN_REPO_URL
CHESSCUBING_ETHAN_GIT_BRANCH
CHESSCUBING_BRICE_REPO_URL
CHESSCUBING_BRICE_GIT_BRANCH
EOF
}
@@ -91,6 +93,8 @@ CTID="${CHESSCUBING_CTID:-}"
LXC_HOSTNAME="${CHESSCUBING_LXC_HOSTNAME:-chesscubing-web}"
ETHAN_REPO_URL="${CHESSCUBING_ETHAN_REPO_URL:-https://git.jeannerot.fr/Mineloulou/Chesscubing.git}"
ETHAN_REPO_BRANCH="${CHESSCUBING_ETHAN_GIT_BRANCH:-main}"
BRICE_REPO_URL="${CHESSCUBING_BRICE_REPO_URL:-https://git.jeannerot.fr/Lescratcheur/ChessCubing.git}"
BRICE_REPO_BRANCH="${CHESSCUBING_BRICE_GIT_BRANCH:-main}"
if [[ -z "$LOCAL_MODE" && -z "$PROXMOX_HOST" ]]; then
if have_cmd pct && have_cmd pveam; then
@@ -130,6 +134,8 @@ cmd=(
--branch "$REPO_BRANCH"
--ethan-repo-url "$ETHAN_REPO_URL"
--ethan-branch "$ETHAN_REPO_BRANCH"
--brice-repo-url "$BRICE_REPO_URL"
--brice-branch "$BRICE_REPO_BRANCH"
)
if [[ "$LOCAL_MODE" == "1" ]]; then