Skip to content

Commit

Permalink
Generate CUE go.mod in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
  • Loading branch information
stefanprodan committed Apr 6, 2023
1 parent bbce3f3 commit c850e5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ gcloud/
dist/
bin/
cue/cue.mod/gen/
cue/go.mod
cue/go.sum
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ swagger:

.PHONY: cue-mod
cue-mod:
@cd cue && go mod init
@cd cue && go get k8s.io/api/...
@cd cue && cue get go k8s.io/api/...

.PHONY: cue-gen
Expand Down
2 changes: 2 additions & 0 deletions cue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ brew install cue
Generate the Kubernetes API definitions required by this module with:

```shell
go mod init
go get k8s.io/api/...
cue get go k8s.io/api/...
```

Expand Down

0 comments on commit c850e5d

Please sign in to comment.