Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ jobs:
build-args: |
RIPTIDE_VERSION=${{ steps.ver.outputs.version }}
tags: |
ghcr.io/${{ github.repository }}:${{ steps.ver.outputs.version }}
ghcr.io/${{ github.repository }}:${{ steps.ver.outputs.major }}.${{ steps.ver.outputs.minor }}
ghcr.io/${{ github.repository }}:${{ steps.ver.outputs.major }}
ghcr.io/${{ github.repository }}:${{ steps.ver.outputs.short }}
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository_owner }}/riptide-collector:${{ steps.ver.outputs.version }}
ghcr.io/${{ github.repository_owner }}/riptide-collector:${{ steps.ver.outputs.major }}.${{ steps.ver.outputs.minor }}
ghcr.io/${{ github.repository_owner }}/riptide-collector:${{ steps.ver.outputs.major }}
ghcr.io/${{ github.repository_owner }}/riptide-collector:${{ steps.ver.outputs.short }}
ghcr.io/${{ github.repository_owner }}/riptide-collector:latest
cache-from: type=gha
cache-to: type=gha,mode=max
6 changes: 4 additions & 2 deletions src/riptide_collector/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ def create_app(settings: Settings | None = None) -> FastAPI:
@asynccontextmanager
async def lifespan(_app: FastAPI): # pyright: ignore[reportUnusedFunction]
# Match the noergler shape exactly so a Splunk panel that greps
# `msg="<service> version: …"` works across both services.
logger.info(f"riptide version: {__version__}")
# `msg="<service> version: …"` works across both services. The
# service name mirrors the container image / Python package name
# (riptide-collector), not the GitHub repository (riptide).
logger.info(f"riptide-collector version: {__version__}")
logger.info(
"riptide_collector_starting",
version=__version__,
Expand Down