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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
A CI profile for end-to-end tests on runners and headless machines. annex up --ephemeral deletes the instance and its data at annex down; --wait-boot also waits for the package manager; --timezone, --locale and --animations off set the instance up after boot.
annex serial [NAME] prints an instance's adb serial, and annex ls --json lists instances as JSON, so scripts no longer have to assume 127.0.0.1:5600.
annex doctor --json prints the checks as JSON; like annex doctor, it exits non-zero when a check fails.
annex setup --ci: never prompts (sudo must not need a password), skips the desktop bridge and Annex Manager, and fails when a step needs a person.
annex doctor and annex setup notice when they run in a container (such as an LXD CI runner) and say what to do on the host, instead of trying to load kernel modules.
annex net [NAME] online|offline|slow|lossy changes an instance's network until it restarts. offline blocks every installed app through Android's own firewall, so apps are told they have no network; slow and lossy shape the connection. adb always keeps working.
annex setup loads the kernel's traffic shaping modules on machines that don't load them on demand, and annex doctor checks for them.
annex record [NAME] start -o FILE and annex record [NAME] stop record an instance's screen to an MP4 or MKV file, in the background and without a window or time limit, so CI runs can keep video evidence.
annex logs [NAME] [-o FILE] [--since 10m] writes Android's log in logcat's threadtime format to a file or the terminal.
Changed
Without a desktop session, annex up no longer adds an app launcher entry, and annex doctor no longer warns about the clipboard, notifications and panel menu.