Skip to content

Commit a410e49

Browse files
authored
fix: image and log banner say riptide-collector, not riptide (#53)
The first release.yaml run pushed to ghcr.io/trick77/riptide because the workflow used \${{ github.repository }}. The image, Python package, module, and historic ci.yaml path all carry the name 'riptide-collector', not 'riptide' — the GitHub repo is the odd one out. Pin the image name explicitly to riptide-collector and align the startup log banner with the same name so Splunk panels grepping msg=\"<service> version: …\" match the image tag readers actually pull. The stray 0.1.0 git tag and the orphan ghcr.io/trick77/riptide package are deleted out-of-band; the next release run starts fresh at 0.1.0 under the correct path.
1 parent 1647328 commit a410e49

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ jobs:
7777
build-args: |
7878
RIPTIDE_VERSION=${{ steps.ver.outputs.version }}
7979
tags: |
80-
ghcr.io/${{ github.repository }}:${{ steps.ver.outputs.version }}
81-
ghcr.io/${{ github.repository }}:${{ steps.ver.outputs.major }}.${{ steps.ver.outputs.minor }}
82-
ghcr.io/${{ github.repository }}:${{ steps.ver.outputs.major }}
83-
ghcr.io/${{ github.repository }}:${{ steps.ver.outputs.short }}
84-
ghcr.io/${{ github.repository }}:latest
80+
ghcr.io/${{ github.repository_owner }}/riptide-collector:${{ steps.ver.outputs.version }}
81+
ghcr.io/${{ github.repository_owner }}/riptide-collector:${{ steps.ver.outputs.major }}.${{ steps.ver.outputs.minor }}
82+
ghcr.io/${{ github.repository_owner }}/riptide-collector:${{ steps.ver.outputs.major }}
83+
ghcr.io/${{ github.repository_owner }}/riptide-collector:${{ steps.ver.outputs.short }}
84+
ghcr.io/${{ github.repository_owner }}/riptide-collector:latest
8585
cache-from: type=gha
8686
cache-to: type=gha,mode=max

src/riptide_collector/main.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ def create_app(settings: Settings | None = None) -> FastAPI:
5959
@asynccontextmanager
6060
async def lifespan(_app: FastAPI): # pyright: ignore[reportUnusedFunction]
6161
# Match the noergler shape exactly so a Splunk panel that greps
62-
# `msg="<service> version: …"` works across both services.
63-
logger.info(f"riptide version: {__version__}")
62+
# `msg="<service> version: …"` works across both services. The
63+
# service name mirrors the container image / Python package name
64+
# (riptide-collector), not the GitHub repository (riptide).
65+
logger.info(f"riptide-collector version: {__version__}")
6466
logger.info(
6567
"riptide_collector_starting",
6668
version=__version__,

0 commit comments

Comments
 (0)