-
Notifications
You must be signed in to change notification settings - Fork 862
Closed
Labels
area/build-toolsDevelopment tooling. I.e. pretty much everything in the `build` directory.Development tooling. I.e. pretty much everything in the `build` directory.kind/bugThese are bugs.These are bugs.kind/documentationDocumentation for AgonesDocumentation for Agones
Milestone
Description
Faced in #682.
There are bunch of errors while running make gen-api-docs
from build
folder, see them below.
Steps to reproduce:
- git fetch https://github.com/GoogleCloudPlatform/agones.git pull/682/head:pr_682 && git checkout pr_682
make gen-api-docs
Expected:
site/content/en/docs/Reference/agones_crd_api_reference.html
got updated.
Actual:
Only blank lines were added.
Current output of the script:
$ make gen-api-docs
docker run -e FILE="/go/src/agones.dev/agones/site/content/en/docs/Reference/agones_crd_api_reference.html" -e VERSION=0.10.0 --rm -i -v /Users/alexander.apalikov/go/src/agones.dev/agones/build//.confi$
/gcloud:/root/.config/gcloud -v ~/.kube/:/root/.kube -v ~/.helm:/root/.helm -v /Users/alexander.apalikov/go/src/agones.dev/agones:/go/src/agones.dev/agones -v /Users/alexander.apalikov/go/src/agones.de$
/agones/build//.gocache:/root/.cache/go-build agones-build:de8cde26b9 bash -c "/go/src/agones.dev/agones/site/gen-api-docs.sh"
I0415 11:26:13.761044 8 main.go:116] parsing go packages in directory ../../../agones.dev/agones/pkg/apis/
W0415 11:26:28.459739 8 parse.go:239] Ignoring child directory agones.dev/agones/pkg/apis/allocation: unable to import "agones.dev/agones/pkg/apis/allocation": go/build: importGo agones.dev/agone$
/pkg/apis/allocation: exit status 1
go: finding agones.dev/agones/pkg/apis/allocation latest
go: finding agones.dev/agones/pkg/apis latest
go: finding agones.dev/agones/pkg latest
go: finding agones.dev/agones v0.9.0
go: downloading agones.dev/agones v0.9.0
go: extracting agones.dev/agones v0.9.0
can't load package: package agones.dev/agones/pkg/apis/allocation: unknown import path "agones.dev/agones/pkg/apis/allocation": cannot find module providing package agones.dev/agones/pkg/apis/allocation
W0415 11:26:30.195565 8 parse.go:239] Ignoring child directory agones.dev/agones/pkg/apis/allocation/v1alpha1: unable to import "agones.dev/agones/pkg/apis/allocation/v1alpha1": go/build: importGo
agones.dev/agones/pkg/apis/allocation/v1alpha1: exit status 1
go: finding agones.dev/agones/pkg/apis/allocation/v1alpha1 latest
go: finding agones.dev/agones/pkg/apis/allocation latest
go: finding agones.dev/agones/pkg/apis latest
go: finding agones.dev/agones/pkg latest
can't load package: package agones.dev/agones/pkg/apis/allocation/v1alpha1: unknown import path "agones.dev/agones/pkg/apis/allocation/v1alpha1": cannot find module providing package agones.dev/agones/pkg/apis/allocation/v1alpha1
I0415 11:27:44.167386 8 main.go:202] using package=agones.dev/agones/pkg/apis/stable/v1alpha1
W0415 11:27:44.177908 8 main.go:343] not found external link source for type k8s.io/apimachinery/pkg/util/intstr.IntOrString
W0415 11:27:44.178572 8 main.go:343] not found external link source for type k8s.io/apimachinery/pkg/types.UID
W0415 11:27:44.179261 8 main.go:343] not found external link source for type k8s.io/apimachinery/pkg/types.UID
I0415 11:27:44.187743 8 main.go:150] written to /tmp/agones_crd_api_reference.html
{{% feature publishVersion="0.10.0" %}}
Metadata
Metadata
Assignees
Labels
area/build-toolsDevelopment tooling. I.e. pretty much everything in the `build` directory.Development tooling. I.e. pretty much everything in the `build` directory.kind/bugThese are bugs.These are bugs.kind/documentationDocumentation for AgonesDocumentation for Agones