Skip to content

build: align tooling and gitignore with the release baseline - #111

Merged
whg517 merged 3 commits into
zncdatadev:mainfrom
whg517:fix/release-baseline-alignment
Aug 20, 2026
Merged

whg517 merged 3 commits into
zncdatadev:mainfrom
whg517:fix/release-baseline-alignment

Conversation

@whg517

@whg517 whg517 commented Aug 20, 2026

Copy link
Copy Markdown
Member

Why

Part of the 0.4.0 release baseline alignment.

golangci-lint was floating. golangci-lint-action was invoked with no
version: input, so CI always installed the newest release. That breaks the
pipeline on an upstream release with no change here, and it diverges from the
v2.12.1 the Makefile already pinned.

Two gitignore gaps. make helm-chart-package writes to target/, which
this repo did not ignore — one of only two operators in that state. .omc/ is
ignored in every other operator; this was the only one missing it. Both matter
now that check-crds-sync stages untracked files before diffing: leftover
output from a local chart or agent run gets reported as CRD drift.

publish.yml could only be triggered by a push to main, so its credentials
could not be verified on demand. That is how an expired HELM_CHARTS_REPO_TOKEN
went unnoticed for weeks — nothing landed on main to exercise it, and it only
surfaced when an unrelated change did. workflow_dispatch makes the publish
path verifiable before a release rather than at tag time, when the tag cannot
be recut.

Verification

Gate Result
make lint (v2.12.1) 0 issues
make test all packages pass
check-crds-sync (simulated per the CI logic, clean tree) passes
make helm-crd-sync already in sync, no regeneration needed
Workflow YAML syntax valid; workflow_dispatch parses as expected

Note: unlike most operators, doris pulls the official apache/doris images
rather than kubedoop-built ones, so it has no product-version matrix to align.

🤖 Generated with Claude Code

whg517 and others added 3 commits August 20, 2026 09:32
golangci-lint-action was invoked without a `version:` input, so CI always
installed the newest release. That makes the pipeline fail on an upstream
release with no change here, and it silently diverges from the v2.12.1 the
Makefile already pinned.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
publish.yml could only be triggered by a push to main, so the credentials it
needs could not be verified on demand. An expired HELM_CHARTS_REPO_TOKEN went
unnoticed for weeks because nothing happened to land on main during that
window, and it only surfaced when an unrelated change did.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Two gaps against the other operators:

- `make helm-chart-package` writes to target/, which this repo did not ignore -
  one of only two operators in that state.
- .omc/ is ignored everywhere else; this was the only operator missing it.

Both matter now that check-crds-sync stages untracked files before diffing:
leftover output from a local chart or agent run would be reported as CRD drift.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@whg517
whg517 merged commit d9e1406 into zncdatadev:main Aug 20, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant