Skip to content

Feat/kubernetes export tests#208

Closed
OliverTrautvetter wants to merge 5 commits intomainfrom
feat/kubernetes-export-tests
Closed

Feat/kubernetes export tests#208
OliverTrautvetter wants to merge 5 commits intomainfrom
feat/kubernetes-export-tests

Conversation

@OliverTrautvetter
Copy link
Member

TODO

- Use RepoRoot-relative paths instead of joining with current directory
- Introduce clientFactory pattern for lazy client creation in generate docker
- Format OpenAPI client code and fix float formatting
Split the monolithic integration_test.go into individual files, each
with a Ginkgo label for selective execution via matrix CI:

  curl_test.go (curl), error_handling_test.go (error-handling),
  git_test.go (git), list_test.go (list), log_test.go (log),
  monitor_test.go (local), pipeline_test.go (pipeline),
  version_help_test.go (local), wakeup_test.go (wakeup),
  workspace_test.go (workspace)

Extract shared constants and helpers into int/util/.
- Split CI into build, test (parallel per-label matrix), and cleanup jobs
- Define label list once; derive matrix and unlabeled filter dynamically
- Add unique run-name with github.run_id to avoid parallel conflicts
- Fetch latest hadolint and kubeconform versions at install time
- Add per-label Makefile targets (test-int-workspace, test-int-list, etc.)
Add comprehensive tests for generate docker, kubernetes, and images
commands. Tests validate generated Dockerfiles, shell scripts, and K8s
manifests (Deployments, Services, Ingress) by unmarshalling into typed
structs and running linters (hadolint, shellcheck, kubeconform) when
available.

Add int/util/linters.go with a single runLinter function that handles
tool discovery, skip-on-missing behavior, and failure reporting.
Signed-off-by: OliverTrautvetter <66372584+OliverTrautvetter@users.noreply.github.com>
@OliverTrautvetter OliverTrautvetter deleted the feat/kubernetes-export-tests branch March 12, 2026 16:39
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