Skip to content

Commit

Permalink
Use Prometheus build job
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Nov 22, 2020
1 parent d4dbf19 commit 5fa05fa
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,6 @@ jobs:
file: coverage.txt
- prometheus/store_artifact:
file: ssh_exporter
build:
machine:
image: ubuntu-1604:201903-01
steps:
- checkout
- run: make promu
- run: promu crossbuild -v
- persist_to_workspace:
root: .
paths:
- .build
- store_artifacts:
path: .build
destination: /build
- run:
command: |
if [ -n "$CIRCLE_TAG" ]; then
make docker DOCKER_IMAGE_TAG=$CIRCLE_TAG
else
make docker
fi
workflows:
version: 2
ssh_exporter:
Expand All @@ -52,7 +31,8 @@ workflows:
filters:
tags:
only: /.*/
- build:
- prometheus/build:
name: build
filters:
tags:
only: /.*/
Expand Down

0 comments on commit 5fa05fa

Please sign in to comment.