Skip to content

Commit

Permalink
chore: manage maubot updates via renovate (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
amandahla authored Oct 8, 2024
1 parent 76c0e61 commit e02115a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion maubot_rock/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: maubot
summary: Maubot rock
description: Maubot OCI image for the Maubot charm
version: "0.5.0"
version: 0.5.0
license: Apache-2.0

base: ubuntu@24.04
Expand Down
14 changes: 9 additions & 5 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
"# renovate: base:\\s+(?<depName>[^:]*):(?<currentValue>[^\\s@]*)(@(?<currentDigest>sha256:[0-9a-f]*))?"],
"datasourceTemplate": "docker",
"versioningTemplate": "ubuntu"
},
{
"fileMatch": ["(^|/)rockcraft.yaml$"],
"description": "Update Maubot workload",
"matchStringsStrategy": "any",
"matchStrings": ["maubot==(?<currentValue>.+)", "version: (?<currentValue>.+)"],
"datasourceTemplate": "github-releases",
"depNameTemplate": "maubot/maubot",
"versioningTemplate": "semver-coerced"
}
],
"packageRules": [
Expand All @@ -21,11 +30,6 @@
"docker"
],
"pinDigests": true
},
{
"matchFiles": ["rockcraft.yaml"],
"matchUpdateTypes": ["major", "minor", "patch"],
"enabled": false
}
]
}
Expand Down

0 comments on commit e02115a

Please sign in to comment.