# Private app store, Android app & Cloud QA

Source: https://olef.dev/docs/cloud/apps-and-qa

**Outcome:** share testable Android APKs with teammates directly on their phones, review agent work on the go, and run deterministic Olef regression suites in Olef Cloud CI with zero LLM cost on passing runs.

## 1. Private app distribution (`ocloud builds` & `ocloud testers`)

While Olef does not automate Google Play Store submission, you do not have to wait for Play Store release tooling to put a build in a teammate's or stakeholder's hands.

Upload an APK (or build the configured variant directly) and push it to a tester group:

```bash
ocloud testers add ana@example.com ben@example.com --group "Designers"
ocloud builds push --share "Designers"
ocloud builds list
```

Each build records the branch, commit, uncommitted changes, signer, and size. Invited testers receive an email link that installs **Olef for Android** and opens your app's latest shared build—with push notifications for new releases and optional automatic updates.

To publish an existing build to another group later:

```bash
ocloud builds share <build-id> --group "QA"
```

## 2. Olef for Android

The **Olef for Android** companion app connects to your Olef Cloud account so you can stay in the loop away from your laptop:

- **Apps tab:** install, open, and auto-update builds shared with you (as well as your own apps' latest builds). Tester-plan accounts see the Apps tab cleanly without developer clutter.
- **Tasks & Needs you:** kick off cloud agent tasks against a GitHub repository, watch live run timelines and costs, inspect draft PRs with screenshots, and answer agent questions or approvals via push notification.
- **Devices & live viewer:** boot cloud emulators or lease physical phones, and **Watch** or **Pair** on teammates' shared workspaces with explicit *Take control* / *Hand back* driver handoffs.

## 3. Deterministic Cloud QA (`ocloud qa`)

Once you have recorded regression tests (`tests/olef/<name>/`), you can run them on Olef Cloud infrastructure from any CI pipeline without maintaining local Android emulators on your CI runners.

Passing runs execute pure deterministic Olef scripts with **$0 LLM token cost**.

1. Mint a project-scoped CI token (`sdci_*`, shown once) and store it as `OLEF_CI_TOKEN` in your CI secret store:

```bash
ocloud qa ci-token create --project <project-id> --name "github-actions"
```

2. Dispatch the suite from CI and collect JUnit XML:

```bash
export OLEF_CI_TOKEN="sdci_..."
ocloud qa run \
  --project <project-id> \
  --app-apk app/build/outputs/apk/debug/app-debug.apk \
  --junit-out build/olef/junit.xml
```

3. Manage or revoke tokens anytime with `ocloud qa ci-token list` and `ocloud qa ci-token revoke`.

See [`ocloud builds`](https://olef.dev/docs/reference/ocloud/builds), [`ocloud testers`](https://olef.dev/docs/reference/ocloud/testers), and [`ocloud qa`](https://olef.dev/docs/reference/ocloud/qa).
