[DRAFT]
Tool for multiplatform deployment of test packages, which supports:
- Windows
- Android
- *nix systems: macOS, Raspberry Pi OS, Debian-like systems, and others
- Samsung Tizen (SSSP)
- LG webOS: production-ready or debug packages
- web deployment in Docker container
Windows 7 or higher.
- Android SDK platform tools or scrcpy in order to get ADB.
- webOS CLI.
Use Set password
feature to keep all necessary credentials.
fileserver_url
: URL to a server where test packages are stored.
username
: username to access file server (do not forget to set up password
with setpwd
utility).
download_dir
: local directory for storing test packages.
ptypes
: package types
editions
: package editions
name
: name of a device.
cleanup
: perform clean-up procedure (uninstall previous version of a test
package, remove residual data, clean deployment directory, etc.).
ptype
: type of package (e.g., win64, arm).
edition
: package's edition.
remote
: local or remote deployment (for browser version only).
host
: target host.
port
: target port.
cport
: port of Docker container (for browser version only).
username
: username on a target host.
upload_dir
: deployment directory.
description
: description of a target.
Prepare bundletool in order to deploy Android aab
packages.
See /utils/bundletool/README
for details.
- Create
C:\swap
- Run
cmd
as administrator - Execute the following:
powershell Set-ExecutionPolicy -ExecutionPolicy Unrestricted powershell Enable-PSRemoting sc \\localhost config winrm start= auto netsh firewall set icmpsetting 8 netsh firewall set portopening TCP 5985 ENABLE netsh firewall set portopening TCP 5986 ENABLE winrm quickconfig /quiet && winrm set winrm/config/client/auth @{Basic="true"} && winrm set winrm/config/service/auth @{Basic="true"} && winrm set winrm/config/service @{AllowUnencrypted="true"} winrm enumerate winrm/config/listener
- Enable developer options.
- Switch on USB debugging.
- Enable
Install via USB
. - Disable adb authorization timeout.
- Switch off
Verify apps over USB
. - Enable wireless debugging or run
adb tcpip 5555
.
- Go to
System preferences
->Sharing
. - Enable
Remote Login
. Allow access for
an account that's going to be used.
- Go to
Preferences
->Raspberry Pi Configuration
. - Switch to
Interfaces
tab. - Enable
SSH
.
- Install and start openssh-server.
- Enable
PasswordAuthentication
in/etc/ssh/sshd_config
. - Execute
sudo systemctl restart ssh
- Make sure that target host is available by SMB and does not require authentication.
- URL launcher of target device is configured properly.
- Make sure that target host is available by SMB and does not require authentication.
- SI Server settings of target device are configured properly.
For debug packages:
- Enable Developer mode on target device.
- Register device with
ares-setup-device
. - Get SSH key from device
with
ares-novacom --device target_device --getkey
. - Update device (add passphrase and key path) with
ares-setup-device
.
- Prepare target host with Ubuntu (see Ubuntu section).
- Install Docker engine.
- Get nginx image:
sudo docker image pull nginx
. - Set up Docker daemon.