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
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
VERSION:=$(shell cat VERSION)
# Use the git tag name if at a tagged commit, otherwise use the short commit hash
VERSION:=$(shell git describe --tags --exact-match --match "v*" 2>/dev/null || git rev-parse --short HEAD)

IMAGE_NAME ?= prometheus-example-app

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Usage is simple, on any request to `/` the request will result in a `200` respon

A Docker image is available at: `ghcr.io/rhobs/prometheus-example-app`

# Releasing

Cut a new `vX.Y.Z` tag and publish a release based on that tag.

## Deploying in a Kubernetes cluster

First, deploy one instance of this example application, which listens and exposes metrics on port 8080 using the following [Deployment manifest](manifests/deployment.yaml).
Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.