Skip to content

Commit 83a50dc

Browse files
authored
Update common Prometheus files (#61)
Signed-off-by: prombot <[email protected]>
1 parent 86116ed commit 83a50dc

File tree

1 file changed

+37
-43
lines changed

1 file changed

+37
-43
lines changed

.circleci/config.yml

+37-43
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,52 @@
1-
---
21
version: 2.1
3-
42
orbs:
5-
prometheus: prometheus/[email protected]
6-
3+
prometheus: prometheus/[email protected]
74
executors:
85
# Whenever the Go version is updated here, .promu.yml should
96
# also be updated.
107
golang:
118
docker:
12-
- image: circleci/golang:1.15
13-
9+
- image: circleci/golang:1.15
1410
jobs:
1511
test:
1612
executor: golang
17-
1813
steps:
19-
- prometheus/setup_environment
20-
- run: make
21-
- prometheus/store_artifact:
22-
file: prom-label-proxy
23-
- store_test_results:
24-
path: test-results
25-
14+
- prometheus/setup_environment
15+
- run: make
16+
- prometheus/store_artifact:
17+
file: prom-label-proxy
18+
- store_test_results:
19+
path: test-results
2620
workflows:
2721
version: 2
2822
prom-label-proxy:
2923
jobs:
30-
- test:
31-
filters:
32-
tags:
33-
only: /.*/
34-
- prometheus/build:
35-
name: build
36-
filters:
37-
tags:
38-
only: /.*/
39-
- prometheus/publish_master:
40-
docker_hub_organization: "" # Don't publish to DockerHub.
41-
quay_io_organization: prometheuscommunity
42-
requires:
43-
- test
44-
- build
45-
filters:
46-
branches:
47-
only: master
48-
- prometheus/publish_release:
49-
docker_hub_organization: "" # Don't publish to DockerHub.
50-
quay_io_organization: prometheuscommunity
51-
requires:
52-
- test
53-
- build
54-
filters:
55-
tags:
56-
only: /^v.*/
57-
branches:
58-
ignore: /.*/
24+
- test:
25+
filters:
26+
tags:
27+
only: /.*/
28+
- prometheus/build:
29+
name: build
30+
filters:
31+
tags:
32+
only: /.*/
33+
- prometheus/publish_master:
34+
docker_hub_organization: "" # Don't publish to DockerHub.
35+
quay_io_organization: prometheuscommunity
36+
requires:
37+
- test
38+
- build
39+
filters:
40+
branches:
41+
only: master
42+
- prometheus/publish_release:
43+
docker_hub_organization: "" # Don't publish to DockerHub.
44+
quay_io_organization: prometheuscommunity
45+
requires:
46+
- test
47+
- build
48+
filters:
49+
tags:
50+
only: /^v.*/
51+
branches:
52+
ignore: /.*/

0 commit comments

Comments
 (0)