Skip to content

Commit

Permalink
Remove Drone config (#579)
Browse files Browse the repository at this point in the history
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
  • Loading branch information
aknuds1 authored Aug 27, 2024
1 parent d1bb7ce commit 28506cd
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 152 deletions.
66 changes: 0 additions & 66 deletions .drone/drone.jsonnet

This file was deleted.

71 changes: 0 additions & 71 deletions .drone/drone.yml

This file was deleted.

11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,3 @@ endif

.tools/bin/protoc-gen-go: .tools
GOPATH=$(CURDIR)/.tools go install github.com/golang/protobuf/protoc-gen-go@v1.3.1

.PHONY: drone
drone: .drone/drone.yml

.drone/drone.yml: .drone/drone.jsonnet
# Drone's jsonnet formatting causes issues where arrays disappear
drone jsonnet --source $< --target $@.tmp --stream --format=false
drone sign --save grafana/dskit $@.tmp
drone lint --trusted $@.tmp
# When all passes move to correct destination
mv $@.tmp $@
6 changes: 2 additions & 4 deletions contributing/how-to-upgrade-golang-version.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# How to upgrade Golang version

1. `go mod edit -go=1.17`
1. `go mod edit -go=1.23`
1. `go mod vendor && go mod tidy`
1. Change Drone image in `.drone/drone.jsonnet`
1. Export $DRONE_SERVER and $DRONE_TOKEN environment variables (you can get them logging in to [https://drone.grafana.net](https://drone.grafana.net))
1. `make .drone/drone.yml`
1. Change active Go version and supported Go versions in `.github/workflows/test-build.yml`

0 comments on commit 28506cd

Please sign in to comment.