Skip to content

Commit

Permalink
WIP - don't merge this??
Browse files Browse the repository at this point in the history
  • Loading branch information
electron0zero committed Aug 19, 2024
1 parent d5c52d9 commit 2b89a92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ gen-proto: ## Generate proto files
##@ Gen Traceql

.PHONY: gen-traceql
gen-traceql: ## Generate traceql
docker run --rm -v${PWD}:/src/loki ${LOKI_BUILD_IMAGE} gen-traceql-local
gen-traceql: ## Generate traceql
$(TOOLS_CMD) $(MAKE) gen-traceql-local

.PHONY: gen-traceql-local
gen-traceql-local: ## Generate traceq local
Expand All @@ -291,7 +291,7 @@ vendor-check: gen-proto update-mod gen-traceql gen-parquet-query ## Keep up to d
git diff --exit-code -- **/go.sum **/go.mod vendor/ pkg/tempopb/ pkg/traceql/

### Tidy dependencies for tempo and tempo-serverless modules
.PHONY: update-mod
.PHONY: update-mod
update-mod: tools-update-mod ## Update module
go mod vendor
go mod tidy -e
Expand Down Expand Up @@ -355,7 +355,7 @@ drone: ## Run Drone targets
# piggyback on Loki's build image, this image contains a newer version of drone-cli than is
# released currently (1.4.0). The newer version of drone-clie keeps drone.yml human-readable.
# This will run 'make drone-jsonnet' from within the container
docker run -e DRONE_SERVER -e DRONE_TOKEN --rm -v $(shell pwd):/src/loki ${LOKI_BUILD_IMAGE} drone-jsonnet drone-signature
docker run -e DRONE_SERVER -e DRONE_TOKEN --rm -v $(shell pwd):/tools $(TOOLS_IMAGE):$(TOOLS_IMAGE_TAG) $(MAKE) drone-jsonnet drone-signature

drone lint .drone/drone.yml --trusted

Expand Down
2 changes: 1 addition & 1 deletion build/tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ TOOL_DIR ?= tools
TOOL_CONFIG ?= $(TOOL_DIR)/tools.go

TOOLS_IMAGE ?= grafana/tempo-ci-tools
TOOLS_IMAGE_TAG ?= main-5e4eafd
TOOLS_IMAGE_TAG ?= latest

GOTOOLS ?= $(shell cd $(TOOL_DIR) && go list -e -f '{{ .Imports }}' -tags tools |tr -d '[]')

Expand Down

0 comments on commit 2b89a92

Please sign in to comment.