Skip to content

Commit

Permalink
🤖 added renovate for gatekeeper version (#208) 🤖
Browse files Browse the repository at this point in the history
  • Loading branch information
garethahealy authored Dec 6, 2023
1 parent 21a1a50 commit 3bf4440
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions _test/deploy-gatekeeper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ shopt -s inherit_errexit
command -v oc &> /dev/null || { echo >&2 'ERROR: oc not installed - Aborting'; exit 1; }
command -v konstraint &> /dev/null || { echo >&2 'ERROR: konstraint not installed - Aborting'; exit 1; }

# renovate: datasource=github-releases depName=open-policy-agent/gatekeeper
gatekeeper_version="v3.11.0"

cleanup_gatekeeper_constraints() {
Expand Down
11 changes: 11 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
"regexManagers:githubActionsVersions",
"schedule:earlyMondays"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"^.+\\.sh$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?\\s+[A-Za-z0-9_]+?_version\\s*=\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
]
}
],
"packageRules": [
{
"matchDepTypes": [
Expand Down

0 comments on commit 3bf4440

Please sign in to comment.