8e9aa45716
* Chore: Add go workspace (#83191) --------- Co-authored-by: ismail simsek <ismailsimsek09@gmail.com> * CI: Make pkg/build its own module, remove unused Grafana modules in go.mo… (#89243) * Make pkg/build its own module, remove unused Grafana modules in go.mod/go.sum * fix go.work format * log errors on file close errors * CI: Add release-pr workflow (#89005) * Add release-pr workflow * update CODEOWNERS * CI: Trigger release pr workflow when a release is completed (#89062) * Automation: Verify release artifacts on grafana.com (#89197) * baldm0mma/verify_release/ create verify_release_for_download function * baldm0mma/verify_release/ add name, image, env * baldm0mma/verify_release/ add initial commands * baldm0mma/verify_release/ add deps? * baldm0mma/verify_release/ update location * baldm0mma/verify_release/ add anno to lib-star * bald0mma/verify_release/ update func name to verify_grafanacom_step * baldm0mma/verify_release/ add verify shell script * baldm0mma/verify_release/ add script content, first attempt * baldm0mma/verify_release/ add node image to verify_grafanacom_step * baldm0mma/verify_release/ add gcom secret note * baldm0mma/verify_release/ add sudo to apt-get * baldm0mma/verify_release/ add anno * baldm0mma/verify_release/ add anno to secrets * baldm0mma/verify_release/ update commands to reflect node env image * baldm0mma/verify_release/ update annos * baldm0mma/verify_release/ update tag variable * baldm0mma/verify release/ add whitespace * baldm0mma/verify_releases/ update with no bash loops * baldm0mma/verify_release/ update exit logic * baldm0mma/verify_release/ remove annos * baldm0mma/verify_releasse/ resign and build yml * baldm0mma/verify_release/ remove annos * baldm0mma/verify_release/ update signature * baldm0mma/verify_release/ download curl * baldm0mma/verify_release/ remove temp key folder removal * baldm0mma/verify_release/ account for artifact download time * baldm0mma/verify_release/ add anno * baldm0mma/verify_release/ update location * baldm0mma/verify_release/ update script * baldm0mma/verify_release/ make drone * baldm0mma/verify_release/ update script for oss or ent * baldm0mma/verify_release/ add promotion option * baldm0mma/verify_release/ make drone * Update scripts/drone/events/release.star Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com> * Update scripts/drone/steps/lib.star Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com> * Update scripts/drone/steps/lib.star Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com> * baldm0mma/verify_release/ update drone * Update scripts/drone/events/release.star Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com> * baldm0mma/verify_release/ update drone * Update scripts/drone/steps/lib.star Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com> * baldm0mma/update drone * baldm0mma/verify_release/ update path * baldm0mma/verify_release/ make drone * baldm0mma/update drone * Apply suggestions from code review Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com> * baldm0mma/verify_release/ update for loop to account for failure * baldm0mma/verify_release/ make drone * baldm0mma/verify_release/ make format-drone * baldm0mma/verify_release/ rem unused var --------- Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com> --------- Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com> Co-authored-by: ismail simsek <ismailsimsek09@gmail.com> Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
134 lines
6.9 KiB
Modula-2
134 lines
6.9 KiB
Modula-2
module github.com/grafana/grafana/pkg/build
|
|
|
|
go 1.21.10
|
|
|
|
// Override docker/docker to avoid:
|
|
// go: github.com/drone-runners/drone-runner-docker@v1.8.2 requires
|
|
// github.com/docker/docker@v0.0.0-00010101000000-000000000000: invalid version: unknown revision 000000000000
|
|
replace github.com/docker/docker => github.com/moby/moby v23.0.4+incompatible
|
|
|
|
// contains openapi encoder fixes. remove ASAP
|
|
replace cuelang.org/go => github.com/grafana/cue v0.0.0-20230926092038-971951014e3f // @grafana/grafana-as-code
|
|
|
|
// TODO: following otel replaces to pin the libraries so k8s.io/apiserver doesn't downgrade us inadvertantly
|
|
// will need bumps as we upgrade otel in Grafana
|
|
replace (
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp => go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 // @grafana/backend-platform
|
|
go.opentelemetry.io/otel => go.opentelemetry.io/otel v1.22.0 // @grafana/backend-platform
|
|
go.opentelemetry.io/otel/metric => go.opentelemetry.io/otel/metric v1.22.0 // @grafana/backend-platform
|
|
go.opentelemetry.io/otel/trace => go.opentelemetry.io/otel/trace v1.22.0 // @grafana/backend-platform
|
|
)
|
|
|
|
// Override Prometheus version because Prometheus v2.X is tagged as v0.X for Go modules purposes and Go assumes
|
|
// that v1.Y is higher than v0.X, so when we resolve dependencies if any dependency imports v1.Y we'd
|
|
// import that instead of v0.X even though v0.X is newer.
|
|
replace github.com/prometheus/prometheus => github.com/prometheus/prometheus v0.49.0
|
|
|
|
// The v0.120.0 is needed for now to be compatible with grafana/thema.
|
|
replace github.com/getkin/kin-openapi => github.com/getkin/kin-openapi v0.120.0
|
|
|
|
require (
|
|
cloud.google.com/go/storage v1.36.0 // @grafana/backend-platform
|
|
github.com/aws/aws-sdk-go v1.50.8 // @grafana/aws-datasources
|
|
github.com/blang/semver/v4 v4.0.0 // @grafana/grafana-release-guild
|
|
github.com/gogo/protobuf v1.3.2 // indirect; @grafana/alerting-squad-backend
|
|
github.com/google/go-cmp v0.6.0 // @grafana/backend-platform
|
|
github.com/google/uuid v1.6.0 // indirect; @grafana/backend-platform
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect; @grafana/backend-platform
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/stretchr/testify v1.9.0 // @grafana/backend-platform
|
|
github.com/urfave/cli/v2 v2.25.0 // @grafana/backend-platform
|
|
go.opentelemetry.io/otel/sdk v1.24.0 // indirect; @grafana/backend-platform
|
|
go.opentelemetry.io/otel/trace v1.24.0 // indirect; @grafana/backend-platform
|
|
golang.org/x/crypto v0.23.0 // indirect; @grafana/backend-platform
|
|
golang.org/x/net v0.25.0 // indirect; @grafana/oss-big-tent @grafana/partner-datasources
|
|
golang.org/x/oauth2 v0.18.0 // @grafana/grafana-authnz-team
|
|
golang.org/x/sync v0.6.0 // indirect; @grafana/alerting-squad-backend
|
|
golang.org/x/time v0.5.0 // indirect; @grafana/backend-platform
|
|
golang.org/x/tools v0.17.0 // indirect; @grafana/grafana-as-code
|
|
google.golang.org/api v0.155.0 // @grafana/backend-platform
|
|
google.golang.org/grpc v1.62.1 // indirect; @grafana/plugins-platform-backend
|
|
google.golang.org/protobuf v1.33.0 // indirect; @grafana/plugins-platform-backend
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // @grafana/alerting-squad-backend
|
|
)
|
|
|
|
require (
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect; @grafana/backend-platform
|
|
github.com/googleapis/gax-go/v2 v2.12.0 // indirect; @grafana/backend-platform
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
go.opencensus.io v0.24.0 // indirect
|
|
golang.org/x/sys v0.20.0 // indirect
|
|
golang.org/x/text v0.15.0 // indirect; @grafana/backend-platform
|
|
google.golang.org/appengine v1.6.8 // indirect
|
|
google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 // indirect; @grafana/backend-platform
|
|
)
|
|
|
|
require (
|
|
github.com/drone/drone-cli v1.6.1 // @grafana/grafana-release-guild
|
|
github.com/google/go-github v17.0.0+incompatible // @grafana/grafana-release-guild
|
|
github.com/google/go-github/v45 v45.2.0 // @grafana/grafana-release-guild
|
|
github.com/urfave/cli v1.22.14 // @grafana/backend-platform
|
|
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect; @grafana/plugins-platform-backend
|
|
)
|
|
|
|
require (
|
|
github.com/Masterminds/semver/v3 v3.1.1 // @grafana/grafana-release-guild
|
|
golang.org/x/mod v0.14.0 // @grafana/backend-platform
|
|
)
|
|
|
|
require go.opentelemetry.io/otel v1.24.0 // indirect; @grafana/backend-platform
|
|
|
|
require (
|
|
cloud.google.com/go v0.112.0 // indirect
|
|
cloud.google.com/go/compute/metadata v0.2.3 // indirect
|
|
github.com/bmatcuk/doublestar v1.1.1 // indirect
|
|
github.com/buildkite/yaml v2.1.0+incompatible // indirect
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
github.com/docker/distribution v2.8.2+incompatible // indirect
|
|
github.com/docker/go-connections v0.4.0 // indirect
|
|
github.com/drone-runners/drone-runner-docker v1.8.2 // indirect
|
|
github.com/drone/drone-go v1.7.1 // indirect
|
|
github.com/drone/envsubst v1.0.3 // indirect
|
|
github.com/drone/runner-go v1.12.0 // indirect
|
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
|
github.com/google/go-querystring v1.1.0 // indirect
|
|
github.com/google/s2a-go v0.1.7 // indirect
|
|
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
|
|
github.com/kr/pretty v0.3.1 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/opencontainers/image-spec v1.0.3-0.20220512140940-7b36cea86235 // indirect
|
|
github.com/rogpeppe/go-internal v1.11.0 // indirect
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
|
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.24.0 // indirect
|
|
go.starlark.net v0.0.0-20230525235612-a134d8f9ddca // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 // indirect
|
|
)
|
|
|
|
require (
|
|
cloud.google.com/go/compute v1.23.3 // indirect
|
|
cloud.google.com/go/iam v1.1.5 // indirect
|
|
github.com/Microsoft/go-winio v0.6.1 // indirect
|
|
github.com/docker/docker v24.0.7+incompatible // @grafana/grafana-release-guild
|
|
github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32 // indirect
|
|
github.com/go-logr/logr v1.4.1 // indirect; @grafana/grafana-app-platform-squad
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/moby/term v0.0.0-20221205130635-1aeaba878587 // indirect
|
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
|
|
gotest.tools/v3 v3.0.3 // indirect
|
|
)
|
|
|
|
// Use fork of crewjam/saml with fixes for some issues until changes get merged into upstream
|
|
replace github.com/crewjam/saml => github.com/grafana/saml v0.4.15-0.20231025143828-a6c0e9b86a4c
|
|
|
|
// replace github.com/google/cel-go => github.com/google/cel-go v0.16.1
|