Skip to content

Commit

Permalink
Merge pull request #2 from canonical/chore/bump-version-to-v1.6.1
Browse files Browse the repository at this point in the history
chore: add ROCK for prometheus-pushgateway v1.6.1
  • Loading branch information
Abuelodelanada committed Sep 11, 2023
2 parents 4aaed86 + 7753357 commit 2bf599f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions 1.6.1/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: prometheus-pushgateway
title: Prometheus Pushgateway
summary: Prometheus PushGateway in a ROCK.
description: "The Prometheus Pushgateway exists to allow ephemeral and batch jobs to expose their metrics to Prometheus."
version: "1.6.1"
base: ubuntu:22.04
build-base: ubuntu:22.04
license: Apache-2.0
services:
pushgateway:
command: /bin/pushgateway
override: replace
startup: enabled
platforms:
amd64:
parts:
pushgateway:
plugin: go
source: https://github.com/prometheus/pushgateway
source-type: git
source-tag: "v1.6.0"
build-snaps:
- go/1.21/stable
build-packages:
- make
override-build: |
make build
install -D -m755 pushgateway ${CRAFT_PART_INSTALL}/bin/pushgateway
organize:
pushgateway: bin/pushgateway
prometheus-pushgateway:
source-tag: v1.6.1
build-snaps: go/1.19/stable

0 comments on commit 2bf599f

Please sign in to comment.