Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish a docker image for Tempo CLI #3960

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .drone/drone.jsonnet
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local apps = ['tempo', 'tempo-vulture', 'tempo-query'];
local apps = ['tempo', 'tempo-vulture', 'tempo-query', 'tempo-cli'];
local archs = ['amd64', 'arm64'];

//# Building blocks ##
Expand Down
37 changes: 36 additions & 1 deletion .drone/drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ steps:
- COMPONENT=tempo GOARCH=amd64 make exe
- COMPONENT=tempo-vulture GOARCH=amd64 make exe
- COMPONENT=tempo-query GOARCH=amd64 make exe
- COMPONENT=tempo-cli GOARCH=amd64 make exe
image: golang:1.22-alpine
name: build-tempo-binaries
- image: plugins/docker
Expand Down Expand Up @@ -55,6 +56,18 @@ steps:
repo: grafana/tempo-query
username:
from_secret: docker_username
- image: plugins/docker
name: build-tempo-cli-image
settings:
build_args:
- TARGETARCH=amd64
dockerfile: cmd/tempo-cli/Dockerfile
password:
from_secret: docker_password
platform: linux/amd64
repo: grafana/tempo-cli
username:
from_secret: docker_username
trigger:
ref:
- refs/heads/main
Expand All @@ -81,6 +94,7 @@ steps:
- COMPONENT=tempo GOARCH=arm64 make exe
- COMPONENT=tempo-vulture GOARCH=arm64 make exe
- COMPONENT=tempo-query GOARCH=arm64 make exe
- COMPONENT=tempo-cli GOARCH=arm64 make exe
image: golang:1.22-alpine
name: build-tempo-binaries
- image: plugins/docker
Expand Down Expand Up @@ -119,6 +133,18 @@ steps:
repo: grafana/tempo-query
username:
from_secret: docker_username
- image: plugins/docker
name: build-tempo-cli-image
settings:
build_args:
- TARGETARCH=arm64
dockerfile: cmd/tempo-cli/Dockerfile
password:
from_secret: docker_password
platform: linux/arm64
repo: grafana/tempo-cli
username:
from_secret: docker_username
trigger:
ref:
- refs/heads/main
Expand Down Expand Up @@ -169,6 +195,15 @@ steps:
target: tempo-query
username:
from_secret: docker_username
- image: plugins/manifest:1.4.0
name: manifest-tempo-cli
settings:
password:
from_secret: docker_password
spec: .drone/docker-manifest.tmpl
target: tempo-cli
username:
from_secret: docker_username
trigger:
ref:
- refs/heads/main
Expand Down Expand Up @@ -530,6 +565,6 @@ kind: secret
name: gpg_passphrase
---
kind: signature
hmac: 6f0a771ee87cefa9d1ef3622fc936adaae60a19e5f285acc4f7310244c0f899c
hmac: bee5601dffa0f46559f5d8734ebda1261ec9171a3dca7add1a23188f6f162945

...