Infrastruttura: nome «Rail Enterprise», CI e rilasci su Gitea, documentazione
Il progetto adotta il nome «Rail Enterprise» ovunque (codice RailEnterprise.*, variabili RE_*, intestazioni RESV/RECL, immagine rail-enterprise-server) per allinearsi al repository Gitea. Aggiunge Gitea Actions sul modello di Chronos: CI su PR e main, rilascio da tag con gioco Windows (client Godot + server in server/), server Windows/Linux e immagine Docker nel registro Gitea, nightly. Aggiunge i riferimenti visivi 06–09, i modelli di PR e issue, l'ADR 0014 e aggiorna README (comandi locali), STATE e CLAUDE.md. 120 test verdi. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f6c2a17b4d
commit
c1a0049bcf
300 files changed
+1602
-1045
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Costruisce l'immagine Docker del server con il tag della versione (da Directory.Build.props)
|
||||
# e "latest", poi la pubblica sul registry Gitea.
|
||||
# Uso: VF_REGISTRY=gitea.lan:3000/utente scripts/publish-image.sh [--no-push]
|
||||
# Uso: RE_REGISTRY=gitea.lan:3000/utente scripts/publish-image.sh [--no-push]
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
@@ -10,8 +10,8 @@ if [ -z "$version" ]; then
|
||||
echo "ERRORE: versione non trovata in Directory.Build.props" >&2
|
||||
exit 1
|
||||
fi
|
||||
registry="${VF_REGISTRY:-}"
|
||||
name="via-ferrea-server"
|
||||
registry="${RE_REGISTRY:-}"
|
||||
name="rail-enterprise-server"
|
||||
image="${registry:+$registry/}$name"
|
||||
|
||||
docker build -f docker/Dockerfile -t "$image:$version" -t "$image:latest" .
|
||||
@@ -21,7 +21,7 @@ if [ "${1:-}" = "--no-push" ]; then
|
||||
exit 0
|
||||
fi
|
||||
if [ -z "$registry" ]; then
|
||||
echo "VF_REGISTRY non impostato: immagine solo locale (usa --no-push per non vedere questo avviso)" >&2
|
||||
echo "RE_REGISTRY non impostato: immagine solo locale (usa --no-push per non vedere questo avviso)" >&2
|
||||
exit 0
|
||||
fi
|
||||
docker push "$image:$version"
|
||||
|
||||
Reference in new issue
Block a user