Skip to content

Commit

Permalink
build: Add config to build jobstats binary
Browse files Browse the repository at this point in the history
Signed-off-by: mahendrapaipuri <[email protected]>
  • Loading branch information
mahendrapaipuri committed Nov 28, 2023
1 parent f27a5d4 commit 3a52bb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .promu-cgo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ build:
binaries:
- name: batchjob_exporter
path: ./cmd/batchjob_exporter
- name: batchjob_stats
path: ./cmd/batchjob_stats
flags: -a -tags 'netgo osusergo static_build'
ldflags: |
-X github.com/prometheus/common/version.Version={{.Version}}
Expand Down
2 changes: 2 additions & 0 deletions .promu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ build:
binaries:
- name: batchjob_exporter
path: ./cmd/batchjob_exporter
- name: batchjob_stats
path: ./cmd/batchjob_stats
flags: -a -tags 'netgo osusergo static_build'
ldflags: |
-X github.com/prometheus/common/version.Version={{.Version}}
Expand Down

0 comments on commit 3a52bb2

Please sign in to comment.