Skip to content

ci: run code generation natively instead of Docker - #361

Open
mloiseleur wants to merge 2 commits into
traefik:mainfrom
mloiseleur:ci-native-code-gen
Open

mloiseleur wants to merge 2 commits into
traefik:mainfrom
mloiseleur:ci-native-code-gen

Conversation

@mloiseleur

@mloiseleur mloiseleur commented Sep 3, 2026

Copy link
Copy Markdown
Member

What does it do ?

Drop the Docker dependency for code generation: kube_codegen.sh installs its own generators from the module cache, so the codegen image is redundant.

Motivation

Efficiency

@mloiseleur mloiseleur closed this Sep 3, 2026
@mloiseleur mloiseleur reopened this Sep 3, 2026
kube_codegen.sh installs its own generators from the module cache, so
the codegen image and its go install layers are no longer needed.
Derive repo root from BASH_SOURCE instead of pwd, use GOMODCACHE for the
code-generator path, and resolve GOBIN explicitly instead of relying on
kube_codegen.sh exporting it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant