You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Translate robot TC to pytest
Signed-off-by: lugi0 <[email protected]>
* Update test to only use methods exposed directly by the client
Signed-off-by: lugi0 <[email protected]>
---------
Signed-off-by: lugi0 <[email protected]>
Copy file name to clipboardExpand all lines: clients/python/README.md
+30-1Lines changed: 30 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -362,6 +362,35 @@ Check out our [recommendations on setting up your docker engine](https://github.
362
362
363
363
### Troubleshooting
364
364
365
-
- On running `make test test-e2e` if you see a similar problem `unknown flag: --load`, install [buildx](https://formulae.brew.sh/formula/docker-buildx)
365
+
- On running `make test test-e2e` if you see a similar problem `unknown flag: --load`, install [buildx](https://formulae.brew.sh/formula/docker-buildx). You will then need to add `cliPluginsExtraDirs` to ~/.docker/config.json, like so:
366
+
```
367
+
"cliPluginsExtraDirs": [
368
+
"/opt/homebrew/lib/docker/cli-plugins" # depending on your system config, brew should give you the proper one
369
+
]
370
+
```
371
+
Before running make, ensure docker is running (`docker ps -a`). If it's not, assuming you're using `colima` on macos, run
372
+
`colima start`.
373
+
374
+
- On running `make test-e2e` you might see an error similar to
375
+
```
376
+
102.7 /workspace/bin/golangci-lint run cmd/... internal/... ./pkg/... --timeout 3m
377
+
124.6 make: *** [Makefile:243: lint] Killed
378
+
------
379
+
Dockerfile:60
380
+
--------------------
381
+
58 |
382
+
59 | # prepare the build in a separate layer
383
+
60 | >>> RUN make clean build/prepare
384
+
61 | # compile separately to optimize multi-platform builds
385
+
62 | RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} make build/compile
386
+
--------------------
387
+
ERROR: failed to solve: process "/bin/sh -c make clean build/prepare" did not complete successfully: exit code: 2
388
+
make[1]: *** [image/build] Error 1
389
+
make: *** [deploy-latest-mr] Error 2
390
+
```
391
+
To solve it, you can try launching `colima` with these settings:
0 commit comments