* option to cleanup tmp folder during cleanup phase
Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>
* do only one adb command at time to ensure them all are executed
Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>
* cleanup and fix lint errors
Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>
---------
Signed-off-by: Jussi Vatjus-Anttila <jussiva@gmail.com>
I use `stf` for a very small installation with just one user and few
devices. `stf local` provides enough functionality and is easy to run:
just one command without the need to configure all internal services
separately. The only missing feature is the ability to provide access
securely over the internet.
I want to use nginx reverse proxy with https and client certificate
authorization, but currently this does not play well with modern
browsers as they refuse to connect to insecure ws:// from secure
https:// context.
This patch just adds the ability to configure various URL patterns to
match the externally accessible address of the installation.
Signed-off-by: Ivan Mironov <mironov.ivan@gmail.com>
This commit introduce a new option to use a new minicap
implementation by specifying --screen-grabber or the env
variable SCREEN_GRABBER. The current native minicap is the default
and is refered as 'minicap-bin'. The new minicap which is packaged
in an apk is usable with 'minicap-apk' and will be used as a
fallback.
At the moment, this apk is expected to be included in
minicap-prebuilt node package at this location
minicap-prebuilt/prebuilt/noarch/minicap.apk.
STFService.apk has also been updated to take into account Android 12
Signed-off-by: Crepieux Pierre <pierre.crepieux@orange.com>
Sometimes the process exits before the data is read from stdout. The result is that the `call` method exits before it has it's output.
Example bug: https://github.com/openstf/stf/issues/1091