Publish the image on version tags and test what is delivered
A v* tag now builds, tries and publishes the image: the version must be the one of Directory.Build.props, latest only moves forward and the registry token is in one step, given to docker on its input. The same script works by hand. The image says its version and commit, and its health check also covers the engine loop and the live prices. The Unraid template is final: a test compares it with appendix E and with the variables the loader really reads, and another reads the workflow. refs #70 refs #71 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4d92a39fef
commit
3cd214ae78
16 files changed
+859
-27
No files matched your search
+7
-1
@@ -105,6 +105,12 @@ Le attività `check`, `test` e `dev` sono anche in Terminale → Esegui attivit
|
||||
|
||||
## Pacchetti e consegne
|
||||
|
||||
- **Docker**: immagine `gitea.encke-hake.ts.net/balbosoft/anubis`, pubblicata dalla CI sui tag `v*` nella sezione Packages del repository (ADR 0002). I tag `fase-N` non pubblicano nulla.
|
||||
- **Docker**: immagine `gitea.encke-hake.ts.net/balbosoft/anubis`, pubblicata dalla CI sui tag `v*` nella sezione Packages del repository (ADR 0002 e 0020). I tag `fase-N` non pubblicano nulla.
|
||||
- Prima del tag si porta `<Version>` di `Directory.Build.props` alla versione nuova: se il tag e quel numero non coincidono la pubblicazione si ferma. Il tag si mette solo quando l'utente lo chiede.
|
||||
- `vX.Y.Z` pubblica `X.Y.Z` e sposta `latest` se è la versione più alta fra i tag del repository; `vX.Y.Z-prova` pubblica solo sé stessa.
|
||||
- Servono il segreto delle Actions `REGISTRY_TOKEN` (token Gitea con il permesso `write:package`) e, se il token non è di chi mette il tag, la variabile `REGISTRY_USER`. `REGISTRY` vale `gitea.encke-hake.ts.net` se non c'è.
|
||||
- A mano, senza esecutore di Actions: `tasks ci` (costruisce e prova l'immagine `:ci`), poi da una shell Linux o Git Bash, scrivendo il token senza lasciarlo nella cronologia:
|
||||
`read -rs REGISTRY_TOKEN; export REGISTRY_TOKEN; REGISTRY=gitea.encke-hake.ts.net REGISTRY_USER=<utente> sh deploy/docker/publish.sh gitea.encke-hake.ts.net/balbosoft/anubis:ci vX.Y.Z`
|
||||
- Se il pacchetto non compare nella sezione Packages del repository, lo si collega una volta dalla sua pagina su Gitea.
|
||||
- **Windows**: installatore `Anubis.Setup` (scritto in casa, ADR 0003) costruito con `tasks desktop-win` su Windows e allegato alla release `v*`.
|
||||
- **Unraid**: `deploy/unraid/anubis.xml`, da copiare in `/boot/config/plugins/dockerMan/templates-user/`.
|
||||
Reference in new issue
Block a user