@ -25,7 +25,7 @@ steps:
depends_on : [ ]
environment:
CGO_ENABLED : 0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : compile-build-cmd
- commands:
- ./bin/build verify-drone
@ -75,7 +75,7 @@ steps:
- go install github.com/bazelbuild/buildtools/buildifier@latest
- buildifier --lint=warn -mode=check -r .
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : lint-starlark
trigger:
event:
@ -370,7 +370,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-cue
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-cue
- commands:
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
@ -379,14 +379,14 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-jsonnet
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-jsonnet
- commands:
- apk add --update make
- make gen-go
depends_on:
- verify-gen-cue
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : wire-install
- commands:
- apk add --update build-base shared-mime-info shared-mime-info-lang
@ -394,7 +394,7 @@ steps:
-timeout=5m
depends_on:
- wire-install
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : test-backend
- commands:
- apk add --update build-base
@ -403,7 +403,7 @@ steps:
| grep -o '\(.*\)/' | sort -u)
depends_on:
- wire-install
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : test-backend-integration
trigger:
event:
@ -456,7 +456,7 @@ steps:
depends_on : [ ]
environment:
CGO_ENABLED : 0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : compile-build-cmd
- commands:
- echo $(/usr/bin/github-app-external-token) > /github-app/token
@ -500,7 +500,7 @@ steps:
- apk add --update make
- make gen-go
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : wire-install
- commands:
- apk add --update make build-base
@ -509,16 +509,16 @@ steps:
- wire-install
environment:
CGO_ENABLED : "1"
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : lint-backend
- commands:
- go run scripts/modowners/modowners.go check go.mod
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : validate-modfile
- commands:
- apk add --update make
- make swagger-validate
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : validate-openapi-spec
trigger:
event:
@ -591,7 +591,7 @@ steps:
depends_on : [ ]
environment:
CGO_ENABLED : 0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : compile-build-cmd
- commands:
- '# It is required that code generated from Thema/CUE be committed and in sync
@ -601,7 +601,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-cue
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-cue
- commands:
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
@ -610,14 +610,14 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-jsonnet
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-jsonnet
- commands:
- apk add --update make
- make gen-go
depends_on:
- verify-gen-cue
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : wire-install
- commands:
- apk add --update g++ make python3 && ln -sf /usr/bin/python3 /usr/bin/python
@ -651,7 +651,7 @@ steps:
from_secret : drone_token
- commands:
- /src/grafana-build artifacts -a targz:grafana:linux/amd64 -a targz:grafana:linux/arm64
-a targz:grafana:linux/arm/v7 --go-version=1.22.7 --yarn-cache=$$YARN_CACHE_FOLDER
-a targz:grafana:linux/arm/v7 --go-version=1.22.11 --yarn-cache=$$YARN_CACHE_FOLDER
--build-id=$$DRONE_BUILD_NUMBER --grafana-dir=$$PWD > packages.txt
depends_on:
- yarn-install
@ -807,7 +807,7 @@ steps:
- /src/grafana-build artifacts -a docker:grafana:linux/amd64 -a docker:grafana:linux/amd64:ubuntu
-a docker:grafana:linux/arm64 -a docker:grafana:linux/arm64:ubuntu -a docker:grafana:linux/arm/v7
-a docker:grafana:linux/arm/v7:ubuntu --yarn-cache=$$YARN_CACHE_FOLDER --build-id=$$DRONE_BUILD_NUMBER
--go-version=1.22.7 --ubuntu-base=ubuntu:22.04 --alpine-base=alpine:3.20.3 --tag-format='{{
--go-version=1.22.11 --ubuntu-base=ubuntu:22.04 --alpine-base=alpine:3.20.3 --tag-format='{{
.version_base }}-{{ .buildID }}-{{ .arch }}' --grafana-dir=$$PWD --ubuntu-tag-format='{{
.version_base }}-{{ .buildID }}-ubuntu-{{ .arch }}' > docker.txt
- find ./dist -name '*docker*.tar.gz' -type f | xargs -n1 docker load -i
@ -970,7 +970,7 @@ steps:
depends_on : [ ]
environment:
CGO_ENABLED : 0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : compile-build-cmd
- commands:
- echo $DRONE_RUNNER_NAME
@ -984,7 +984,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-cue
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-cue
- commands:
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
@ -993,14 +993,14 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-jsonnet
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-jsonnet
- commands:
- apk add --update make
- make gen-go
depends_on:
- verify-gen-cue
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : wire-install
- commands:
- dockerize -wait tcp://postgres:5432 -timeout 120s
@ -1021,7 +1021,7 @@ steps:
GRAFANA_TEST_DB : postgres
PGPASSWORD : grafanatest
POSTGRES_HOST : postgres
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : postgres-integration-tests
- commands:
- dockerize -wait tcp://mysql57:3306 -timeout 120s
@ -1029,9 +1029,9 @@ steps:
name : wait-for-mysql-5.7
- commands:
- apk add --update build-base
- apk add --update mysql -client
- cat devenv/docker/blocks/mysql_tests/setup.sql | mysql -h mysql57 -P 3306 -u root
- prootpass
- apk add --update mariadb -client
- cat devenv/docker/blocks/mysql_tests/setup.sql | mariadb -h mysql57 -P 3306 -u
root - prootpass --disable-ssl-verify-server-cert
- go clean -testcache
- go test -p=1 -count=1 -covermode=atomic -timeout=5m -run '^TestIntegration' $(find
./pkg -type f -name '*_test.go' -exec grep -l '^func TestIntegration' '{}' '+'
@ -1042,7 +1042,7 @@ steps:
environment:
GRAFANA_TEST_DB : mysql
MYSQL_HOST : mysql57
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : mysql-5.7-integration-tests
- commands:
- dockerize -wait tcp://mysql80:3306 -timeout 120s
@ -1050,9 +1050,9 @@ steps:
name : wait-for-mysql-8.0
- commands:
- apk add --update build-base
- apk add --update mysql -client
- cat devenv/docker/blocks/mysql_tests/setup.sql | mysql -h mysql80 -P 3306 -u root
- prootpass
- apk add --update mariadb -client
- cat devenv/docker/blocks/mysql_tests/setup.sql | mariadb -h mysql80 -P 3306 -u
root - prootpass --disable-ssl-verify-server-cert
- go clean -testcache
- go test -p=1 -count=1 -covermode=atomic -timeout=5m -run '^TestIntegration' $(find
./pkg -type f -name '*_test.go' -exec grep -l '^func TestIntegration' '{}' '+'
@ -1063,7 +1063,7 @@ steps:
environment:
GRAFANA_TEST_DB : mysql
MYSQL_HOST : mysql80
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : mysql-8.0-integration-tests
- commands:
- dockerize -wait tcp://redis:6379 -timeout 120s
@ -1079,7 +1079,7 @@ steps:
- wait-for-redis
environment:
REDIS_URL : redis://redis:6379/0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : redis-integration-tests
- commands:
- dockerize -wait tcp://memcached:11211 -timeout 120s
@ -1095,7 +1095,7 @@ steps:
- wait-for-memcached
environment:
MEMCACHED_HOSTS : memcached:11211
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : memcached-integration-tests
- commands:
- dockerize -wait tcp://mimir_backend:8080 -timeout 120s
@ -1111,7 +1111,7 @@ steps:
environment:
AM_TENANT_ID : test
AM_URL : http://mimir_backend:8080
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : remote-alertmanager-integration-tests
trigger:
event:
@ -1202,7 +1202,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-cue
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-cue
trigger:
event:
@ -1322,7 +1322,7 @@ steps:
fi
depends_on:
- clone-enterprise
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : swagger-gen
trigger:
event:
@ -1443,7 +1443,7 @@ steps:
depends_on : [ ]
environment:
CGO_ENABLED : 0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : compile-build-cmd
- commands:
- '# It is required that code generated from Thema/CUE be committed and in sync
@ -1454,7 +1454,7 @@ steps:
- CODEGEN_VERIFY=1 make gen-cue
depends_on:
- clone-enterprise
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-cue
- commands:
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
@ -1464,14 +1464,14 @@ steps:
- CODEGEN_VERIFY=1 make gen-jsonnet
depends_on:
- clone-enterprise
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-jsonnet
- commands:
- apk add --update make
- make gen-go
depends_on:
- verify-gen-cue
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : wire-install
- commands:
- apk add --update build-base
@ -1479,7 +1479,7 @@ steps:
- go test -v -run=^$ -benchmem -timeout=1h -count=8 -bench=. ${GO_PACKAGES}
depends_on:
- wire-install
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : sqlite-benchmark-integration-tests
- commands:
- apk add --update build-base
@ -1491,7 +1491,7 @@ steps:
GRAFANA_TEST_DB : postgres
PGPASSWORD : grafanatest
POSTGRES_HOST : postgres
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : postgres-benchmark-integration-tests
- commands:
- apk add --update build-base
@ -1502,7 +1502,7 @@ steps:
environment:
GRAFANA_TEST_DB : mysql
MYSQL_HOST : mysql57
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : mysql-5.7-benchmark-integration-tests
- commands:
- apk add --update build-base
@ -1513,7 +1513,7 @@ steps:
environment:
GRAFANA_TEST_DB : mysql
MYSQL_HOST : mysql80
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : mysql-8.0-benchmark-integration-tests
trigger:
event:
@ -1594,7 +1594,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-cue
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-cue
trigger:
branch : main
@ -1771,7 +1771,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-cue
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-cue
- commands:
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
@ -1780,14 +1780,14 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-jsonnet
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-jsonnet
- commands:
- apk add --update make
- make gen-go
depends_on:
- verify-gen-cue
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : wire-install
- commands:
- apk add --update build-base shared-mime-info shared-mime-info-lang
@ -1795,7 +1795,7 @@ steps:
-timeout=5m
depends_on:
- wire-install
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : test-backend
- commands:
- apk add --update build-base
@ -1804,7 +1804,7 @@ steps:
| grep -o '\(.*\)/' | sort -u)
depends_on:
- wire-install
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : test-backend-integration
trigger:
branch : main
@ -1849,13 +1849,13 @@ steps:
depends_on : [ ]
environment:
CGO_ENABLED : 0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : compile-build-cmd
- commands:
- apk add --update make
- make gen-go
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : wire-install
- commands:
- apk add --update make build-base
@ -1864,16 +1864,16 @@ steps:
- wire-install
environment:
CGO_ENABLED : "1"
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : lint-backend
- commands:
- go run scripts/modowners/modowners.go check go.mod
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : validate-modfile
- commands:
- apk add --update make
- make swagger-validate
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : validate-openapi-spec
- commands:
- ./bin/build verify-drone
@ -1944,7 +1944,7 @@ steps:
depends_on : [ ]
environment:
CGO_ENABLED : 0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : compile-build-cmd
- commands:
- '# It is required that code generated from Thema/CUE be committed and in sync
@ -1954,7 +1954,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-cue
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-cue
- commands:
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
@ -1963,14 +1963,14 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-jsonnet
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-jsonnet
- commands:
- apk add --update make
- make gen-go
depends_on:
- verify-gen-cue
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : wire-install
- commands:
- apk add --update g++ make python3 && ln -sf /usr/bin/python3 /usr/bin/python
@ -2003,7 +2003,7 @@ steps:
name : build-frontend-packages
- commands:
- /src/grafana-build artifacts -a targz:grafana:linux/amd64 -a targz:grafana:linux/arm64
-a targz:grafana:linux/arm/v7 --go-version=1.22.7 --yarn-cache=$$YARN_CACHE_FOLDER
-a targz:grafana:linux/arm/v7 --go-version=1.22.11 --yarn-cache=$$YARN_CACHE_FOLDER
--build-id=$$DRONE_BUILD_NUMBER --grafana-dir=$$PWD > packages.txt
depends_on:
- update-package-json-version
@ -2195,7 +2195,7 @@ steps:
- /src/grafana-build artifacts -a docker:grafana:linux/amd64 -a docker:grafana:linux/amd64:ubuntu
-a docker:grafana:linux/arm64 -a docker:grafana:linux/arm64:ubuntu -a docker:grafana:linux/arm/v7
-a docker:grafana:linux/arm/v7:ubuntu --yarn-cache=$$YARN_CACHE_FOLDER --build-id=$$DRONE_BUILD_NUMBER
--go-version=1.22.7 --ubuntu-base=ubuntu:22.04 --alpine-base=alpine:3.20.3 --tag-format='{{
--go-version=1.22.11 --ubuntu-base=ubuntu:22.04 --alpine-base=alpine:3.20.3 --tag-format='{{
.version_base }}-{{ .buildID }}-{{ .arch }}' --grafana-dir=$$PWD --ubuntu-tag-format='{{
.version_base }}-{{ .buildID }}-ubuntu-{{ .arch }}' > docker.txt
- find ./dist -name '*docker*.tar.gz' -type f | xargs -n1 docker load -i
@ -2403,7 +2403,7 @@ steps:
depends_on : [ ]
environment:
CGO_ENABLED : 0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : compile-build-cmd
- commands:
- echo $DRONE_RUNNER_NAME
@ -2417,7 +2417,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-cue
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-cue
- commands:
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
@ -2426,14 +2426,14 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-jsonnet
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-jsonnet
- commands:
- apk add --update make
- make gen-go
depends_on:
- verify-gen-cue
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : wire-install
- commands:
- dockerize -wait tcp://postgres:5432 -timeout 120s
@ -2454,7 +2454,7 @@ steps:
GRAFANA_TEST_DB : postgres
PGPASSWORD : grafanatest
POSTGRES_HOST : postgres
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : postgres-integration-tests
- commands:
- dockerize -wait tcp://mysql57:3306 -timeout 120s
@ -2462,9 +2462,9 @@ steps:
name : wait-for-mysql-5.7
- commands:
- apk add --update build-base
- apk add --update mysql -client
- cat devenv/docker/blocks/mysql_tests/setup.sql | mysql -h mysql57 -P 3306 -u root
- prootpass
- apk add --update mariadb -client
- cat devenv/docker/blocks/mysql_tests/setup.sql | mariadb -h mysql57 -P 3306 -u
root - prootpass --disable-ssl-verify-server-cert
- go clean -testcache
- go test -p=1 -count=1 -covermode=atomic -timeout=5m -run '^TestIntegration' $(find
./pkg -type f -name '*_test.go' -exec grep -l '^func TestIntegration' '{}' '+'
@ -2475,7 +2475,7 @@ steps:
environment:
GRAFANA_TEST_DB : mysql
MYSQL_HOST : mysql57
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : mysql-5.7-integration-tests
- commands:
- dockerize -wait tcp://mysql80:3306 -timeout 120s
@ -2483,9 +2483,9 @@ steps:
name : wait-for-mysql-8.0
- commands:
- apk add --update build-base
- apk add --update mysql -client
- cat devenv/docker/blocks/mysql_tests/setup.sql | mysql -h mysql80 -P 3306 -u root
- prootpass
- apk add --update mariadb -client
- cat devenv/docker/blocks/mysql_tests/setup.sql | mariadb -h mysql80 -P 3306 -u
root - prootpass --disable-ssl-verify-server-cert
- go clean -testcache
- go test -p=1 -count=1 -covermode=atomic -timeout=5m -run '^TestIntegration' $(find
./pkg -type f -name '*_test.go' -exec grep -l '^func TestIntegration' '{}' '+'
@ -2496,7 +2496,7 @@ steps:
environment:
GRAFANA_TEST_DB : mysql
MYSQL_HOST : mysql80
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : mysql-8.0-integration-tests
- commands:
- dockerize -wait tcp://redis:6379 -timeout 120s
@ -2512,7 +2512,7 @@ steps:
- wait-for-redis
environment:
REDIS_URL : redis://redis:6379/0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : redis-integration-tests
- commands:
- dockerize -wait tcp://memcached:11211 -timeout 120s
@ -2528,7 +2528,7 @@ steps:
- wait-for-memcached
environment:
MEMCACHED_HOSTS : memcached:11211
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : memcached-integration-tests
- commands:
- dockerize -wait tcp://mimir_backend:8080 -timeout 120s
@ -2544,7 +2544,7 @@ steps:
environment:
AM_TENANT_ID : test
AM_URL : http://mimir_backend:8080
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : remote-alertmanager-integration-tests
trigger:
branch : main
@ -2689,7 +2689,7 @@ steps:
depends_on : [ ]
environment:
CGO_ENABLED : 0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : compile-build-cmd
- commands:
- ./bin/build artifacts docker fetch --edition oss
@ -2821,7 +2821,7 @@ steps:
depends_on : [ ]
environment:
CGO_ENABLED : 0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : compile-build-cmd
- commands:
- ./bin/build artifacts docker fetch --edition oss
@ -2962,7 +2962,7 @@ steps:
depends_on : [ ]
environment:
CGO_ENABLED : 0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : compile-build-cmd
- commands:
- ./bin/build artifacts packages --artifacts-editions=oss --tag $${DRONE_TAG} --src-bucket
@ -3053,7 +3053,7 @@ steps:
depends_on : [ ]
environment:
CGO_ENABLED : 0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : compile-build-cmd
- commands:
- apk add --update g++ make python3 && ln -sf /usr/bin/python3 /usr/bin/python
@ -3154,7 +3154,7 @@ steps:
depends_on : [ ]
environment:
CGO_ENABLED : 0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : compile-build-cmd
- depends_on:
- compile-build-cmd
@ -3270,7 +3270,7 @@ steps:
from_secret : grafana_api_key
GCP_KEY_BASE64:
from_secret : gcp_key_base64
GO_VERSION : 1.22 .7
GO_VERSION : 1.22 .11
GPG_PASSPHRASE:
from_secret : packages_gpg_passphrase
GPG_PRIVATE_KEY:
@ -3345,7 +3345,7 @@ steps:
from_secret : grafana_api_key
GCP_KEY_BASE64:
from_secret : gcp_key_base64
GO_VERSION : 1.22 .7
GO_VERSION : 1.22 .11
GPG_PASSPHRASE:
from_secret : packages_gpg_passphrase
GPG_PRIVATE_KEY:
@ -3402,13 +3402,13 @@ steps:
depends_on : [ ]
environment:
CGO_ENABLED : 0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : compile-build-cmd
- commands:
- ./bin/build whatsnew-checker
depends_on:
- compile-build-cmd
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : whats-new-checker
trigger:
event:
@ -3507,7 +3507,7 @@ steps:
from_secret : grafana_api_key
GCP_KEY_BASE64:
from_secret : gcp_key_base64
GO_VERSION : 1.22 .7
GO_VERSION : 1.22 .11
GPG_PASSPHRASE:
from_secret : packages_gpg_passphrase
GPG_PRIVATE_KEY:
@ -3659,7 +3659,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-cue
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-cue
- commands:
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
@ -3668,14 +3668,14 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-jsonnet
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-jsonnet
- commands:
- apk add --update make
- make gen-go
depends_on:
- verify-gen-cue
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : wire-install
- commands:
- apk add --update build-base shared-mime-info shared-mime-info-lang
@ -3683,7 +3683,7 @@ steps:
-timeout=5m
depends_on:
- wire-install
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : test-backend
- commands:
- apk add --update build-base
@ -3692,7 +3692,7 @@ steps:
| grep -o '\(.*\)/' | sort -u)
depends_on:
- wire-install
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : test-backend-integration
trigger:
cron:
@ -3746,7 +3746,7 @@ steps:
from_secret : grafana_api_key
GCP_KEY_BASE64:
from_secret : gcp_key_base64
GO_VERSION : 1.22 .7
GO_VERSION : 1.22 .11
GPG_PASSPHRASE:
from_secret : packages_gpg_passphrase
GPG_PRIVATE_KEY:
@ -3890,7 +3890,7 @@ steps:
from_secret : grafana_api_key
GCP_KEY_BASE64:
from_secret : gcp_key_base64
GO_VERSION : 1.22 .7
GO_VERSION : 1.22 .11
GPG_PASSPHRASE:
from_secret : packages_gpg_passphrase
GPG_PRIVATE_KEY:
@ -4016,7 +4016,7 @@ steps:
from_secret : grafana_api_key
GCP_KEY_BASE64:
from_secret : gcp_key_base64
GO_VERSION : 1.22 .7
GO_VERSION : 1.22 .11
GPG_PASSPHRASE:
from_secret : packages_gpg_passphrase
GPG_PRIVATE_KEY:
@ -4161,7 +4161,7 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-cue
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-cue
- commands:
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
@ -4170,14 +4170,14 @@ steps:
- apk add --update make
- CODEGEN_VERIFY=1 make gen-jsonnet
depends_on : [ ]
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : verify-gen-jsonnet
- commands:
- apk add --update make
- make gen-go
depends_on:
- verify-gen-cue
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : wire-install
- commands:
- dockerize -wait tcp://postgres:5432 -timeout 120s
@ -4198,7 +4198,7 @@ steps:
GRAFANA_TEST_DB : postgres
PGPASSWORD : grafanatest
POSTGRES_HOST : postgres
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : postgres-integration-tests
- commands:
- dockerize -wait tcp://mysql57:3306 -timeout 120s
@ -4206,9 +4206,9 @@ steps:
name : wait-for-mysql-5.7
- commands:
- apk add --update build-base
- apk add --update mysql -client
- cat devenv/docker/blocks/mysql_tests/setup.sql | mysql -h mysql57 -P 3306 -u root
- prootpass
- apk add --update mariadb -client
- cat devenv/docker/blocks/mysql_tests/setup.sql | mariadb -h mysql57 -P 3306 -u
root - prootpass --disable-ssl-verify-server-cert
- go clean -testcache
- go test -p=1 -count=1 -covermode=atomic -timeout=5m -run '^TestIntegration' $(find
./pkg -type f -name '*_test.go' -exec grep -l '^func TestIntegration' '{}' '+'
@ -4219,7 +4219,7 @@ steps:
environment:
GRAFANA_TEST_DB : mysql
MYSQL_HOST : mysql57
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : mysql-5.7-integration-tests
- commands:
- dockerize -wait tcp://mysql80:3306 -timeout 120s
@ -4227,9 +4227,9 @@ steps:
name : wait-for-mysql-8.0
- commands:
- apk add --update build-base
- apk add --update mysql -client
- cat devenv/docker/blocks/mysql_tests/setup.sql | mysql -h mysql80 -P 3306 -u root
- prootpass
- apk add --update mariadb -client
- cat devenv/docker/blocks/mysql_tests/setup.sql | mariadb -h mysql80 -P 3306 -u
root - prootpass --disable-ssl-verify-server-cert
- go clean -testcache
- go test -p=1 -count=1 -covermode=atomic -timeout=5m -run '^TestIntegration' $(find
./pkg -type f -name '*_test.go' -exec grep -l '^func TestIntegration' '{}' '+'
@ -4240,7 +4240,7 @@ steps:
environment:
GRAFANA_TEST_DB : mysql
MYSQL_HOST : mysql80
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : mysql-8.0-integration-tests
- commands:
- dockerize -wait tcp://redis:6379 -timeout 120s
@ -4256,7 +4256,7 @@ steps:
- wait-for-redis
environment:
REDIS_URL : redis://redis:6379/0
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : redis-integration-tests
- commands:
- dockerize -wait tcp://memcached:11211 -timeout 120s
@ -4272,7 +4272,7 @@ steps:
- wait-for-memcached
environment:
MEMCACHED_HOSTS : memcached:11211
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : memcached-integration-tests
- commands:
- dockerize -wait tcp://mimir_backend:8080 -timeout 120s
@ -4288,7 +4288,7 @@ steps:
environment:
AM_TENANT_ID : test
AM_URL : http://mimir_backend:8080
image : golang:1.22.7 -alpine
image : golang:1.22.11 -alpine
name : remote-alertmanager-integration-tests
trigger:
event:
@ -4594,7 +4594,7 @@ steps:
- commands:
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM docker:27-cli
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM alpine/git:2.40.1
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM golang:1.22.7 -alpine
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM golang:1.22.11 -alpine
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM node:20.9.0-alpine
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM google/cloud-sdk:431.0.0
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM grafana/grafana-ci-deploy:1.3.3
@ -4632,7 +4632,7 @@ steps:
- commands:
- trivy --exit-code 1 --severity HIGH,CRITICAL docker:27-cli
- trivy --exit-code 1 --severity HIGH,CRITICAL alpine/git:2.40.1
- trivy --exit-code 1 --severity HIGH,CRITICAL golang:1.22.7 -alpine
- trivy --exit-code 1 --severity HIGH,CRITICAL golang:1.22.11 -alpine
- trivy --exit-code 1 --severity HIGH,CRITICAL node:20.9.0-alpine
- trivy --exit-code 1 --severity HIGH,CRITICAL google/cloud-sdk:431.0.0
- trivy --exit-code 1 --severity HIGH,CRITICAL grafana/grafana-ci-deploy:1.3.3
@ -4901,6 +4901,6 @@ kind: secret
name : gcr_credentials
---
kind : signature
hmac : 4b6a6c50d8a0a023875bba4c8b06c4398a9e37b1fc6d2e0f9426745ad1412139
hmac : 2f35a675be53074c2af9c80d02d69871c7c0c2856b73ac7f6a4ac270a3ad4aa7
...