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
Copy file name to clipboardExpand all lines: README.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@
28
28
*[Error: Suite contains no tests](#error-suite-contains-no-tests)
29
29
*[Database tests are failing in spite of the DatabaseLibrary being present](#database-tests-are-failing-in-spite-of-the-databaselibrary-being-present)
30
30
*[Supported devices and architectures](#supported-devices-and-architectures)
31
+
*[Container image is too large](#troubleshooting-image-too-large)
31
32
*[Please contribute!](#please-contribute)
32
33
33
34
-----
@@ -200,6 +201,8 @@ rpa==1.50.0
200
201
201
202
**For large dependencies, it is still recommended to extend the project's image and to add them there, to avoid delaying the CI/CD pipelines with repeated dependency installations.**
202
203
204
+
<a name="rerunning-tests"></a>
205
+
203
206
### Rerunning tests
204
207
205
208
Failing tests can be rerun by setting the environment variable `ROBOT_RERUN_MAX_ROUNDS` to a value above 0. All reruns of failed tests are executed without parallelization.
@@ -467,7 +470,7 @@ It is anyway mandatory to extend the container image to install the specific dat
467
470
468
471
### Supported devices and architectures
469
472
470
-
As mentioned on the [Docker Hub](https://hub.docker.com/r/ppodgorsek/robot-framework), the project has been built and uploaded as a `linux/amd64` image only. This means ARM devices such as MacBook M1/M2 and Amazon EC2 Graviton won't be able to run the image with the default configuration.
473
+
As mentioned on the [Docker Hub](https://hub.docker.com/r/ppodgorsek/robot-framework), the project has been built and uploaded for `linux/amd64` and `linux/arm64` architectures only.
471
474
472
475
As mentioned in the official documentation, [Podman](https://docs.podman.io/en/latest/markdown/podman-run.1.html#platform-os-arch) and [Docker](https://docs.docker.com/build/building/multi-platform/) provide a `--platform` option which selects a given application architecture, such as:
473
476
@@ -479,12 +482,22 @@ docker run \
479
482
ppodgorsek/robot-framework:<version>
480
483
```
481
484
482
-
Please note that builds and automated tests of this project are only performed on `linux/amd64` and `linux/arm64` architectures so such emulation might not work, depending on your device and operating system.
483
-
484
485
**It is to be noted that Microsoft Edge is not available for Linux ARM. Please visit [the official Microsoft Edge website](https://www.microsoft.com/en-us/edge/business/download) and [the Arm developer website](https://learn.arm.com/install-guides/browsers/edge/) for more information.**
485
486
486
487
If this does not solve your platform-related issues, you might have to rebuild the image for your device/platform, specifying that `--platform` option during the build and run.
487
488
489
+
<a name="troubleshooting-image-too-large"></a>
490
+
491
+
### Container image is too large
492
+
493
+
Unfortunately, the image size is due to the presence of both Selenium and Playwright. (the latter requiring its own set of browsers)
494
+
495
+
Should you need to use Robot Framework in embedded devices, this is too much.
496
+
497
+
Instead, a basic multi-arch container (under 200MB) can be found in this public container registry: [Robot Framework for Embedded Multi-Arch Container](https://gitlab.com/gitlab-accelerates-embedded/comp/robot-for-embdd/container_registry).
498
+
499
+
It is built as part of the [Robot Framework for Embedded](https://gitlab.com/explore/catalog/gitlab-accelerates-embedded/comp/robot-for-embdd).
0 commit comments