Skip to content

Commit

Permalink
onboarding renovate (#10)
Browse files Browse the repository at this point in the history
* feat(renovate): add renovate config

---------

Signed-off-by: Christopher Haar <[email protected]>
  • Loading branch information
haarchri authored Jan 2, 2024
1 parent 4e0427b commit 2a4f59b
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
42 changes: 42 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"helpers:pinGitHubActionDigests",
":semanticCommits"
],
"rebaseWhen": "conflicted",
"prConcurrentLimit": 5,
"baseBranches": ["main"],
"labels": ["automated"],
"customManagers": [
{
"customType": "regex",
"description": "Bump up version in the Makefile",
"fileMatch": ["^Makefile$"],
"matchStrings": [
"UP_VERSION = (?<currentValue>.*?)\\n"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "upbound/up",
}, {
"customType": "regex",
"description": "Bump uptest version in the Makefile",
"fileMatch": ["^Makefile$"],
"matchStrings": [
"UPTEST_VERSION = (?<currentValue>.*?)\\n"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "upbound/uptest",
}, {
"customType": "regex",
"description": "Bump providers/functions/configurations in crossplane.yaml",
"fileMatch": ["crossplane.yaml"],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)\\s*\\n\\s*version:\\s*\"(?<currentValue>[^\"]+)\""
],
"datasourceTemplate": "{{{datasource}}}",
"depNameTemplate": "{{{depName}}}",
}
],
}
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:

env:
DOCKER_BUILDX_VERSION: 'v0.8.2'

XPKG_ACCESS_ID: ${{ secrets.XPKG_ACCESS_ID }}

jobs:
Expand Down
3 changes: 3 additions & 0 deletions crossplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ spec:
version: ">=v1.14.1-0"
dependsOn:
- provider: xpkg.upbound.io/upbound/provider-family-aws
# renovate: datasource=github-releases depName=upbound/provider-aws
version: "v0.44.0"
- provider: xpkg.upbound.io/upbound/provider-aws-ec2
# renovate: datasource=github-releases depName=upbound/provider-aws
version: "v0.44.0"
- function: xpkg.upbound.io/upbound/function-patch-and-transform
# renovate: datasource=github-releases depName=upbound/function-patch-and-transform
version: "v0.2.1"

0 comments on commit 2a4f59b

Please sign in to comment.