Skip to content

Commit

Permalink
Let renovate update crd-docs-generator and helm-chart-docs-generator (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Dec 13, 2024
1 parent 07a3288 commit 6088ce2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,16 @@
"extends": [
"github>giantswarm/renovate-presets:default.json5"
],
customManagers: [
// Detect versions in shell scripts
{
customType: 'regex',
fileMatch: ['.*\\.sh'],
matchStrings: [
// for the version on the right part, ignoring the left
'# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s[A-Z_]+=(?<currentValue>\\S+)',
],
versioningTemplate: '{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}',
},
],
}
2 changes: 2 additions & 0 deletions scripts/update-crd-reference/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

set -e

# renovate: datasource=docker depName=gsoci.azurecr.io/giantswarm/crd-docs-generator versioning=loose
CRD_DOCS_GENERATOR_VERSION=0.11.1

DESTINATION=src/content/reference/platform-api/crd

# Clear output folder
Expand Down
1 change: 1 addition & 0 deletions scripts/update-helm-chart-reference/main.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

# renovate: datasource=docker depName=gsoci.azurecr.io/giantswarm/helm-chart-docs-generator versioning=loose
HELM_CHART_DOCS_GENERATOR_VERSION=0.2.0

DESTINATION=src/content/reference/platform-api/cluster-apps
Expand Down

0 comments on commit 6088ce2

Please sign in to comment.