3dd7aa40ff
Publishes the three ZB.MOM.WW.LocalDb packages to the Gitea feed (restore-verified from a scratch consumer) and adds the build/push.sh the other shared libs already have. The status prose across CLAUDE.md, README.md and components/*/GAPS.md had drifted from reality, so it was re-derived from the feed listing and the actual PackageReferences + registration calls on each consumer's default branch rather than from prior claims. Five claims were false: Health "not yet adopted" (all four apps wire MapZbHealth), GalaxyRepository's mxaccessgw adoption "a follow-on" (its Server wires AddZbGalaxyRepository), Configuration "not yet pushed", Secrets G-8 "not yet committed", and Theme pinned at 0.2.0 (all four are on 0.3.1). Every doc also said "three apps" while HistorianGateway is a fourth consumer of seven libs, and all eight libraries' test counts were stale (re-ran each suite; all green). Surfaces one previously unrecorded gap: Secrets source is at 0.1.3 with KEK rotation committed, but the feed tops out at 0.1.2, so no app can consume rotation until it is published. Health and observability divergence tables are labelled historical, not re-verified — the libraries are proven wired, but per-app probe coverage vs spec was not re-walked. Claude-Session: https://claude.ai/code/session_01BL2Vu1ESDQ9SCN4gVKkdts
25 lines
924 B
Bash
Executable File
25 lines
924 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# push.sh — pack and push the ZB.MOM.WW.LocalDb NuGet packages (core, Contracts, Replication) to the Gitea feed.
|
|
#
|
|
# Required environment variables:
|
|
# GITEA_NUGET_SOURCE — full URL of the Gitea NuGet feed
|
|
# e.g. https://gitea.dohertylan.com/api/packages/dohertj2/nuget/index.json
|
|
# GITEA_NUGET_KEY — Gitea access token with package:write permission
|
|
#
|
|
# Usage:
|
|
# export GITEA_NUGET_SOURCE="https://gitea.dohertylan.com/api/packages/dohertj2/nuget/index.json"
|
|
# export GITEA_NUGET_KEY="your-gitea-token"
|
|
# ./build/push.sh
|
|
|
|
set -euo pipefail
|
|
|
|
: "${GITEA_NUGET_SOURCE:?set GITEA_NUGET_SOURCE to your Gitea NuGet feed URL}"
|
|
: "${GITEA_NUGET_KEY:?set GITEA_NUGET_KEY to your Gitea access token}"
|
|
|
|
dotnet pack -c Release -o ./artifacts
|
|
|
|
dotnet nuget push "./artifacts/*.nupkg" \
|
|
--source "$GITEA_NUGET_SOURCE" \
|
|
--api-key "$GITEA_NUGET_KEY" \
|
|
--skip-duplicate
|