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
Added verify-book-links
make target
#3194
Conversation
@zeborg: This issue is currently awaiting triage. If CAPA/CAPI contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hi @zeborg. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
ea17d45
to
f4b1c07
Compare
/ok-to-test |
Makefile
Outdated
@@ -615,6 +615,11 @@ verify-conversions: $(CONVERSION_VERIFIER) ## Verifies expected API conversion | |||
verify-shellcheck: ## Verify shell files | |||
./hack/verify-shellcheck.sh | |||
|
|||
.PHONY: verify-book-links | |||
verify-book-links: ## Verify book links | |||
echo verification of book links initiated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo verification of book links initiated |
f4b1c07
to
1b08b5e
Compare
Hi @sedefsavas, looking at the failed logs it seems like in order for this test to succeed we also need to install Docker in the |
15b2adb
to
b864d15
Compare
b864d15
to
1b08b5e
Compare
Update: Hi @sedefsavas, I tried to check if Docker was present in the CI environment, and it seems like it is already installed but the docker daemon is not running. I'm not sure about what the underlying OS is, and if the env privileges would allow us to start the docker daemon through shell. I might need your input here to understand how I should further proceed with this issue. For context, here are the logs from the failed run: 499 make -C docs/book verify
500 make[1]: Entering directory '/home/prow/go/src/sigs.k8s.io/cluster-api-provider-aws/docs/book'
501 make -C ../ diagrams
502 make[2]: Entering directory '/home/prow/go/src/sigs.k8s.io/cluster-api-provider-aws/docs'
503 make -C ../hack/tools bin/plantuml-sentinal
504 make[3]: Entering directory '/home/prow/go/src/sigs.k8s.io/cluster-api-provider-aws/hack/tools'
505 docker build --build-arg PLANTUML_VERSION=1.2020.16 . -f plantuml.Dockerfile -t "plantuml-builder"
506 touch bin/plantuml-sentinal
507 failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: no such file or directory
508 make[3]: *** [Makefile:161: bin/plantuml-sentinal] Error 1
509 make[3]: Leaving directory '/home/prow/go/src/sigs.k8s.io/cluster-api-provider-aws/hack/tools'
510 make[2]: *** [../common.mk:50: ../hack/tools/bin/plantuml-sentinal] Error 2
511 make[2]: Leaving directory '/home/prow/go/src/sigs.k8s.io/cluster-api-provider-aws/docs'
512 make[1]: *** [Makefile:61: generate] Error 2
513 make[1]: Leaving directory '/home/prow/go/src/sigs.k8s.io/cluster-api-provider-aws/docs/book'
514 make: *** [Makefile:620: verify-book-links] Error 2 |
Our verify implementation in different to upstream capi (they just call mdbook build). Was this working ok previously? Probably not. Actually i think i can see the project.... |
@sedefsavas @zeborg - as we want to run a container as part of the verify make target we need to run the prow job in privileged mode. This should do that: |
I think we can add that too. We only test uml creation as is. |
1b08b5e
to
f81969d
Compare
cfd77e8
to
f81969d
Compare
I just made a change to the prow job definition so that we execute the make target via runner.sh which setups DIND: |
Signed-off-by: Abhinav Sinha <abhinav@nirmata.com> Added echo statement Signed-off-by: Abhinav Sinha <abhinav@nirmata.com> Upgraded image in `plantuml.Dockerfile` to `maven:3-openjdk-17-slim` Signed-off-by: Abhinav Sinha <abhinav@nirmata.com> Made suggested changes Signed-off-by: Abhinav Sinha <abhinav@nirmata.com>
f81969d
to
03ba6e6
Compare
/test pull-cluster-api-provider-aws-verify |
Doesn't look like Prow has the updated job definition yet.....lets try again in a bit. |
/test pull-cluster-api-provider-aws-verify |
Looking more promising this time:
Fingers crossed |
Yay it passed |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: richardcase The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Abhinav Sinha abhinav@nirmata.com
What type of PR is this?
/kind feature
What this PR does / why we need it:
verify-book-links
make targetmaven:3-jdk-14
tomaven:3-openjdk-17-slim
inhack/tools/plantuml.Dockerfile
for multi-arch (amd64 and arm64) supportdocs/proposal/20200506-single-controller-multitenancy-flow.svg
to the newly generated oneWhich issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #3176
Special notes for your reviewer:
Checklist:
Release note: