Skip to content

Commit 5fa05fa

Browse files
committedNov 22, 2020
Use Prometheus build job
1 parent d4dbf19 commit 5fa05fa

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed
 

‎.circleci/config.yml

+2-22
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,6 @@ jobs:
2323
file: coverage.txt
2424
- prometheus/store_artifact:
2525
file: ssh_exporter
26-
build:
27-
machine:
28-
image: ubuntu-1604:201903-01
29-
steps:
30-
- checkout
31-
- run: make promu
32-
- run: promu crossbuild -v
33-
- persist_to_workspace:
34-
root: .
35-
paths:
36-
- .build
37-
- store_artifacts:
38-
path: .build
39-
destination: /build
40-
- run:
41-
command: |
42-
if [ -n "$CIRCLE_TAG" ]; then
43-
make docker DOCKER_IMAGE_TAG=$CIRCLE_TAG
44-
else
45-
make docker
46-
fi
4726
workflows:
4827
version: 2
4928
ssh_exporter:
@@ -52,7 +31,8 @@ workflows:
5231
filters:
5332
tags:
5433
only: /.*/
55-
- build:
34+
- prometheus/build:
35+
name: build
5636
filters:
5737
tags:
5838
only: /.*/

0 commit comments

Comments
 (0)
Please sign in to comment.