Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update go to v1.20.6 (minor) - autoclosed #63

Closed
wants to merge 15 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 44 additions & 12 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
// self-hosted configuration
"username": "cilium-renovate[bot]",
"repositories": ["cilium/tetragon"],
"username": "mtardy",
"repositories": ["mtardy/tetragon"],
// this is weird
"requireConfig": "ignored",
"allowedPostUpgradeCommands": [
"^/tmp/install-buildx$",
"^make codegen$",
"^make generate$",
"^install/kubernetes/test.sh$"
"^install/kubernetes/test.sh$",
"^go mod vendor$"
],
// repository configuration
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
Expand All @@ -15,7 +18,6 @@
":gitSignOff",
"helpers:pinGitHubActionDigests"
],
"gitAuthor": "cilium-renovate[bot] <134692979+cilium-renovate[bot]@users.noreply.github.com>",
"includePaths": [
".github/workflows/**",
"go.mod",
Expand All @@ -26,6 +28,7 @@
"pkg/k8s/go.sum",
"Dockerfile*",
"install/kubernetes/values.yaml",
"Makefile.cli"
],
"postUpdateOptions": [
"gomodTidy"
Expand Down Expand Up @@ -74,6 +77,9 @@
"matchFileNames": [
".github/workflows/**"
],
"matchManagers": [
"github-actions"
],
"separateMinorPatch": false,
},
{
Expand Down Expand Up @@ -203,14 +209,6 @@
"main"
],
},
{
// Images that directly use docker.io/library/golang for building.
"groupName": "golang-images",
"matchFileNames": [
"Dockerfile",
"Makefile"
]
},
{
"matchPackageNames": [
"docker.io/library/busybox"
Expand All @@ -219,12 +217,25 @@
"Dockerfile"
],
},
// Upgrade the Go module directive, see:
// https://docs.renovatebot.com/modules/versioning/#go-modules-directive-versioning
// depName is 'go' so it will be group with the 'Go' groupName
{
"matchDatasources": ["golang-version"],
"rangeStrategy": "bump",
},
{
"groupName": "Go",
"matchDepNames": [
"go",
"docker.io/library/golang"
],
// postUpgradeTasks is only for when the Go module directives are bumped
"postUpgradeTasks": {
"commands": ["go mod vendor"],
"fileFilters": ["**/**"],
"executionMode": "branch"
},
},
{
// Group golangci-lint updates to overrule grouping of version updates in the GHA files.
Expand All @@ -245,6 +256,7 @@
"executionMode": "branch"
}
},
// ignore deps section
{
// do not update those packages as they are replaced by the local copy
// see https://github.com/cilium/tetragon/blob/7623babdf54e9a38326420c1b188308f6cf96fff/go.mod#L178-L179
Expand All @@ -268,5 +280,25 @@
],
"enabled": false
}
],
// Those regexes manage version strings in variousfiles, similar to the
// examples shown here: https://docs.renovatebot.com/modules/manager/regex/#advanced-capture
"regexManagers": [
{
"fileMatch": [
"^\\.github/workflows/[^/]+\\.ya?ml$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+.+version: *['\"]?(?<currentValue>[^'\"\\s]*)"
]
},
{
"fileMatch": [
"Makefile.cli"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?)\\s+GO_IMAGE[[:blank:]]*=[[:blank:]]*(?<depName>.*?):(?<currentValue>[^\\s]*)"
]
}
]
}
191 changes: 0 additions & 191 deletions .github/workflows/build-clang-image.yaml

This file was deleted.

82 changes: 0 additions & 82 deletions .github/workflows/build-deploy-docs.yaml

This file was deleted.

Loading