File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 1
1
go :
2
2
# This must match .circle/config.yml.
3
3
version : 1.21
4
+ cgo : true
4
5
repository :
5
6
path : github.com/prometheus-community/postgres_exporter
6
7
build :
Original file line number Diff line number Diff line change @@ -238,12 +238,8 @@ common-docker-manifest:
238
238
promu: $(PROMU)
239
239
240
240
$(PROMU):
241
- @echo ">> building PROMU"
242
- @echo $FIRST_GOPATH
243
241
$(eval PROMU_TMP := $(shell mktemp -d))
244
242
curl -s -L $(PROMU_URL) | tar -xvzf - -C $(PROMU_TMP)
245
- # sed -i '/^go:/a \ \ cgo: true' $(PROMU_TMP)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/.promu.yml
246
- # cat $(PROMU_TMP)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/.promu.yml
247
243
mkdir -p $(FIRST_GOPATH)/bin
248
244
cp $(PROMU_TMP)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/promu $(FIRST_GOPATH)/bin/promu
249
245
rm -r $(PROMU_TMP)
You can’t perform that action at this time.
0 commit comments