* 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
* 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
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.
* 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
* 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>
* 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
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
* 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
* 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>