Skip to content

Commit 69b4e82

Browse files
authored
Merge pull request #38 from simonpasquier/move-more-tools-to-bingo
chore: install Thanos using Bingo
2 parents 8f6b085 + 4399a0c commit 69b4e82

6 files changed

Lines changed: 3233 additions & 11 deletions

File tree

.bingo/Variables.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ $(OBSERVATORIUM): $(BINGO_DIR)/observatorium.mod
4141
@echo "(re)installing $(GOBIN)/observatorium-v0.1.2"
4242
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=observatorium.mod -o=$(GOBIN)/observatorium-v0.1.2 "github.com/observatorium/api"
4343

44+
THANOS := $(GOBIN)/thanos-v0.39.2
45+
$(THANOS): $(BINGO_DIR)/thanos.mod
46+
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
47+
@echo "(re)installing $(GOBIN)/thanos-v0.39.2"
48+
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=thanos.mod -o=$(GOBIN)/thanos-v0.39.2 "github.com/thanos-io/thanos/cmd/thanos"
49+
4450
UP := $(GOBIN)/up-v0.0.0-20240109123005-e1e1857b0b6e
4551
$(UP): $(BINGO_DIR)/up.mod
4652
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.

.bingo/thanos.mod

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
2+
3+
go 1.24.10
4+
5+
replace capnproto.org/go/capnp/v3 => capnproto.org/go/capnp/v3 v3.0.0-alpha.30
6+
7+
replace github.com/bradfitz/gomemcache => github.com/themihai/gomemcache v0.0.0-20180902122335-24332e2d58ab
8+
9+
replace github.com/prometheus/prometheus => github.com/thanos-io/thanos-prometheus v0.0.0-20250610133519-082594458a88
10+
11+
replace github.com/sercand/kuberesolver/v4 => github.com/sercand/kuberesolver/v5 v5.1.1
12+
13+
replace github.com/vimeo/galaxycache => github.com/thanos-community/galaxycache v0.0.0-20211122094458-3a32041a1f1e
14+
15+
replace google.golang.org/grpc => google.golang.org/grpc v1.63.2
16+
17+
replace gopkg.in/alecthomas/kingpin.v2 => github.com/alecthomas/kingpin v1.3.8-0.20210301060133-17f40c25f497
18+
19+
require github.com/thanos-io/thanos v0.39.2 // cmd/thanos

0 commit comments

Comments
 (0)