Skip to content
Closed
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
13 changes: 13 additions & 0 deletions .zuul.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
- project:
name: openstack-k8s-operators/prometheus-podman-exporter
github-check:
jobs:
- telemetry-container-image-content-provider
- telemetry-openstack-meta-content-provider-master:
override-checkout: main
- functional-tests-osp18:
override-checkout: master
dependencies:
- telemetry-openstack-meta-content-provider-master
- telemetry-container-image-content-provider
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
IMG ?= quay.io/openstack-k8s-operators/prometheus-podman-exporter:latest

PKG_PATH = "github.com/containers/prometheus-podman-exporter"
BIN := ./bin
GO := go
Expand Down Expand Up @@ -182,6 +184,14 @@ _HLP_TGTS_RX = '^[[:print:]]+:.*?\#\# .*$$'
_HLP_TGTS_CMD = grep -E $(_HLP_TGTS_RX) $(MAKEFILE_LIST)
_HLP_TGTS_LEN = $(shell $(_HLP_TGTS_CMD) | cut -d : -f 1 | wc -L)
_HLPFMT = "%-$(_HLP_TGTS_LEN)s %s\n"
.PHONY: docker-build
docker-build: ## Build container image
podman build -t ${IMG} -f Containerfile .

.PHONY: docker-push
docker-push: ## Push container image
podman push ${IMG}

.PHONY: help
help: ## Print listing of key targets with their descriptions
@printf $(_HLPFMT) "Target:" "Description:"
Expand Down
Loading