Skip to content

dims/test-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test-k8s

test-k8s is a small GitHub Actions harness for running a focused Kubernetes CI matrix against the refs configured in config.yaml.

Today that means:

  • Kubernetes: kubernetes/kubernetes@master
  • containerd: containerd/containerd@main

Each job resolves those refs to exact commit SHAs at runtime, prints both SHAs in the logs and job summary, and uploads collected artifacts from ARTIFACTS.

Actions

Full run history: https://github.com/dims/test-k8s/actions

Workflow Status Purpose Command
Verify Verify Kubernetes verify lane, excluding typecheck and dependency verification which run separately ./hack/jenkins/verify-dockerized.sh
Unit Tests Unit Tests Kubernetes unit tests make test
Integration Tests Integration Tests Kubernetes integration tests ./hack/jenkins/test-integration-dockerized.sh
Typecheck Typecheck Kubernetes typecheck verify target make verify WHAT=typecheck
Dependencies Dependencies Dependency and vendor verification make verify WHAT="external-dependencies-version vendor vendor-licenses"
Cmd Tests Cmd Tests Kubernetes command/integration-style command tests ./hack/jenkins/test-cmd-dockerized.sh
Linter Hints Linter Hints golangci-lint PR hints lane make verify WHAT=golangci-lint-pr-hints
E2E (kind) E2E (kind) Focused non-slow, non-disruptive kind-based e2e lane e2e-k8s.sh
E2E (kind, alpha-beta-features) E2E (kind, alpha-beta-features) Off-by-default alpha and beta feature coverage in kind with all APIs enabled e2e-k8s.sh
Conformance (kind, GA-only) Conformance (kind, GA-only) kind-based conformance with alpha and beta APIs disabled e2e-k8s.sh
Node E2E Node E2E Builds containerd from the configured ref, wires it into the runner, then runs Kubernetes node e2e make test-e2e-node
Test-Infra Drift Test-Infra Drift Detects curated drift between these workflows and upstream kubernetes/test-infra job definitions make test-infra-drift

Triggers

Workflow triggers vary:

  • The main CI lanes (Verify, Unit Tests, Integration Tests, Typecheck, Dependencies, Cmd Tests, Linter Hints, E2E (kind), E2E (kind, alpha-beta-features), Conformance (kind, GA-only), and Node E2E) run on pushes to main and pull requests to main when relevant workflow/action/config files change, on manual workflow_dispatch, and every 6 hours.
  • Test-Infra Drift runs on workflow_dispatch, daily, and when tracked workflow or drift-detector files change.

Repository Layout

Notes

  • Linter Hints is configured with continue-on-error, so it is informational rather than a hard gate.
  • The Actions page is the main dashboard for this repo because each CI lane is split into its own top-level workflow.
  • To compare these workflows against the curated upstream test-infra jobs, run make test-infra-drift. It defaults TEST_INFRA_DIR from go env GOPATH, and you can still override it explicitly.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors