Skip to content

Commit

Permalink
Update circleci method for building
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Nov 24, 2020
1 parent 7aab1bd commit ca44675
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: 2.1

orbs:
prometheus: prometheus/prometheus@0.4.0
prometheus: prometheus/prometheus@0.8.0
codecov: codecov/[email protected]

executors:
Expand All @@ -23,24 +23,11 @@ jobs:
file: coverage.txt
- prometheus/store_artifact:
file: gpfs_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
release:
executor: golang
steps:
- prometheus/setup_build_environment
- prometheus/setup_build_environment:
docker_version: 19.03.8
- run: promu crossbuild tarballs
- run: promu checksum .tarballs
- run: promu release .tarballs
Expand All @@ -55,7 +42,8 @@ workflows:
filters:
tags:
only: /.*/
- build:
- prometheus/build:
name: build
filters:
tags:
only: /.*/
Expand Down

0 comments on commit ca44675

Please sign in to comment.