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

Generate docs from CRD spec #505

Merged
merged 6 commits into from
Nov 11, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
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/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
go-version: 1.17
- name: Run api-docs
run: |
make api-docs
make ensure-generate-is-noo api-docs
jpkrohling marked this conversation as resolved.
Show resolved Hide resolved
- name: Check if working tree is dirty
jpkrohling marked this conversation as resolved.
Show resolved Hide resolved
run: |
if [[ $(git status --porcelain) ]]; then
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ lint:
golangci-lint run

# Generate code
generate: controller-gen
generate: controller-gen api-docs
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."

# end-to-tests
Expand All @@ -133,7 +133,7 @@ container:
container-push:
docker push ${IMG}

start-kind:
start-kind:
kind create cluster --config $(KIND_CONFIG)
kind load docker-image local/opentelemetry-operator:e2e

Expand Down