Skip to content

Commit 4f5b407

Browse files
authored
ci(docs): pin crd-ref-docs version to avoid upstream changes (#724)
Pin crd-ref-docs to v0.2.0 (latest stable release) instead of using the master branch. This prevents issues from upstream changes and provides better control over when to adopt new versions. Configure Renovate to automatically track and update the version, allowing us to review and test changes before merging. Closes #722 Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
1 parent b3bcf6d commit 4f5b407

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Taskfile.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,13 @@ tasks:
8585
env:
8686
# renovate: datasource=git-refs depName=crd-gen-refs lookupName=https://github.com/cloudnative-pg/daggerverse currentValue=main
8787
DAGGER_CRDGENREF_SHA: ee59e34a99940e45f87a16177b1d640975b05b74
88+
# renovate: datasource=go depName=github.com/elastic/crd-ref-docs
89+
CRDREFDOCS_VERSION: v0.2.0
8890
cmds:
8991
- >
90-
GITHUB_REF= dagger -s call -m github.com/cloudnative-pg/daggerverse/crd-ref-docs@${DAGGER_CRDGENREF_SHA} generate
92+
GITHUB_REF= dagger -s call -m github.com/cloudnative-pg/daggerverse/crd-ref-docs@${DAGGER_CRDGENREF_SHA}
93+
--version ${CRDREFDOCS_VERSION}
94+
generate
9195
--src .
9296
--source-path api/v1
9397
--config-file hack/crd-gen-refs/config.yaml

0 commit comments

Comments
 (0)