diff --git a/newrelic-prometheus-configurator.yaml b/newrelic-prometheus-configurator.yaml new file mode 100644 index 00000000000..a494af18899 --- /dev/null +++ b/newrelic-prometheus-configurator.yaml @@ -0,0 +1,39 @@ +package: + name: newrelic-prometheus-configurator + version: 1.4.0 + epoch: 0 + description: New Relic Prometheus Configurator + target-architecture: + - all + copyright: + - license: Apache-2.0 + +environment: + contents: + packages: + - busybox + - ca-certificates-bundle + - build-base + - go + - git + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/newrelic/newrelic-prometheus-configurator + tag: v${{package.version}} + expected-commit: df4034f801f4f254243a38b110cb1b0af6b0aca5 + + - runs: | + GOOS=$(go env GOOS) + GOARCH=$(go env GOARCH) + make GOOS=${GOOS} GOARCH=${GOARCH} build + install -Dm755 ./bin/prometheus-configurator-${GOOS}-${GOARCH} "${{targets.destdir}}"/usr/bin/prometheus-configurator + +update: + enabled: true + github: + identifier: newrelic/newrelic-prometheus-configurator + strip-prefix: v + use-tag: true + tag-filter: v diff --git a/packages.txt b/packages.txt index 59349357cf9..d3b11614a18 100644 --- a/packages.txt +++ b/packages.txt @@ -704,6 +704,7 @@ kubeflow-jupyter-web-app kaniko flux-image-automation-controller openai +newrelic-prometheus-configurator prometheus-nats-exporter docker-credential-gcr kyverno