mirror of https://github.com/grafana/grafana.git
Chore: update golang version in .drone.yaml (#101894)
This commit is contained in:
parent
7a3415148e
commit
e645a7d8ff
206
.drone.yml
206
.drone.yml
|
|
@ -25,7 +25,7 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-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.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: lint-starlark
|
||||
trigger:
|
||||
event:
|
||||
|
|
@ -437,7 +437,7 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-cue
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-cue
|
||||
- commands:
|
||||
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
|
||||
|
|
@ -446,21 +446,21 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-jsonnet
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-jsonnet
|
||||
- commands:
|
||||
- apk add --update make
|
||||
- make gen-go
|
||||
depends_on:
|
||||
- verify-gen-cue
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: wire-install
|
||||
- commands:
|
||||
- apk add --update build-base shared-mime-info shared-mime-info-lang
|
||||
- go list -f '{{.Dir}}/...' -m | xargs go test -short -covermode=atomic -timeout=5m
|
||||
depends_on:
|
||||
- wire-install
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: test-backend
|
||||
- commands:
|
||||
- apk add --update build-base
|
||||
|
|
@ -469,7 +469,7 @@ steps:
|
|||
| grep -o '\(.*\)/' | sort -u)
|
||||
depends_on:
|
||||
- wire-install
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: test-backend-integration
|
||||
trigger:
|
||||
event:
|
||||
|
|
@ -524,7 +524,7 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: compile-build-cmd
|
||||
- commands:
|
||||
- echo $(/usr/bin/github-app-external-token) > /github-app/token
|
||||
|
|
@ -569,16 +569,16 @@ steps:
|
|||
- apk add --update make
|
||||
- make gen-go
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: wire-install
|
||||
- commands:
|
||||
- go run scripts/modowners/modowners.go check go.mod
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: validate-modfile
|
||||
- commands:
|
||||
- apk add --update make
|
||||
- make swagger-validate
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: validate-openapi-spec
|
||||
trigger:
|
||||
event:
|
||||
|
|
@ -655,7 +655,7 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: compile-build-cmd
|
||||
- commands:
|
||||
- '# It is required that code generated from Thema/CUE be committed and in sync
|
||||
|
|
@ -665,7 +665,7 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-cue
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-cue
|
||||
- commands:
|
||||
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
|
||||
|
|
@ -674,7 +674,7 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-jsonnet
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-jsonnet
|
||||
- commands:
|
||||
- yarn install --immutable || yarn install --immutable
|
||||
|
|
@ -712,7 +712,7 @@ steps:
|
|||
- /src/grafana-build artifacts -a targz:grafana:linux/amd64 -a targz:grafana:linux/arm64
|
||||
-a targz:grafana:linux/arm/v7 -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 --go-version=1.23.7 --yarn-cache=$$YARN_CACHE_FOLDER
|
||||
-a docker:grafana:linux/arm/v7:ubuntu --go-version=1.24.1 --yarn-cache=$$YARN_CACHE_FOLDER
|
||||
--build-id=$$DRONE_BUILD_NUMBER --ubuntu-base=ubuntu:22.04 --alpine-base=alpine:3.21.3
|
||||
--tag-format='{{ .version_base }}-{{ .buildID }}-{{ .arch }}' --ubuntu-tag-format='{{
|
||||
.version_base }}-{{ .buildID }}-ubuntu-{{ .arch }}' --verify='false' --grafana-dir=$$PWD
|
||||
|
|
@ -1110,7 +1110,7 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: compile-build-cmd
|
||||
- commands:
|
||||
- echo $DRONE_RUNNER_NAME
|
||||
|
|
@ -1124,7 +1124,7 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-cue
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-cue
|
||||
- commands:
|
||||
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
|
||||
|
|
@ -1133,14 +1133,14 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-jsonnet
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-jsonnet
|
||||
- commands:
|
||||
- apk add --update make
|
||||
- make gen-go
|
||||
depends_on:
|
||||
- verify-gen-cue
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: wire-install
|
||||
- commands:
|
||||
- dockerize -wait tcp://postgres:5432 -timeout 120s
|
||||
|
|
@ -1161,7 +1161,7 @@ steps:
|
|||
GRAFANA_TEST_DB: postgres
|
||||
PGPASSWORD: grafanatest
|
||||
POSTGRES_HOST: postgres
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: postgres-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://mysql80:3306 -timeout 120s
|
||||
|
|
@ -1182,7 +1182,7 @@ steps:
|
|||
environment:
|
||||
GRAFANA_TEST_DB: mysql
|
||||
MYSQL_HOST: mysql80
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: mysql-8.0-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://redis:6379 -timeout 120s
|
||||
|
|
@ -1198,7 +1198,7 @@ steps:
|
|||
- wait-for-redis
|
||||
environment:
|
||||
REDIS_URL: redis://redis:6379/0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: redis-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://memcached:11211 -timeout 120s
|
||||
|
|
@ -1214,7 +1214,7 @@ steps:
|
|||
- wait-for-memcached
|
||||
environment:
|
||||
MEMCACHED_HOSTS: memcached:11211
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: memcached-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://mimir_backend:8080 -timeout 120s
|
||||
|
|
@ -1230,7 +1230,7 @@ steps:
|
|||
environment:
|
||||
AM_TENANT_ID: test
|
||||
AM_URL: http://mimir_backend:8080
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: remote-alertmanager-integration-tests
|
||||
trigger:
|
||||
event:
|
||||
|
|
@ -1312,7 +1312,7 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-cue
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-cue
|
||||
trigger:
|
||||
event:
|
||||
|
|
@ -1433,7 +1433,7 @@ steps:
|
|||
&& return 1; fi
|
||||
depends_on:
|
||||
- clone-enterprise
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: swagger-gen
|
||||
trigger:
|
||||
event:
|
||||
|
|
@ -1538,7 +1538,7 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: compile-build-cmd
|
||||
- commands:
|
||||
- '# It is required that code generated from Thema/CUE be committed and in sync
|
||||
|
|
@ -1549,7 +1549,7 @@ steps:
|
|||
- CODEGEN_VERIFY=1 make gen-cue
|
||||
depends_on:
|
||||
- clone-enterprise
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-cue
|
||||
- commands:
|
||||
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
|
||||
|
|
@ -1559,14 +1559,14 @@ steps:
|
|||
- CODEGEN_VERIFY=1 make gen-jsonnet
|
||||
depends_on:
|
||||
- clone-enterprise
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-jsonnet
|
||||
- commands:
|
||||
- apk add --update make
|
||||
- make gen-go
|
||||
depends_on:
|
||||
- verify-gen-cue
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: wire-install
|
||||
- commands:
|
||||
- apk add --update build-base
|
||||
|
|
@ -1574,7 +1574,7 @@ steps:
|
|||
- go test -v -run=^$ -benchmem -timeout=1h -count=8 -bench=. ${GO_PACKAGES}
|
||||
depends_on:
|
||||
- wire-install
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: sqlite-benchmark-integration-tests
|
||||
- commands:
|
||||
- apk add --update build-base
|
||||
|
|
@ -1586,7 +1586,7 @@ steps:
|
|||
GRAFANA_TEST_DB: postgres
|
||||
PGPASSWORD: grafanatest
|
||||
POSTGRES_HOST: postgres
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: postgres-benchmark-integration-tests
|
||||
- commands:
|
||||
- apk add --update build-base
|
||||
|
|
@ -1597,7 +1597,7 @@ steps:
|
|||
environment:
|
||||
GRAFANA_TEST_DB: mysql
|
||||
MYSQL_HOST: mysql80
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: mysql-8.0-benchmark-integration-tests
|
||||
trigger:
|
||||
event:
|
||||
|
|
@ -1669,7 +1669,7 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-cue
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-cue
|
||||
trigger:
|
||||
branch: main
|
||||
|
|
@ -1852,7 +1852,7 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-cue
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-cue
|
||||
- commands:
|
||||
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
|
||||
|
|
@ -1861,21 +1861,21 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-jsonnet
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-jsonnet
|
||||
- commands:
|
||||
- apk add --update make
|
||||
- make gen-go
|
||||
depends_on:
|
||||
- verify-gen-cue
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: wire-install
|
||||
- commands:
|
||||
- apk add --update build-base shared-mime-info shared-mime-info-lang
|
||||
- go list -f '{{.Dir}}/...' -m | xargs go test -short -covermode=atomic -timeout=5m
|
||||
depends_on:
|
||||
- wire-install
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: test-backend
|
||||
- commands:
|
||||
- apk add --update build-base
|
||||
|
|
@ -1884,7 +1884,7 @@ steps:
|
|||
| grep -o '\(.*\)/' | sort -u)
|
||||
depends_on:
|
||||
- wire-install
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: test-backend-integration
|
||||
trigger:
|
||||
branch: main
|
||||
|
|
@ -1929,22 +1929,22 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: compile-build-cmd
|
||||
- commands:
|
||||
- apk add --update make
|
||||
- make gen-go
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: wire-install
|
||||
- commands:
|
||||
- go run scripts/modowners/modowners.go check go.mod
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: validate-modfile
|
||||
- commands:
|
||||
- apk add --update make
|
||||
- make swagger-validate
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: validate-openapi-spec
|
||||
- commands:
|
||||
- ./bin/build verify-drone
|
||||
|
|
@ -2076,7 +2076,7 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: compile-build-cmd
|
||||
- commands:
|
||||
- '# It is required that code generated from Thema/CUE be committed and in sync
|
||||
|
|
@ -2086,7 +2086,7 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-cue
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-cue
|
||||
- commands:
|
||||
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
|
||||
|
|
@ -2095,7 +2095,7 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-jsonnet
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-jsonnet
|
||||
- commands:
|
||||
- yarn install --immutable || yarn install --immutable
|
||||
|
|
@ -2132,7 +2132,7 @@ steps:
|
|||
- /src/grafana-build artifacts -a targz:grafana:linux/amd64 -a targz:grafana:linux/arm64
|
||||
-a targz:grafana:linux/arm/v7 -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 --go-version=1.23.7 --yarn-cache=$$YARN_CACHE_FOLDER
|
||||
-a docker:grafana:linux/arm/v7:ubuntu --go-version=1.24.1 --yarn-cache=$$YARN_CACHE_FOLDER
|
||||
--build-id=$$DRONE_BUILD_NUMBER --ubuntu-base=ubuntu:22.04 --alpine-base=alpine:3.21.3
|
||||
--tag-format='{{ .version_base }}-{{ .buildID }}-{{ .arch }}' --ubuntu-tag-format='{{
|
||||
.version_base }}-{{ .buildID }}-ubuntu-{{ .arch }}' --verify='false' --grafana-dir=$$PWD
|
||||
|
|
@ -2607,7 +2607,7 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: compile-build-cmd
|
||||
- commands:
|
||||
- echo $DRONE_RUNNER_NAME
|
||||
|
|
@ -2621,7 +2621,7 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-cue
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-cue
|
||||
- commands:
|
||||
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
|
||||
|
|
@ -2630,14 +2630,14 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-jsonnet
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-jsonnet
|
||||
- commands:
|
||||
- apk add --update make
|
||||
- make gen-go
|
||||
depends_on:
|
||||
- verify-gen-cue
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: wire-install
|
||||
- commands:
|
||||
- dockerize -wait tcp://postgres:5432 -timeout 120s
|
||||
|
|
@ -2658,7 +2658,7 @@ steps:
|
|||
GRAFANA_TEST_DB: postgres
|
||||
PGPASSWORD: grafanatest
|
||||
POSTGRES_HOST: postgres
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: postgres-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://mysql80:3306 -timeout 120s
|
||||
|
|
@ -2679,7 +2679,7 @@ steps:
|
|||
environment:
|
||||
GRAFANA_TEST_DB: mysql
|
||||
MYSQL_HOST: mysql80
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: mysql-8.0-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://redis:6379 -timeout 120s
|
||||
|
|
@ -2695,7 +2695,7 @@ steps:
|
|||
- wait-for-redis
|
||||
environment:
|
||||
REDIS_URL: redis://redis:6379/0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: redis-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://memcached:11211 -timeout 120s
|
||||
|
|
@ -2711,7 +2711,7 @@ steps:
|
|||
- wait-for-memcached
|
||||
environment:
|
||||
MEMCACHED_HOSTS: memcached:11211
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: memcached-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://mimir_backend:8080 -timeout 120s
|
||||
|
|
@ -2727,7 +2727,7 @@ steps:
|
|||
environment:
|
||||
AM_TENANT_ID: test
|
||||
AM_URL: http://mimir_backend:8080
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: remote-alertmanager-integration-tests
|
||||
trigger:
|
||||
branch: main
|
||||
|
|
@ -2996,7 +2996,7 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-cue
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-cue
|
||||
- commands:
|
||||
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
|
||||
|
|
@ -3005,21 +3005,21 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-jsonnet
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-jsonnet
|
||||
- commands:
|
||||
- apk add --update make
|
||||
- make gen-go
|
||||
depends_on:
|
||||
- verify-gen-cue
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: wire-install
|
||||
- commands:
|
||||
- apk add --update build-base shared-mime-info shared-mime-info-lang
|
||||
- go list -f '{{.Dir}}/...' -m | xargs go test -short -covermode=atomic -timeout=5m
|
||||
depends_on:
|
||||
- wire-install
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: test-backend
|
||||
- commands:
|
||||
- apk add --update build-base
|
||||
|
|
@ -3028,7 +3028,7 @@ steps:
|
|||
| grep -o '\(.*\)/' | sort -u)
|
||||
depends_on:
|
||||
- wire-install
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: test-backend-integration
|
||||
trigger:
|
||||
branch:
|
||||
|
|
@ -3071,22 +3071,22 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: compile-build-cmd
|
||||
- commands:
|
||||
- apk add --update make
|
||||
- make gen-go
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: wire-install
|
||||
- commands:
|
||||
- go run scripts/modowners/modowners.go check go.mod
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: validate-modfile
|
||||
- commands:
|
||||
- apk add --update make
|
||||
- make swagger-validate
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: validate-openapi-spec
|
||||
trigger:
|
||||
branch:
|
||||
|
|
@ -3165,7 +3165,7 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: compile-build-cmd
|
||||
- commands:
|
||||
- echo $DRONE_RUNNER_NAME
|
||||
|
|
@ -3179,7 +3179,7 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-cue
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-cue
|
||||
- commands:
|
||||
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
|
||||
|
|
@ -3188,14 +3188,14 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-jsonnet
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-jsonnet
|
||||
- commands:
|
||||
- apk add --update make
|
||||
- make gen-go
|
||||
depends_on:
|
||||
- verify-gen-cue
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: wire-install
|
||||
- commands:
|
||||
- dockerize -wait tcp://postgres:5432 -timeout 120s
|
||||
|
|
@ -3216,7 +3216,7 @@ steps:
|
|||
GRAFANA_TEST_DB: postgres
|
||||
PGPASSWORD: grafanatest
|
||||
POSTGRES_HOST: postgres
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: postgres-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://mysql80:3306 -timeout 120s
|
||||
|
|
@ -3237,7 +3237,7 @@ steps:
|
|||
environment:
|
||||
GRAFANA_TEST_DB: mysql
|
||||
MYSQL_HOST: mysql80
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: mysql-8.0-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://redis:6379 -timeout 120s
|
||||
|
|
@ -3253,7 +3253,7 @@ steps:
|
|||
- wait-for-redis
|
||||
environment:
|
||||
REDIS_URL: redis://redis:6379/0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: redis-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://memcached:11211 -timeout 120s
|
||||
|
|
@ -3269,7 +3269,7 @@ steps:
|
|||
- wait-for-memcached
|
||||
environment:
|
||||
MEMCACHED_HOSTS: memcached:11211
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: memcached-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://mimir_backend:8080 -timeout 120s
|
||||
|
|
@ -3285,7 +3285,7 @@ steps:
|
|||
environment:
|
||||
AM_TENANT_ID: test
|
||||
AM_URL: http://mimir_backend:8080
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: remote-alertmanager-integration-tests
|
||||
trigger:
|
||||
branch:
|
||||
|
|
@ -3385,7 +3385,7 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: compile-build-cmd
|
||||
- commands:
|
||||
- ./bin/build artifacts docker fetch --edition oss
|
||||
|
|
@ -3517,7 +3517,7 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: compile-build-cmd
|
||||
- commands:
|
||||
- ./bin/build artifacts docker fetch --edition oss
|
||||
|
|
@ -3658,7 +3658,7 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: compile-build-cmd
|
||||
- commands:
|
||||
- ./bin/build artifacts packages --artifacts-editions=oss --tag $${DRONE_TAG} --src-bucket
|
||||
|
|
@ -3750,7 +3750,7 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: compile-build-cmd
|
||||
- commands:
|
||||
- yarn install --immutable || yarn install --immutable
|
||||
|
|
@ -3850,7 +3850,7 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: compile-build-cmd
|
||||
- depends_on:
|
||||
- compile-build-cmd
|
||||
|
|
@ -3947,7 +3947,7 @@ steps:
|
|||
depends_on: []
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: compile-build-cmd
|
||||
- commands:
|
||||
- ./bin/build publish grafana-com --edition oss ${DRONE_TAG}
|
||||
|
|
@ -4009,7 +4009,7 @@ steps:
|
|||
from_secret: grafana_api_key
|
||||
GCP_KEY_BASE64:
|
||||
from_secret: gcp_key_base64
|
||||
GO_VERSION: 1.23.7
|
||||
GO_VERSION: 1.24.1
|
||||
GPG_PASSPHRASE:
|
||||
from_secret: packages_gpg_passphrase
|
||||
GPG_PRIVATE_KEY:
|
||||
|
|
@ -4084,7 +4084,7 @@ steps:
|
|||
from_secret: grafana_api_key
|
||||
GCP_KEY_BASE64:
|
||||
from_secret: gcp_key_base64
|
||||
GO_VERSION: 1.23.7
|
||||
GO_VERSION: 1.24.1
|
||||
GPG_PASSPHRASE:
|
||||
from_secret: packages_gpg_passphrase
|
||||
GPG_PRIVATE_KEY:
|
||||
|
|
@ -4201,7 +4201,7 @@ steps:
|
|||
from_secret: grafana_api_key
|
||||
GCP_KEY_BASE64:
|
||||
from_secret: gcp_key_base64
|
||||
GO_VERSION: 1.23.7
|
||||
GO_VERSION: 1.24.1
|
||||
GPG_PASSPHRASE:
|
||||
from_secret: packages_gpg_passphrase
|
||||
GPG_PRIVATE_KEY:
|
||||
|
|
@ -4352,7 +4352,7 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-cue
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-cue
|
||||
- commands:
|
||||
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
|
||||
|
|
@ -4361,21 +4361,21 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-jsonnet
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-jsonnet
|
||||
- commands:
|
||||
- apk add --update make
|
||||
- make gen-go
|
||||
depends_on:
|
||||
- verify-gen-cue
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: wire-install
|
||||
- commands:
|
||||
- apk add --update build-base shared-mime-info shared-mime-info-lang
|
||||
- go list -f '{{.Dir}}/...' -m | xargs go test -short -covermode=atomic -timeout=5m
|
||||
depends_on:
|
||||
- wire-install
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: test-backend
|
||||
- commands:
|
||||
- apk add --update build-base
|
||||
|
|
@ -4384,7 +4384,7 @@ steps:
|
|||
| grep -o '\(.*\)/' | sort -u)
|
||||
depends_on:
|
||||
- wire-install
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: test-backend-integration
|
||||
trigger:
|
||||
cron:
|
||||
|
|
@ -4438,7 +4438,7 @@ steps:
|
|||
from_secret: grafana_api_key
|
||||
GCP_KEY_BASE64:
|
||||
from_secret: gcp_key_base64
|
||||
GO_VERSION: 1.23.7
|
||||
GO_VERSION: 1.24.1
|
||||
GPG_PASSPHRASE:
|
||||
from_secret: packages_gpg_passphrase
|
||||
GPG_PRIVATE_KEY:
|
||||
|
|
@ -4582,7 +4582,7 @@ steps:
|
|||
from_secret: grafana_api_key
|
||||
GCP_KEY_BASE64:
|
||||
from_secret: gcp_key_base64
|
||||
GO_VERSION: 1.23.7
|
||||
GO_VERSION: 1.24.1
|
||||
GPG_PASSPHRASE:
|
||||
from_secret: packages_gpg_passphrase
|
||||
GPG_PRIVATE_KEY:
|
||||
|
|
@ -4689,7 +4689,7 @@ steps:
|
|||
- export GITHUB_TOKEN=$(cat /github-app/token)
|
||||
- dagger run --silent /src/grafana-build artifacts -a $${ARTIFACTS} --grafana-ref=$${GRAFANA_REF}
|
||||
--enterprise-ref=$${ENTERPRISE_REF} --grafana-repo=$${GRAFANA_REPO} --version=$${VERSION}
|
||||
--go-version=1.23.7
|
||||
--go-version=1.24.1
|
||||
depends_on:
|
||||
- github-app-generate-token
|
||||
environment:
|
||||
|
|
@ -4710,7 +4710,7 @@ steps:
|
|||
from_secret: grafana_api_key
|
||||
GCP_KEY_BASE64:
|
||||
from_secret: gcp_key_base64
|
||||
GO_VERSION: 1.23.7
|
||||
GO_VERSION: 1.24.1
|
||||
GPG_PASSPHRASE:
|
||||
from_secret: packages_gpg_passphrase
|
||||
GPG_PRIVATE_KEY:
|
||||
|
|
@ -4848,7 +4848,7 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-cue
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-cue
|
||||
- commands:
|
||||
- '# It is required that generated jsonnet is committed and in sync with its inputs.'
|
||||
|
|
@ -4857,14 +4857,14 @@ steps:
|
|||
- apk add --update make
|
||||
- CODEGEN_VERIFY=1 make gen-jsonnet
|
||||
depends_on: []
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: verify-gen-jsonnet
|
||||
- commands:
|
||||
- apk add --update make
|
||||
- make gen-go
|
||||
depends_on:
|
||||
- verify-gen-cue
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: wire-install
|
||||
- commands:
|
||||
- dockerize -wait tcp://postgres:5432 -timeout 120s
|
||||
|
|
@ -4885,7 +4885,7 @@ steps:
|
|||
GRAFANA_TEST_DB: postgres
|
||||
PGPASSWORD: grafanatest
|
||||
POSTGRES_HOST: postgres
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: postgres-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://mysql80:3306 -timeout 120s
|
||||
|
|
@ -4906,7 +4906,7 @@ steps:
|
|||
environment:
|
||||
GRAFANA_TEST_DB: mysql
|
||||
MYSQL_HOST: mysql80
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: mysql-8.0-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://redis:6379 -timeout 120s
|
||||
|
|
@ -4922,7 +4922,7 @@ steps:
|
|||
- wait-for-redis
|
||||
environment:
|
||||
REDIS_URL: redis://redis:6379/0
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: redis-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://memcached:11211 -timeout 120s
|
||||
|
|
@ -4938,7 +4938,7 @@ steps:
|
|||
- wait-for-memcached
|
||||
environment:
|
||||
MEMCACHED_HOSTS: memcached:11211
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: memcached-integration-tests
|
||||
- commands:
|
||||
- dockerize -wait tcp://mimir_backend:8080 -timeout 120s
|
||||
|
|
@ -4954,7 +4954,7 @@ steps:
|
|||
environment:
|
||||
AM_TENANT_ID: test
|
||||
AM_URL: http://mimir_backend:8080
|
||||
image: golang:1.23.7-alpine
|
||||
image: golang:1.24.1-alpine
|
||||
name: remote-alertmanager-integration-tests
|
||||
trigger:
|
||||
event:
|
||||
|
|
@ -5257,7 +5257,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.23.7-alpine
|
||||
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM golang:1.24.1-alpine
|
||||
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM node:22.11.0-alpine
|
||||
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM node:22-bookworm
|
||||
- trivy --exit-code 0 --severity UNKNOWN,LOW,MEDIUM google/cloud-sdk:431.0.0
|
||||
|
|
@ -5295,7 +5295,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.23.7-alpine
|
||||
- trivy --exit-code 1 --severity HIGH,CRITICAL golang:1.24.1-alpine
|
||||
- trivy --exit-code 1 --severity HIGH,CRITICAL node:22.11.0-alpine
|
||||
- trivy --exit-code 1 --severity HIGH,CRITICAL node:22-bookworm
|
||||
- trivy --exit-code 1 --severity HIGH,CRITICAL google/cloud-sdk:431.0.0
|
||||
|
|
@ -5564,6 +5564,6 @@ kind: secret
|
|||
name: gcr_credentials
|
||||
---
|
||||
kind: signature
|
||||
hmac: 33f2e5615dfd7889899f9f8f16f7716190fa637fe98f1efd7e29607f8946be7d
|
||||
hmac: f55fddb4c6faf30b232ae778ec6c022c9f3d32955879e8a764c715642712c5ea
|
||||
|
||||
...
|
||||
|
|
|
|||
|
|
@ -2779,6 +2779,7 @@
|
|||
}
|
||||
},
|
||||
"AnnotationActions": {
|
||||
"description": "+k8s:deepcopy-gen=true",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"canAdd": {
|
||||
|
|
@ -2853,6 +2854,7 @@
|
|||
}
|
||||
},
|
||||
"AnnotationPermission": {
|
||||
"description": "+k8s:deepcopy-gen=true",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"dashboard": {
|
||||
|
|
@ -3206,6 +3208,24 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"InhibitAnyPolicy": {
|
||||
"description": "InhibitAnyPolicy and InhibitAnyPolicyZero indicate the presence and value\nof the inhibitAnyPolicy extension.\n\nThe value of InhibitAnyPolicy indicates the number of additional\ncertificates in the path after this certificate that may use the\nanyPolicy policy OID to indicate a match with any other policy.\n\nWhen parsing a certificate, a positive non-zero InhibitAnyPolicy means\nthat the field was specified, -1 means it was unset, and\nInhibitAnyPolicyZero being true mean that the field was explicitly set to\nzero. The case of InhibitAnyPolicy==0 with InhibitAnyPolicyZero==false\nshould be treated equivalent to -1 (unset).",
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"InhibitAnyPolicyZero": {
|
||||
"description": "InhibitAnyPolicyZero indicates that InhibitAnyPolicy==0 should be\ninterpreted as an actual maximum path length of zero. Otherwise, that\ncombination is interpreted as InhibitAnyPolicy not being set.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"InhibitPolicyMapping": {
|
||||
"description": "InhibitPolicyMapping and InhibitPolicyMappingZero indicate the presence\nand value of the inhibitPolicyMapping field of the policyConstraints\nextension.\n\nThe value of InhibitPolicyMapping indicates the number of additional\ncertificates in the path after this certificate that may use policy\nmapping.\n\nWhen parsing a certificate, a positive non-zero InhibitPolicyMapping\nmeans that the field was specified, -1 means it was unset, and\nInhibitPolicyMappingZero being true mean that the field was explicitly\nset to zero. The case of InhibitPolicyMapping==0 with\nInhibitPolicyMappingZero==false should be treated equivalent to -1\n(unset).",
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"InhibitPolicyMappingZero": {
|
||||
"description": "InhibitPolicyMappingZero indicates that InhibitPolicyMapping==0 should be\ninterpreted as an actual maximum path length of zero. Otherwise, that\ncombination is interpreted as InhibitAnyPolicy not being set.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"IsCA": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
|
@ -3270,19 +3290,26 @@
|
|||
}
|
||||
},
|
||||
"Policies": {
|
||||
"description": "Policies contains all policy identifiers included in the certificate.\nIn Go 1.22, encoding/gob cannot handle and ignores this field.",
|
||||
"description": "Policies contains all policy identifiers included in the certificate.\nSee CreateCertificate for context about how this field and the PolicyIdentifiers field\ninteract.\nIn Go 1.22, encoding/gob cannot handle and ignores this field.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"PolicyIdentifiers": {
|
||||
"description": "PolicyIdentifiers contains asn1.ObjectIdentifiers, the components\nof which are limited to int32. If a certificate contains a policy which\ncannot be represented by asn1.ObjectIdentifier, it will not be included in\nPolicyIdentifiers, but will be present in Policies, which contains all parsed\npolicy OIDs.",
|
||||
"description": "PolicyIdentifiers contains asn1.ObjectIdentifiers, the components\nof which are limited to int32. If a certificate contains a policy which\ncannot be represented by asn1.ObjectIdentifier, it will not be included in\nPolicyIdentifiers, but will be present in Policies, which contains all parsed\npolicy OIDs.\nSee CreateCertificate for context about how this field and the Policies field\ninteract.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ObjectIdentifier"
|
||||
}
|
||||
},
|
||||
"PolicyMappings": {
|
||||
"description": "PolicyMappings contains a list of policy mappings included in the certificate.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/PolicyMapping"
|
||||
}
|
||||
},
|
||||
"PublicKey": {},
|
||||
"PublicKeyAlgorithm": {
|
||||
"$ref": "#/definitions/PublicKeyAlgorithm"
|
||||
|
|
@ -3322,6 +3349,15 @@
|
|||
"format": "uint8"
|
||||
}
|
||||
},
|
||||
"RequireExplicitPolicy": {
|
||||
"description": "RequireExplicitPolicy and RequireExplicitPolicyZero indicate the presence\nand value of the requireExplicitPolicy field of the policyConstraints\nextension.\n\nThe value of RequireExplicitPolicy indicates the number of additional\ncertificates in the path after this certificate before an explicit policy\nis required for the rest of the path. When an explicit policy is required,\neach subsequent certificate in the path must contain a required policy OID,\nor a policy OID which has been declared as equivalent through the policy\nmapping extension.\n\nWhen parsing a certificate, a positive non-zero RequireExplicitPolicy\nmeans that the field was specified, -1 means it was unset, and\nRequireExplicitPolicyZero being true mean that the field was explicitly\nset to zero. The case of RequireExplicitPolicy==0 with\nRequireExplicitPolicyZero==false should be treated equivalent to -1\n(unset).",
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"RequireExplicitPolicyZero": {
|
||||
"description": "RequireExplicitPolicyZero indicates that RequireExplicitPolicy==0 should be\ninterpreted as an actual maximum path length of zero. Otherwise, that\ncombination is interpreted as InhibitAnyPolicy not being set.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"SerialNumber": {
|
||||
"type": "string"
|
||||
},
|
||||
|
|
@ -4047,6 +4083,9 @@
|
|||
"annotationsPermissions": {
|
||||
"$ref": "#/definitions/AnnotationPermission"
|
||||
},
|
||||
"apiVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"canAdmin": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
|
@ -4737,6 +4776,9 @@
|
|||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"managedBy": {
|
||||
"$ref": "#/definitions/ManagerKind"
|
||||
},
|
||||
"orgId": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
|
|
@ -4752,10 +4794,6 @@
|
|||
"$ref": "#/definitions/Folder"
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"description": "When the folder belongs to a repository\nNOTE: this is only populated when folders are managed by unified storage",
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
|
|
@ -4785,11 +4823,10 @@
|
|||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"parentUid": {
|
||||
"type": "string"
|
||||
"managedBy": {
|
||||
"$ref": "#/definitions/ManagerKind"
|
||||
},
|
||||
"repository": {
|
||||
"description": "When the folder belongs to a repository\nNOTE: this is only populated when folders are managed by unified storage",
|
||||
"parentUid": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
|
|
@ -5536,6 +5573,11 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"ManagerKind": {
|
||||
"description": "It can be a user or a tool or a generic API client.\n+enum",
|
||||
"type": "string",
|
||||
"title": "ManagerKind is the type of manager, which is responsible for managing the resource."
|
||||
},
|
||||
"MassDeleteAnnotationsCmd": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
@ -6175,6 +6217,20 @@
|
|||
"$ref": "#/definitions/Playlist"
|
||||
}
|
||||
},
|
||||
"PolicyMapping": {
|
||||
"type": "object",
|
||||
"title": "PolicyMapping represents a policy mapping entry in the policyMappings extension.",
|
||||
"properties": {
|
||||
"IssuerDomainPolicy": {
|
||||
"description": "IssuerDomainPolicy contains a policy OID the issuing certificate considers\nequivalent to SubjectDomainPolicy in the subject certificate.",
|
||||
"type": "string"
|
||||
},
|
||||
"SubjectDomainPolicy": {
|
||||
"description": "SubjectDomainPolicy contains a OID the issuing certificate considers\nequivalent to IssuerDomainPolicy in the subject certificate.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PostAnnotationsCmd": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
|
|
@ -9946,6 +10002,12 @@
|
|||
"type": "object"
|
||||
}
|
||||
},
|
||||
"notAcceptableError": {
|
||||
"description": "NotAcceptableError is returned when the server cannot produce a response matching the accepted formats.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/ErrorResponseBody"
|
||||
}
|
||||
},
|
||||
"notFoundError": {
|
||||
"description": "NotFoundError is returned when the requested resource was not found.",
|
||||
"schema": {
|
||||
|
|
|
|||
|
|
@ -13615,6 +13615,24 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"InhibitAnyPolicy": {
|
||||
"description": "InhibitAnyPolicy and InhibitAnyPolicyZero indicate the presence and value\nof the inhibitAnyPolicy extension.\n\nThe value of InhibitAnyPolicy indicates the number of additional\ncertificates in the path after this certificate that may use the\nanyPolicy policy OID to indicate a match with any other policy.\n\nWhen parsing a certificate, a positive non-zero InhibitAnyPolicy means\nthat the field was specified, -1 means it was unset, and\nInhibitAnyPolicyZero being true mean that the field was explicitly set to\nzero. The case of InhibitAnyPolicy==0 with InhibitAnyPolicyZero==false\nshould be treated equivalent to -1 (unset).",
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"InhibitAnyPolicyZero": {
|
||||
"description": "InhibitAnyPolicyZero indicates that InhibitAnyPolicy==0 should be\ninterpreted as an actual maximum path length of zero. Otherwise, that\ncombination is interpreted as InhibitAnyPolicy not being set.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"InhibitPolicyMapping": {
|
||||
"description": "InhibitPolicyMapping and InhibitPolicyMappingZero indicate the presence\nand value of the inhibitPolicyMapping field of the policyConstraints\nextension.\n\nThe value of InhibitPolicyMapping indicates the number of additional\ncertificates in the path after this certificate that may use policy\nmapping.\n\nWhen parsing a certificate, a positive non-zero InhibitPolicyMapping\nmeans that the field was specified, -1 means it was unset, and\nInhibitPolicyMappingZero being true mean that the field was explicitly\nset to zero. The case of InhibitPolicyMapping==0 with\nInhibitPolicyMappingZero==false should be treated equivalent to -1\n(unset).",
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"InhibitPolicyMappingZero": {
|
||||
"description": "InhibitPolicyMappingZero indicates that InhibitPolicyMapping==0 should be\ninterpreted as an actual maximum path length of zero. Otherwise, that\ncombination is interpreted as InhibitAnyPolicy not being set.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"IsCA": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
|
@ -13679,19 +13697,26 @@
|
|||
}
|
||||
},
|
||||
"Policies": {
|
||||
"description": "Policies contains all policy identifiers included in the certificate.\nIn Go 1.22, encoding/gob cannot handle and ignores this field.",
|
||||
"description": "Policies contains all policy identifiers included in the certificate.\nSee CreateCertificate for context about how this field and the PolicyIdentifiers field\ninteract.\nIn Go 1.22, encoding/gob cannot handle and ignores this field.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"PolicyIdentifiers": {
|
||||
"description": "PolicyIdentifiers contains asn1.ObjectIdentifiers, the components\nof which are limited to int32. If a certificate contains a policy which\ncannot be represented by asn1.ObjectIdentifier, it will not be included in\nPolicyIdentifiers, but will be present in Policies, which contains all parsed\npolicy OIDs.",
|
||||
"description": "PolicyIdentifiers contains asn1.ObjectIdentifiers, the components\nof which are limited to int32. If a certificate contains a policy which\ncannot be represented by asn1.ObjectIdentifier, it will not be included in\nPolicyIdentifiers, but will be present in Policies, which contains all parsed\npolicy OIDs.\nSee CreateCertificate for context about how this field and the Policies field\ninteract.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ObjectIdentifier"
|
||||
}
|
||||
},
|
||||
"PolicyMappings": {
|
||||
"description": "PolicyMappings contains a list of policy mappings included in the certificate.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/PolicyMapping"
|
||||
}
|
||||
},
|
||||
"PublicKey": {},
|
||||
"PublicKeyAlgorithm": {
|
||||
"$ref": "#/definitions/PublicKeyAlgorithm"
|
||||
|
|
@ -13731,6 +13756,15 @@
|
|||
"format": "uint8"
|
||||
}
|
||||
},
|
||||
"RequireExplicitPolicy": {
|
||||
"description": "RequireExplicitPolicy and RequireExplicitPolicyZero indicate the presence\nand value of the requireExplicitPolicy field of the policyConstraints\nextension.\n\nThe value of RequireExplicitPolicy indicates the number of additional\ncertificates in the path after this certificate before an explicit policy\nis required for the rest of the path. When an explicit policy is required,\neach subsequent certificate in the path must contain a required policy OID,\nor a policy OID which has been declared as equivalent through the policy\nmapping extension.\n\nWhen parsing a certificate, a positive non-zero RequireExplicitPolicy\nmeans that the field was specified, -1 means it was unset, and\nRequireExplicitPolicyZero being true mean that the field was explicitly\nset to zero. The case of RequireExplicitPolicy==0 with\nRequireExplicitPolicyZero==false should be treated equivalent to -1\n(unset).",
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"RequireExplicitPolicyZero": {
|
||||
"description": "RequireExplicitPolicyZero indicates that RequireExplicitPolicy==0 should be\ninterpreted as an actual maximum path length of zero. Otherwise, that\ncombination is interpreted as InhibitAnyPolicy not being set.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"SerialNumber": {
|
||||
"type": "string"
|
||||
},
|
||||
|
|
@ -18116,6 +18150,20 @@
|
|||
"$ref": "#/definitions/Playlist"
|
||||
}
|
||||
},
|
||||
"PolicyMapping": {
|
||||
"type": "object",
|
||||
"title": "PolicyMapping represents a policy mapping entry in the policyMappings extension.",
|
||||
"properties": {
|
||||
"IssuerDomainPolicy": {
|
||||
"description": "IssuerDomainPolicy contains a policy OID the issuing certificate considers\nequivalent to SubjectDomainPolicy in the subject certificate.",
|
||||
"type": "string"
|
||||
},
|
||||
"SubjectDomainPolicy": {
|
||||
"description": "SubjectDomainPolicy contains a OID the issuing certificate considers\nequivalent to IssuerDomainPolicy in the subject certificate.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"PostAnnotationsCmd": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
|
|
|
|||
|
|
@ -3676,6 +3676,24 @@
|
|||
},
|
||||
"type": "array"
|
||||
},
|
||||
"InhibitAnyPolicy": {
|
||||
"description": "InhibitAnyPolicy and InhibitAnyPolicyZero indicate the presence and value\nof the inhibitAnyPolicy extension.\n\nThe value of InhibitAnyPolicy indicates the number of additional\ncertificates in the path after this certificate that may use the\nanyPolicy policy OID to indicate a match with any other policy.\n\nWhen parsing a certificate, a positive non-zero InhibitAnyPolicy means\nthat the field was specified, -1 means it was unset, and\nInhibitAnyPolicyZero being true mean that the field was explicitly set to\nzero. The case of InhibitAnyPolicy==0 with InhibitAnyPolicyZero==false\nshould be treated equivalent to -1 (unset).",
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"InhibitAnyPolicyZero": {
|
||||
"description": "InhibitAnyPolicyZero indicates that InhibitAnyPolicy==0 should be\ninterpreted as an actual maximum path length of zero. Otherwise, that\ncombination is interpreted as InhibitAnyPolicy not being set.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"InhibitPolicyMapping": {
|
||||
"description": "InhibitPolicyMapping and InhibitPolicyMappingZero indicate the presence\nand value of the inhibitPolicyMapping field of the policyConstraints\nextension.\n\nThe value of InhibitPolicyMapping indicates the number of additional\ncertificates in the path after this certificate that may use policy\nmapping.\n\nWhen parsing a certificate, a positive non-zero InhibitPolicyMapping\nmeans that the field was specified, -1 means it was unset, and\nInhibitPolicyMappingZero being true mean that the field was explicitly\nset to zero. The case of InhibitPolicyMapping==0 with\nInhibitPolicyMappingZero==false should be treated equivalent to -1\n(unset).",
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"InhibitPolicyMappingZero": {
|
||||
"description": "InhibitPolicyMappingZero indicates that InhibitPolicyMapping==0 should be\ninterpreted as an actual maximum path length of zero. Otherwise, that\ncombination is interpreted as InhibitAnyPolicy not being set.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"IsCA": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
|
@ -3740,19 +3758,26 @@
|
|||
"type": "array"
|
||||
},
|
||||
"Policies": {
|
||||
"description": "Policies contains all policy identifiers included in the certificate.\nIn Go 1.22, encoding/gob cannot handle and ignores this field.",
|
||||
"description": "Policies contains all policy identifiers included in the certificate.\nSee CreateCertificate for context about how this field and the PolicyIdentifiers field\ninteract.\nIn Go 1.22, encoding/gob cannot handle and ignores this field.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"PolicyIdentifiers": {
|
||||
"description": "PolicyIdentifiers contains asn1.ObjectIdentifiers, the components\nof which are limited to int32. If a certificate contains a policy which\ncannot be represented by asn1.ObjectIdentifier, it will not be included in\nPolicyIdentifiers, but will be present in Policies, which contains all parsed\npolicy OIDs.",
|
||||
"description": "PolicyIdentifiers contains asn1.ObjectIdentifiers, the components\nof which are limited to int32. If a certificate contains a policy which\ncannot be represented by asn1.ObjectIdentifier, it will not be included in\nPolicyIdentifiers, but will be present in Policies, which contains all parsed\npolicy OIDs.\nSee CreateCertificate for context about how this field and the Policies field\ninteract.",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/ObjectIdentifier"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"PolicyMappings": {
|
||||
"description": "PolicyMappings contains a list of policy mappings included in the certificate.",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/PolicyMapping"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"PublicKey": {},
|
||||
"PublicKeyAlgorithm": {
|
||||
"$ref": "#/components/schemas/PublicKeyAlgorithm"
|
||||
|
|
@ -3792,6 +3817,15 @@
|
|||
},
|
||||
"type": "array"
|
||||
},
|
||||
"RequireExplicitPolicy": {
|
||||
"description": "RequireExplicitPolicy and RequireExplicitPolicyZero indicate the presence\nand value of the requireExplicitPolicy field of the policyConstraints\nextension.\n\nThe value of RequireExplicitPolicy indicates the number of additional\ncertificates in the path after this certificate before an explicit policy\nis required for the rest of the path. When an explicit policy is required,\neach subsequent certificate in the path must contain a required policy OID,\nor a policy OID which has been declared as equivalent through the policy\nmapping extension.\n\nWhen parsing a certificate, a positive non-zero RequireExplicitPolicy\nmeans that the field was specified, -1 means it was unset, and\nRequireExplicitPolicyZero being true mean that the field was explicitly\nset to zero. The case of RequireExplicitPolicy==0 with\nRequireExplicitPolicyZero==false should be treated equivalent to -1\n(unset).",
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"RequireExplicitPolicyZero": {
|
||||
"description": "RequireExplicitPolicyZero indicates that RequireExplicitPolicy==0 should be\ninterpreted as an actual maximum path length of zero. Otherwise, that\ncombination is interpreted as InhibitAnyPolicy not being set.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"SerialNumber": {
|
||||
"type": "string"
|
||||
},
|
||||
|
|
@ -8179,6 +8213,20 @@
|
|||
},
|
||||
"type": "array"
|
||||
},
|
||||
"PolicyMapping": {
|
||||
"properties": {
|
||||
"IssuerDomainPolicy": {
|
||||
"description": "IssuerDomainPolicy contains a policy OID the issuing certificate considers\nequivalent to SubjectDomainPolicy in the subject certificate.",
|
||||
"type": "string"
|
||||
},
|
||||
"SubjectDomainPolicy": {
|
||||
"description": "SubjectDomainPolicy contains a OID the issuing certificate considers\nequivalent to IssuerDomainPolicy in the subject certificate.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"title": "PolicyMapping represents a policy mapping entry in the policyMappings extension.",
|
||||
"type": "object"
|
||||
},
|
||||
"PostAnnotationsCmd": {
|
||||
"properties": {
|
||||
"dashboardId": {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ global variables
|
|||
"""
|
||||
|
||||
grabpl_version = "v3.1.2"
|
||||
golang_version = "1.23.7"
|
||||
golang_version = "1.24.1"
|
||||
|
||||
# nodejs_version should match what's in ".nvmrc", but without the v prefix.
|
||||
nodejs_version = "22.11.0"
|
||||
|
|
|
|||
Loading…
Reference in New Issue