Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix timoni:generate header #481

Merged
merged 2 commits into from
Feb 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup CUE
uses: cue-lang/setup-cue@a93fa358375740cd8b0078f76355512b9208acb1 # main
with:
version: v0.11.0
version: v0.12.0
- name: Run tests
run: make test
- name: Run linter
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup Kubernetes
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
with:
version: v0.25.0
version: v0.26.0
node_image: kindest/node:v1.32.0
cluster_name: kind
- name: Install
Expand Down
2 changes: 1 addition & 1 deletion cmd/timoni/mod_vendor_crd.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func init() {

const header = `// Code generated by timoni. DO NOT EDIT.

//timoni:generate timoni vendor crd -f `
//timoni:generate timoni mod vendor crd -f `

func runVendorCrdCmd(cmd *cobra.Command, args []string) error {
if len(args) > 0 {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Code generated by timoni. DO NOT EDIT.

//timoni:generate timoni vendor crd -f testdata/crd/source/cert-manager.crds.yaml
//timoni:generate timoni mod vendor crd -f testdata/crd/source/cert-manager.crds.yaml

package v1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Code generated by timoni. DO NOT EDIT.

//timoni:generate timoni vendor crd -f testdata/crd/source/cert-manager.crds.yaml
//timoni:generate timoni mod vendor crd -f testdata/crd/source/cert-manager.crds.yaml

package v1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Code generated by timoni. DO NOT EDIT.

//timoni:generate timoni vendor crd -f testdata/crd/source/cert-manager.crds.yaml
//timoni:generate timoni mod vendor crd -f testdata/crd/source/cert-manager.crds.yaml

package v1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Code generated by timoni. DO NOT EDIT.

//timoni:generate timoni vendor crd -f testdata/crd/source/cert-manager.crds.yaml
//timoni:generate timoni mod vendor crd -f testdata/crd/source/cert-manager.crds.yaml

package v1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Code generated by timoni. DO NOT EDIT.

//timoni:generate timoni vendor crd -f testdata/crd/source/cert-manager.crds.yaml
//timoni:generate timoni mod vendor crd -f testdata/crd/source/cert-manager.crds.yaml

package v1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Code generated by timoni. DO NOT EDIT.

//timoni:generate timoni vendor crd -f testdata/crd/source/cert-manager.crds.yaml
//timoni:generate timoni mod vendor crd -f testdata/crd/source/cert-manager.crds.yaml

package v1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Code generated by timoni. DO NOT EDIT.

//timoni:generate timoni vendor crd -f testdata/crd/source/flagger.crds.yaml
//timoni:generate timoni mod vendor crd -f testdata/crd/source/flagger.crds.yaml

package v1beta1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Code generated by timoni. DO NOT EDIT.

//timoni:generate timoni vendor crd -f testdata/crd/source/flagger.crds.yaml
//timoni:generate timoni mod vendor crd -f testdata/crd/source/flagger.crds.yaml

package v1beta1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Code generated by timoni. DO NOT EDIT.

//timoni:generate timoni vendor crd -f testdata/crd/source/flagger.crds.yaml
//timoni:generate timoni mod vendor crd -f testdata/crd/source/flagger.crds.yaml

package v1beta1

Expand Down
Loading