Skip to content

ci: Add the required CI caller - #599

Merged
ecv merged 1 commit into
mainfrom
ci/required-ci-check
Nov 2, 2026
Merged

ecv merged 1 commit into
mainfrom
ci/required-ci-check

Conversation

@ecv

@ecv ecv commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Pull requests here can merge with a red or missing build. This adds the shared ci / Build and test check, so build and test failures show on every pull request and infra can make the check required.

Runs go build ./... and the Dockerfile build. Unit tests run through hack/unit-test.sh (skip: test): setup-envtest pinned to the controller-runtime release-0.25 commit and Kubernetes 1.31.0 as in the Makefile, then go test on every package except /e2e. The Karmada interpreter checks and console-wasm tests (make test-console) are not run. No ruleset requires a check today.

Fixes #598

Pull requests could merge with a red or missing build. Add a caller for the shared ci-basic workflow so every pull request reports `ci / Build and test`, which infra will require org-wide.

Build, unit-test under envtest and build the image on every pull request.
@ecv
ecv requested a review from andrewb3000 November 2, 2026 21:36
@ecv
ecv requested a review from a team as a code owner November 2, 2026 21:36

@kevwilliams kevwilliams left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified hack/unit-test.sh pins setup-envtest, fails if kube-apiserver is missing, and ran every non-e2e package on Go 1.27.3 alongside the Docker build.

@ecv
ecv merged commit 573d8f6 into main Nov 2, 2026
12 checks passed
@ecv
ecv deleted the ci/required-ci-check branch November 2, 2026 21:59
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.

Require a passing CI check to merge

3 participants