1
0
mirror of https://github.com/grafana/tempo.git synced 2025-03-14 03:06:42 +00:00

26 Commits

Author SHA1 Message Date
5dda5c68ed chore: update go version to 1.24.1 for tempo tools image () 2025-03-05 14:13:40 +01:00
e77365b620 Update the go tools image to 1.24 ()
* Update go for tools: v1.23.3 -> v1.24.0

* float image on minor rev

* Update golanci-lint: v1.61.0 -> v1.64.5
2025-02-14 16:56:05 +01:00
e3c2848514 Migrate release pipeline from Drone to GHA () 2025-01-09 13:12:36 +01:00
dbd750555f Update all open-telemetry packages to 0.116.0 () 2024-12-20 17:02:16 +01:00
d02611afd6 Update tools version to trigger Docker image build () 2024-12-18 09:15:49 -05:00
e51596bd84 Bump golang.org/x/crypto from 0.27.0 to 0.31.0 in /tools ()
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.27.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.27.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-12 17:35:11 +00:00
e87b8d4cc7 bump tools () 2024-11-26 07:06:22 -05:00
Aki
8c23c561b3 fix_3811: send semver version in api/stattus/buildinfo for cloud deployments ()
* fix(tools): fix github action

* fix(tools): use correct ref fr v4

* fix(tools): use correct ref

* fix(tools): fecth tags

* fix(tools): fetch tags

* fix(tools): use tag directly during build

* Revert "fix(tools): use tag directly during build"

This reverts commit 5cbd0552db1daeccc89bb931c3545dcd2d04ff37.

* fix(tools): inject tag as version directly during build
2024-10-09 15:53:51 -04:00
a46ac6db19 update tempo-tools () 2024-10-01 12:51:03 +02:00
843556e2aa Update to Go 1.22.4 ()
* Update Go to 1.22.4

* Update CI

* chlog

* Clean chlog

* Update tool's go.mod

* now?
2024-06-20 14:10:07 -04:00
555b0ca440 Change toolchain from go 1.22 => go 1.22.0 ()
* add more specific version of go in go mod

* update tempo/tools toolchain as well

* serverless
2024-06-18 09:30:50 -05:00
2870e82df7 Upgrade to go 1.22 ()
* 1.21 -> 1.22

Signed-off-by: Joe Elliott <number101010@gmail.com>

* changelog

Signed-off-by: Joe Elliott <number101010@gmail.com>

* vendor-check

Signed-off-by: Joe Elliott <number101010@gmail.com>

---------

Signed-off-by: Joe Elliott <number101010@gmail.com>
2024-06-10 09:33:06 -04:00
b76ab98594 Golangci deprecations and update using tools pattern ()
* Breadcrumbs for golangci

* Include golangci in tools

* Use tools image for lint make target

* Update changelog
2024-05-08 20:56:43 +00:00
947de3531d Update deb and rpm packages to create and assign permissions for /var/tempo ()
* test deb stuff

* more stuff

* create /var/tempo and assign perms

* Create and assign permissions of /var/tempo after creating user

* More precise dir perms

* whitespace

* changelog
2024-05-08 12:28:58 -04:00
8de3acc640 Fix tools image ()
Each drone builder is running on the native platform, and so there is no
TARGETPLATFORM passed here, and so we can drop it from the tools image.
Here we make the adjustment that was required to get r143 to build.
2024-04-11 13:08:42 +00:00
4d5c10f75c Bump golang.org/x/crypto from 0.3.0 to 0.17.0 in /tools ()
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.3.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.3.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 15:21:08 +05:30
1debcaeb60 Move jsonnetfmt, jsonnet, goimports and others install into tools/ ()
* Move `jsonnetfmt` and `goimports` install into tools/

This will ensure that the version we are using to compile locally is the
same version that we are using in CI.  The `goimports` was already
included in the tools, and so the CI was redundant.  Also not, this
moves us from the C jsonnet to the Go jsonnet, which looks to introduce
slight formatting changes.

* Compile jsonnet

* Move tk, jb, and jsonnet also into tools/

* Include tools dependency on additional make targets

* Include tools Dockerfile

* Include tools image build target

* Update tools/go.sum

* Tidy up image build

* Prepare multi-arch docker image with install script

The script is used because not all imports in the tools.go are modules
which can be imported.  The version of the import is determined by
matching the nearest module path and installing the import at the
version specified in the go.mod.  This will allow updates to the go.mod
to direct the versions of the tools installed in the docker image.

