Addons & build rules for Please.
Place the following in a BUILD
file in your project (eg. in your project root):
github_repo(
name = "pleasings2",
repo = "sagikazarmark/mypleasings",
revision = "master",
)
Then include include it where necessary. For example, use the following snippet to generate code from an OpenAPI specification:
subinclude("///pleasings2//openapi")
openapi_library(
name = "openapi",
spec = "openapi.yaml",
)
If you receive an error like the following:
Fail: //test/kubernetes/charts/hello-world:e2e 0 passed 0 skipped 0 failed 1 errored Took 350ms
Error: TestFailed in e2e
Test failed
exit status 1
Standard output:
Error: Kubernetes cluster unreachable: Get "https://127.0.0.1:57414/version?timeout=32s": dial tcp 127.0.0.1:57414: connect: connection refused
Error: Kubernetes cluster unreachable: Get "https://127.0.0.1:57414/version?timeout=32s": dial tcp 127.0.0.1:57414: connect: connection refused
Chances are your KinD config has changed. Try rebuilding the kubeconfig:
./pleasew build --rebuild //test/kubernetes:kubeconfig
Install the GNU coreutils for the sha256sum
binary:
brew install coreutils
Or configure a custom tool:
[buildconfig]
sha256sum-tool = //path/to/tools:sha256sum
The MIT License (MIT). Please see License File for more information.