Skip to content

Commit

Permalink
xxx
Browse files Browse the repository at this point in the history
Signed-off-by: André Martins <andre@cilium.io>
  • Loading branch information
aanm committed Jul 3, 2024
1 parent 63236e8 commit abd0715
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
15 changes: 3 additions & 12 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -574,17 +574,7 @@
"matchDepNames": [
"grpc/grpc-go"
],
"versioning": "regex:cmd/protoc-gen-go-grpc/v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)",
"extractVersion": "^google\\.golang\\.org/grpc/cmd/protoc-gen-go-grpc@cmd/protoc-gen-go-grpc/v(?<version>.*)$",
"packageRules": [
{
"matchDatasources": ["github-releases"],
"matchPackageNames": ["grpc/grpc-go"],
"registryUrls": ["https://github.com/grpc/grpc-go"],
"extractVersion": "^cmd/protoc-gen-go-grpc/v(?<version>.*)$",
"replaceStringTemplate": "go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@{{{newDigest}}}"
}
]
"extractVersion": "^cmd/protoc-gen-go-grpc/(v?<version>.*)$"
}
],
"kubernetes": {
Expand All @@ -611,7 +601,8 @@
// Note that for GitHub release artifact digests, you likely want to use
// github-release-attachments as the datasource here.
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?) digestVersion=(?<currentValue>.*)\\s+.+_sha256.*=\"(?<currentDigest>.*)\"",
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s.+@(?<currentValue>.*)"
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s.+@(?<currentValue>.*)",
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s.+_VERSION=(?<currentValue>.*)"
]
},
{
Expand Down
8 changes: 6 additions & 2 deletions images/builder/install-protoplugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ set -o errexit
set -o pipefail
set -o nounset

# renovate: datasource=github-releases depName=grpc/grpc-go
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2.0
# renovate: datasource=github-tags depName=grpc/grpc-go
GRPC_VERSION=cmd/protoc-gen-go-grpc/v1.2.0

GRPC_VERSION=${GRPC_VERSION#cmd/protoc-gen-go-grpc/}
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@${GRPC_VERSION}

# renovate: datasource=github-releases depName=protocolbuffers/protobuf-go
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.31.0
# renovate: datasource=github-releases depName=mfridman/protoc-gen-go-json
Expand Down

0 comments on commit abd0715

Please sign in to comment.