refac: rename generic package hosted -> freeradius-hosted
Owner-scoped package registry (pub) hosts all freeradius artifacts; give the bare-metal bundle a self-explanatory name. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -134,11 +134,11 @@ jobs:
|
||||
run: |
|
||||
set -euo pipefail
|
||||
chmod +x packaging/hosted/install.sh packaging/hosted/update.sh
|
||||
tar -czf hosted.tar.gz -C packaging hosted
|
||||
tar -czf freeradius-hosted.tar.gz -C packaging hosted
|
||||
ver="${{ needs.prepare.outputs.version }}"
|
||||
curl -fsSL --user "$PKG_USER:$PKG_TOKEN" \
|
||||
--upload-file hosted.tar.gz \
|
||||
"https://${{ env.REGISTRY }}/api/packages/${{ env.OWNER }}/generic/hosted/${ver}/hosted.tar.gz"
|
||||
--upload-file freeradius-hosted.tar.gz \
|
||||
"https://${{ env.REGISTRY }}/api/packages/${{ env.OWNER }}/generic/freeradius-hosted/${ver}/freeradius-hosted.tar.gz"
|
||||
|
||||
package-helm:
|
||||
needs: [prepare, build-image]
|
||||
|
||||
@@ -31,7 +31,7 @@ charts/
|
||||
|----------|----------|
|
||||
| `.deb` packages | `https://git.ahax86.ru/api/packages/pub/debian` (`noble main`) |
|
||||
| Container image | `git.ahax86.ru/pub/freeradius:<version>` |
|
||||
| Hosted bundle | `.../api/packages/pub/generic/hosted/<version>/hosted.tar.gz` |
|
||||
| Hosted bundle | `.../api/packages/pub/generic/freeradius-hosted/<version>/freeradius-hosted.tar.gz` |
|
||||
| Helm chart | `https://git.ahax86.ru/api/packages/pub/helm` |
|
||||
|
||||
## Release flow (`.gitea/workflows/release.yaml`, manual)
|
||||
|
||||
@@ -25,7 +25,7 @@ CI (`prepare`) падает, если `packaging/hosted/.env` (`FREERADIUS_TAG`)
|
||||
|----------|--------|
|
||||
| `.deb` | `https://git.ahax86.ru/api/packages/pub/debian` (distribution `noble`, component `main`) |
|
||||
| Образ | `git.ahax86.ru/pub/freeradius:<version>` (+ `latest`) |
|
||||
| Hosted-бандл | `.../api/packages/pub/generic/hosted/<version>/hosted.tar.gz` |
|
||||
| Hosted-бандл | `.../api/packages/pub/generic/freeradius-hosted/<version>/freeradius-hosted.tar.gz` |
|
||||
| Helm-чарт | `https://git.ahax86.ru/api/packages/pub/helm` |
|
||||
|
||||
Соглашение: локальный alias helm-репо - `ahax86` (`helm repo add ahax86 ...`).
|
||||
|
||||
@@ -51,7 +51,7 @@ FreeRADIUS пересобирается из исходников с `rlm_raw`,
|
||||
| `cron/radius-renew.sh` | Ежемесячный перевыпуск сертификатов. |
|
||||
|
||||
Этот бандл публикуется CI как generic-пакет:
|
||||
`https://git.ahax86.ru/api/packages/pub/generic/hosted/<version>/hosted.tar.gz`
|
||||
`https://git.ahax86.ru/api/packages/pub/generic/freeradius-hosted/<version>/freeradius-hosted.tar.gz`
|
||||
|
||||
## Требования
|
||||
|
||||
|
||||
Reference in New Issue
Block a user