Chore: Detaching go tools from the main Grafana workspace (#104861)

* add script for tooling

* add to make

* not to forget

* reworked go tools

* add tool installation script

* adding readme

* updating readme

* updating readme

* cleanup install.sh and makefile

* update the readme file

* cleanup scripts

* switch variables.mk to lazy evaluation

* add tools ache to gitignore

* get rid of absolute path in hte Variables.mk file

* switch to reusable function for path generation

* add debug statements

* add create cache tool dir

* add debuig statements to make file

* drop tool cache

* fix race condition n ci

* fix race condition n ci

* cleanup workspace

* add lefthook.rc to codeowners

* copy .citools folder to docker image

* switch back to main branch of grafana-build

* Add .citools to the drone builder

* fix wording in generate.sh and README.md
This commit is contained in:
Denis Vodopianov
2025-05-21 11:22:24 +02:00
committed by GitHub
parent b1b9151cd7
commit cefd2dab7a
25 changed files with 179 additions and 25 deletions
+6
View File
@@ -0,0 +1,6 @@
# This file is used by lefthook to 'expose' the installed lefthook under
# the name `lefthook`, as expected by the lefthook pre-commit scripts
lefthook () {
GOWORK=off go tool -n -modfile=.citools/src/lefthook/go.mod github.com/evilmartians/lefthook
}