* Stop ignoring the tools to allow docker build

* Include entrypoint

* Use TOOLS_CMD for docker execution on a few key make targets

* Use my image

* Fix variable

* Mark workdir as git safe

* Update drone to publish a tempo-ci-tools image

* Fix --platform for image source and use golang:alpine
2024-04-05 16:57:25 +00:00
87db5b44d4 Fix for Http2 reset vulnerability CVE-2023-39325 ()
* Update Go version to 1.21.3

* Upgrade minimum dependencies to get grpc 1.58.3 and x/net 0.17.0

* update-mod, vendor-check

---------

Co-authored-by: A. Stoewer <adrian@stoewer.me>
2023-10-12 11:50:56 -04:00
a5a7adb5cd Run gofumpt -w on all go files and integrate with CI ()
* Include gofumpt and goimports in tools

* Replace gofmt with gofumpt in Makefile

* Run `make fmt`

* Adhere to goconst lint rule

* Include gofumpt note in the CONTRIBUTING.md

* Update CHANGELOG
2023-07-20 16:02:05 +00:00
292662ba07 Replace "go test" with "gotestsum" in Makefile ()
* Replace "go test" with "gotestsum" in Makefile

Signed-off-by: Zach Leslie <zach.leslie@grafana.com>

* Include make fragment for installing tools add dependent target

Signed-off-by: Zach Leslie <zach.leslie@grafana.com>

* Ignore tools/ source files

* Require tools for test-bench target

---------

Signed-off-by: Zach Leslie <zach.leslie@grafana.com>
2023-05-22 16:13:31 +00:00
07e9ef2f1c Add .deb and .rpm packages ()
This is done through goreleaser's nfpm tool
The package files are then tested using systemd docker images. Tempo is installed onto debian and centos and we check that it's running and available
2022-06-30 09:56:57 -04:00
1795cf1573 Prepare CI for our internal release train ()
* Drone: trigger on weekly release branches

* Update the image-tag to include the branch name on non-tags

* tools/image-tag: use bash

This requires bash to be installed in the alpine/git image

docker run --rm -it --entrypoint /bin/sh alpine/git
/git # bash
/bin/sh: bash: not found
/git # apk --update --no-cache add bash
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
(1/2) Installing readline (8.1.0-r0)
(2/2) Installing bash (5.1.0-r0)
Executing bash-5.1.0-r0.post-install
Executing busybox-1.32.1-r6.trigger
OK: 27 MiB in 33 packages
/git # ^C

* Add CHANGELOG entry
2021-07-20 15:01:40 +05:30
3638caa90f Remove -o pipefail from image-tag script ()
It is a bash-ism so not supported in some environments

Script doesn't have any pipelines where we could get a failure protected by pipefail
2021-07-15 08:31:33 -04:00
7182326ac8 Add support for multi-arch/arm64 images ()
* drone

Signed-off-by: Joe Elliott <number101010@gmail.com>

* /wave

* yaml cleanup

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Require arch to image-tags

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Revert "Require arch to image-tags"

This reverts commit 8143bf47d8a68fc999f05324ffa0d49f9a65c669.

* reverse course! image-tag doesn't take arch

Signed-off-by: Joe Elliott <number101010@gmail.com>

* changed path

Signed-off-by: Joe Elliott <number101010@gmail.com>

* added tags to manifest

Signed-off-by: Joe Elliott <number101010@gmail.com>

* fixed path to template

Signed-off-by: Joe Elliott <number101010@gmail.com>

* fixed to only support one build tag

Signed-off-by: Joe Elliott <number101010@gmail.com>

* reference build tags differently

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Linusw Torvalds would not approve

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added readme

Signed-off-by: Joe Elliott <number101010@gmail.com>
2021-02-24 08:43:43 -05:00
4c4cbbcbcb Fix image tag script in drone pipeline ()
* Use sh instead of bash in script

Signed-off-by: Annanay <annanayagarwal@gmail.com>

* Fix script

Signed-off-by: Annanay <annanayagarwal@gmail.com>

* purge custom branch build

Signed-off-by: Annanay <annanayagarwal@gmail.com>
2020-10-23 13:04:21 -04:00
e0ebd83e43 Add latest and release tag ()
Signed-off-by: Annanay <annanayagarwal@gmail.com>
2020-10-23 10:29:15 -04:00