[repo] AndroidReleaseApk: The phone target through Fabrica's queue (reset uninstall, maxMinutes, the e2e pipeline's phone step), the release APK built and verified with caches on D:, rosea-android named as Custos's gap
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
# Rosea Domi: the web e2e suite on this PC's e2e runner (fabrica-release.md F9; Fabrica docs/20_tests.md,
|
||||
# docs/31_runners_here.md): the PWA built, then `fabrica tests run --target web` (Playwright headless against the
|
||||
# BUILT bundle under /Rosea/), the records, traces and screenshots kept with the run. Manual: no push webhook
|
||||
# reaches the hub yet. The phone target is not here: it runs through the phone queue with
|
||||
# `fabrica tests run --target phone`.
|
||||
# Rosea Domi: the e2e suites on this PC's e2e runner (fabrica-release.md F9, android-release-apk.md; Fabrica
|
||||
# docs/20_tests.md, docs/31_runners_here.md, docs/35_phone_queue.md).
|
||||
# web: the PWA built, then `fabrica tests run --target web` (Playwright headless against the BUILT bundle under
|
||||
# /Rosea/), the records, traces and screenshots kept with the run.
|
||||
# phone: the debug APK built, then `fabrica tests run --target phone` on the Wave 10. The step says `device:`, so
|
||||
# the hub queues this run for the phone and the nested run uses the run's phone (FABRICA_PHONE_LEASED);
|
||||
# no adb reaches the phone outside the queue. The run waits in the queue without holding a runner.
|
||||
# Manual: no push webhook reaches the hub yet. Gradle's cache is on D: (never C:; F: is the crowded workspace).
|
||||
name: e2e
|
||||
on:
|
||||
manual: true
|
||||
runner: windows-e2e
|
||||
env:
|
||||
PLAYWRIGHT_BROWSERS_PATH: 'F:\ms-playwright'
|
||||
GRADLE_USER_HOME: 'D:\build\rosea\gradle'
|
||||
NDK_HOME: 'F:\Tools\Android\Sdk\ndk\27.1.12297006'
|
||||
steps:
|
||||
- id: install
|
||||
run: pnpm install --frozen-lockfile
|
||||
@@ -19,3 +24,11 @@ steps:
|
||||
needs: [build]
|
||||
run: fabrica tests run --target web
|
||||
artifacts: [".fabrica/runs/tests/**"]
|
||||
- id: apk
|
||||
needs: [install]
|
||||
run: pnpm tauri:android
|
||||
- id: phone
|
||||
needs: [apk]
|
||||
device: Wave 10
|
||||
run: fabrica tests run --target phone
|
||||
artifacts: [".fabrica/runs/tests/**"]
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
# CLI) runs every gate of CLAUDE.md §5.5 on a clean checkout, the e2e and offline suites against the BUILT PWA,
|
||||
# takes the Aula pictures on demo data (e2e/aula.spec.ts), and builds the Windows installer and the Android APK.
|
||||
# Nothing is signed before Mark's card. Then: Authenticode on the installer (domi-code-signing); the APK through
|
||||
# custos-sign with rosea-android (Custos makes that key on the first release: a first-signature card); a minisign
|
||||
# custos-sign with rosea-android (NOT made by Custos on its own: android-release-apk.md A6, until then `no_key`); a minisign
|
||||
# signature for each (domi-release); the release with SHA256SUMS signed by domi-release.
|
||||
# No updater and no latest.json: the apps make no network call of their own (CLAUDE.md §2). Mark's PC updates
|
||||
# through Fabrica's Update all; a player installs the next file over the old one (F3).
|
||||
@@ -18,6 +18,9 @@ runner: windows
|
||||
env:
|
||||
PLAYWRIGHT_BROWSERS_PATH: 'F:\ms-playwright'
|
||||
CUSTOS_SIGN_EXE: 'F:\Apps\Custos\custos-sign.exe'
|
||||
# The Android build (android-release-apk.md): the Tauri CLI needs the NDK named; Gradle's cache on D:, never C:.
|
||||
GRADLE_USER_HOME: 'D:\build\rosea\gradle'
|
||||
NDK_HOME: 'F:\Tools\Android\Sdk\ndk\27.1.12297006'
|
||||
steps:
|
||||
- id: version
|
||||
run: node scripts/check-version.mjs ${{ version }}
|
||||
|
||||
+9
-7
@@ -1,11 +1,11 @@
|
||||
# Rosea Domi's Playwright targets (fabrica-release.md F9; Fabrica docs/20_tests.md, docs/22_devices.md,
|
||||
# docs/35_phone_queue.md). `fabrica tests run --target <name>`, or Tests in Fabrica.
|
||||
# Rosea Domi's Playwright targets (fabrica-release.md F9, android-release-apk.md; Fabrica docs/20_tests.md,
|
||||
# docs/22_devices.md, docs/35_phone_queue.md). `fabrica tests run --target <name>`, or Tests in Fabrica.
|
||||
# web: the BUILT PWA (build it first: `pnpm build`) in headless Chromium: the specs of `pnpm test:e2e`.
|
||||
# phone: the Android debug APK on the Wave 10 test phone, only through Fabrica's phone queue. Build it first
|
||||
# (`pnpm tauri:android`). The queue clears this app's data before the run (docs/35 `reset: clear`, its
|
||||
# default); `reset` and `maxMinutes` are not written here because the installed Fabrica (CLI 0.14.0)
|
||||
# does not know them yet. A release build on the phone blocks the debug one (another key): uninstall it
|
||||
# there first.
|
||||
# phone: the Android debug APK on the Wave 10 test phone, only through Fabrica's phone queue (the e2e pipeline's
|
||||
# `phone` step, or `fabrica tests run --target phone`). Build it first (`pnpm tauri:android`). A debug APK,
|
||||
# because only a debug build's WebView can be driven (docs/22 part 5); the release APK is the same game.
|
||||
# `reset: uninstall`: the app is installed fresh, so a release build of Rosea on the phone (another key)
|
||||
# cannot block the run. Nothing of Rosea's on the test phone is kept: it holds no rose of anyone's.
|
||||
dir: .
|
||||
config: e2e/playwright.fabrica.config.ts
|
||||
targets:
|
||||
@@ -19,4 +19,6 @@ targets:
|
||||
project: android
|
||||
device: Wave 10
|
||||
package: cz.mareknovak.domi.rosea
|
||||
reset: uninstall
|
||||
maxMinutes: 20
|
||||
apk: apps/rosea-tauri/src-tauri/gen/android/app/build/outputs/apk/universal/debug/app-universal-debug.apk
|
||||
|
||||
Reference in New Issue
Block a user