CI e installatore: commenti degli script in inglese (#43)
La regola del progetto è «codice e commenti in inglese; interfaccia, documenti e messaggi in italiano», e gli script di .gitea/ (script e flussi), di installer/ e docker/entrypoint.sh avevano ancora i commenti in italiano (decisione di Alberto del 29 novembre 2026). Cambiano solo i commenti: i messaggi che una persona legge (echo, ::warning::, ::error::, nomi dei passi, note della release) restano in italiano e nessun comando cambia. I programmi awk e gli script finti delle prove erano già in inglese. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f48384b7d4
commit
009e7d6710
18 files changed
+496
-495
No files matched your search
@@ -1,22 +1,22 @@
|
||||
# Pulizia del lunedì (alle 4:17, ora del server di Gitea) e a mano (Actions ▸ pulizia ▸ Esegui) del demone Docker del
|
||||
# runner e del registro dei container. A mano, con «Solo prova» spuntato, elenca che cosa toglierebbe e non toglie
|
||||
# nulla: da lanciare prima della prima pulizia vera e dopo ogni cambio dello script.
|
||||
# Ogni esecuzione di verifica e di rilascio toglie già ciò che crea e, per tutti, le immagini senza nome e la cache di
|
||||
# costruzione penzolante non usata da 24 ore. Qui, dal 21 ottobre 2026 (decisione di Alberto: eliminare tutto ciò che
|
||||
# non serve più), si toglie anche ciò che non serve più a nessuno, di qualunque progetto (pulizia-docker.sh completa):
|
||||
# - i resti della CI di Febe: contenitori di prova fermi (etichetta febe.ci.prova e nome febe-prova-<esecuzione>, mai
|
||||
# le etichette febe.ci.* che un Febe vero eredita dall'immagine), nomi locali febe-ci:<esecuzione>, builder
|
||||
# febe-ci-<esecuzione>, l'immagine febe:ci del vecchio flusso;
|
||||
# - i resti di act_runner: contenitori fermi, volumi e reti GITEA-ACTIONS-TASK-… che nessun contenitore usa, più
|
||||
# vecchi di 90 minuti;
|
||||
# - le immagini che nessun contenitore usa, né acceso né fermo, create più di 24 ore fa (di un'immagine in uso Docker
|
||||
# toglie i nomi in più), e la cache di costruzione del demone non usata da 24 ore. Le immagini di base
|
||||
# (debian:trixie, moby/buildkit, …) si riscaricano alla prima esecuzione che le chiede;
|
||||
# - con il segreto REGISTRY_TOKEN, le etichette sha- del registro oltre le 10 più recenti, mai main, latest o X.Y.Z,
|
||||
# e gli artefatti della CI (pacchetto generico febe-ci, artefatti.sh) creati più di 14 giorni fa.
|
||||
# Mai system prune, container prune, volume prune o network prune; mai un contenitore, un volume o una rete che non sia
|
||||
# della CI. Un contenitore di prova ancora acceso si segnala e il lavoro diventa rosso; un rifiuto dell'API del
|
||||
# registro è solo un avviso. Dettagli in .gitea/scripts/pulizia-docker.sh e in docs/processo.md, «Pulizia».
|
||||
# Monday cleanup (at 4:17, Gitea server time) and by hand (Actions ▸ pulizia ▸ Esegui) of the runner's Docker daemon and
|
||||
# of the container registry. By hand, with «Solo prova» ticked, it lists what it would remove and removes nothing: to
|
||||
# be run before the first real cleanup and after every change to the script.
|
||||
# Every verification and release run already removes what it creates and, for everyone, the unnamed images and the
|
||||
# dangling build cache unused for 24 hours. Here, since 21 October 2026 (decision of Alberto: delete everything that
|
||||
# is no longer needed), what nobody needs any more is removed too, of any project (pulizia-docker.sh completa):
|
||||
# - the leftovers of the Febe CI: stopped test containers (label febe.ci.prova and name febe-prova-<esecuzione>,
|
||||
# never the febe.ci.* labels a real Febe inherits from the image), local names febe-ci:<esecuzione>, builders
|
||||
# febe-ci-<esecuzione>, the febe:ci image of the old workflow;
|
||||
# - the leftovers of act_runner: stopped containers, volumes and networks GITEA-ACTIONS-TASK-… no container uses,
|
||||
# older than 90 minutes;
|
||||
# - the images no container uses, running or stopped, created more than 24 hours ago (from an image in use Docker
|
||||
# removes the extra names), and the daemon's build cache unused for 24 hours. The base images (debian:trixie,
|
||||
# moby/buildkit, …) are downloaded again by the first run that asks for them;
|
||||
# - with the REGISTRY_TOKEN secret, the registry's sha- tags beyond the 10 most recent, never main, latest or X.Y.Z,
|
||||
# and the CI artifacts (generic package febe-ci, artefatti.sh) created more than 14 days ago.
|
||||
# Never system prune, container prune, volume prune or network prune; never a container, a volume or a network that
|
||||
# does not belong to the CI. A test container still running is reported and the job turns red; a refusal by the
|
||||
# registry API is only a warning. Details in .gitea/scripts/pulizia-docker.sh and in docs/processo.md, «Pulizia».
|
||||
name: pulizia
|
||||
|
||||
on:
|
||||
@@ -67,9 +67,10 @@ jobs:
|
||||
git checkout -q --force --detach "$GITHUB_SHA"
|
||||
git log -1 --format='Commit %h: %s'
|
||||
|
||||
# Gitea 28 mette nell'evento la casella «prova» come testo, "true" o "false"; il lunedì l'evento non ha input e
|
||||
# la pulizia è quella vera. Un avvio con l'API passa il valore così com'è: qualunque altro («True», «1») ferma il
|
||||
# lavoro senza toccare nulla. Il token del registro va solo nell'ambiente di questo passo e non si stampa mai.
|
||||
# Gitea 28 puts the «prova» checkbox in the event as text, "true" or "false"; on Monday the event has no inputs
|
||||
# and the cleanup is the real one. A start through the API passes the value as it is: any other («True», «1»)
|
||||
# stops the job without touching anything. The registry token goes only into this step's environment and is
|
||||
# never printed.
|
||||
- name: Pulizia completa del demone Docker e del registro
|
||||
env:
|
||||
PROVA: ${{ gitea.event.inputs.prova }}
|
||||
|
||||
Reference in new issue
Block a user