Skip to content

Commit b585a8d

Browse files
authored
Merge pull request #137 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2 parents 9d55332 + d7b869d commit b585a8d

File tree

2 files changed

+38
-43
lines changed

2 files changed

+38
-43
lines changed

.circleci/config.yml

Lines changed: 37 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,52 @@
11
---
22
version: 2.1
3-
43
orbs:
5-
prometheus: prometheus/[email protected]
6-
4+
prometheus: prometheus/[email protected]
75
executors:
86
# This must match .promu.yml.
97
golang:
108
docker:
11-
- image: circleci/golang:1.17
12-
9+
- image: circleci/golang:1.17
1310
jobs:
1411
test:
1512
executor: golang
16-
1713
steps:
18-
- prometheus/setup_environment
19-
- run: make
20-
- prometheus/store_artifact:
21-
file: json_exporter
22-
14+
- prometheus/setup_environment
15+
- run: make
16+
- prometheus/store_artifact:
17+
file: json_exporter
2318
workflows:
2419
version: 2
2520
json_exporter:
2621
jobs:
27-
- test:
28-
filters:
29-
tags:
30-
only: /.*/
31-
- prometheus/build:
32-
name: build
33-
filters:
34-
tags:
35-
only: /.*/
36-
- prometheus/publish_master:
37-
context: org-context
38-
docker_hub_organization: prometheuscommunity
39-
quay_io_organization: prometheuscommunity
40-
requires:
41-
- test
42-
- build
43-
filters:
44-
branches:
45-
only: master
46-
- prometheus/publish_release:
47-
context: org-context
48-
docker_hub_organization: prometheuscommunity
49-
quay_io_organization: prometheuscommunity
50-
requires:
51-
- test
52-
- build
53-
filters:
54-
tags:
55-
only: /^v.*/
56-
branches:
57-
ignore: /.*/
22+
- test:
23+
filters:
24+
tags:
25+
only: /.*/
26+
- prometheus/build:
27+
name: build
28+
filters:
29+
tags:
30+
only: /.*/
31+
- prometheus/publish_master:
32+
context: org-context
33+
docker_hub_organization: prometheuscommunity
34+
quay_io_organization: prometheuscommunity
35+
requires:
36+
- test
37+
- build
38+
filters:
39+
branches:
40+
only: master
41+
- prometheus/publish_release:
42+
context: org-context
43+
docker_hub_organization: prometheuscommunity
44+
quay_io_organization: prometheuscommunity
45+
requires:
46+
- test
47+
- build
48+
filters:
49+
tags:
50+
only: /^v.*/
51+
branches:
52+
ignore: /.*/

Makefile.common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ ifneq ($(shell which gotestsum),)
7878
endif
7979
endif
8080

81-
PROMU_VERSION ?= 0.12.0
81+
PROMU_VERSION ?= 0.13.0
8282
PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_VERSION)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM).tar.gz
8383

8484
GOLANGCI_LINT :=

0 commit comments

Comments
 (0)