mirror of
https://github.com/prometheus-community/json_exporter
synced 2025-04-18 13:06:26 +00:00
Merge pull request #137 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
This commit is contained in:
commit
b585a8d067
@ -1,57 +1,52 @@
|
|||||||
---
|
---
|
||||||
version: 2.1
|
version: 2.1
|
||||||
|
|
||||||
orbs:
|
orbs:
|
||||||
prometheus: prometheus/prometheus@0.11.0
|
prometheus: prometheus/prometheus@0.15.0
|
||||||
|
|
||||||
executors:
|
executors:
|
||||||
# This must match .promu.yml.
|
# This must match .promu.yml.
|
||||||
golang:
|
golang:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang:1.17
|
- image: circleci/golang:1.17
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
executor: golang
|
executor: golang
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- prometheus/setup_environment
|
- prometheus/setup_environment
|
||||||
- run: make
|
- run: make
|
||||||
- prometheus/store_artifact:
|
- prometheus/store_artifact:
|
||||||
file: json_exporter
|
file: json_exporter
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
json_exporter:
|
json_exporter:
|
||||||
jobs:
|
jobs:
|
||||||
- test:
|
- test:
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: /.*/
|
only: /.*/
|
||||||
- prometheus/build:
|
- prometheus/build:
|
||||||
name: build
|
name: build
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: /.*/
|
only: /.*/
|
||||||
- prometheus/publish_master:
|
- prometheus/publish_master:
|
||||||
context: org-context
|
context: org-context
|
||||||
docker_hub_organization: prometheuscommunity
|
docker_hub_organization: prometheuscommunity
|
||||||
quay_io_organization: prometheuscommunity
|
quay_io_organization: prometheuscommunity
|
||||||
requires:
|
requires:
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only: master
|
only: master
|
||||||
- prometheus/publish_release:
|
- prometheus/publish_release:
|
||||||
context: org-context
|
context: org-context
|
||||||
docker_hub_organization: prometheuscommunity
|
docker_hub_organization: prometheuscommunity
|
||||||
quay_io_organization: prometheuscommunity
|
quay_io_organization: prometheuscommunity
|
||||||
requires:
|
requires:
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: /^v.*/
|
only: /^v.*/
|
||||||
branches:
|
branches:
|
||||||
ignore: /.*/
|
ignore: /.*/
|
||||||
|
@ -78,7 +78,7 @@ ifneq ($(shell which gotestsum),)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PROMU_VERSION ?= 0.12.0
|
PROMU_VERSION ?= 0.13.0
|
||||||
PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_VERSION)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM).tar.gz
|
PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_VERSION)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM).tar.gz
|
||||||
|
|
||||||
GOLANGCI_LINT :=
|
GOLANGCI_LINT :=
|
||||||
|
Loading…
Reference in New Issue
Block a user