[repo] FabricaRelease: Rosea as a Fabrica app: the release and e2e pipelines, the Aula page's words and pictures, the version check, the APK signed in Custos, domi-rosea:// from the installer, the phone target
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# Rosea Domi declares itself to Fabrica (.agents/features/fabrica-release.md; Fabrica core docs/FORMATS.md,
|
||||
# "Fabrica: the app"). One part: the release pipeline makes the Windows installer and the Android APK from one
|
||||
# tag. No server part: the PWA's host is still the author's question (GAP_ANALYSIS G0.13), and a server part is
|
||||
# a NixOS module on the server, not this repository's (F2). The colour is --rose.
|
||||
# aula: true means the releases carry Aula's kit. The page appears on Aula only once the server's
|
||||
# modules/aula.nix lists Rosea, and that waits for the author: the look's legal check comes before any public
|
||||
# release (CLAUDE.md §8, GAP_ANALYSIS G6.1; fabrica-release.md F1).
|
||||
name: Rosea
|
||||
icon: flower
|
||||
color: "#b4485e"
|
||||
aula: true
|
||||
tagPrefix: v
|
||||
parts:
|
||||
desktop:
|
||||
pipeline: release
|
||||
check: node scripts/check-version.mjs
|
||||
@@ -0,0 +1,21 @@
|
||||
# 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`.
|
||||
name: e2e
|
||||
on:
|
||||
manual: true
|
||||
runner: windows-e2e
|
||||
env:
|
||||
PLAYWRIGHT_BROWSERS_PATH: 'F:\ms-playwright'
|
||||
steps:
|
||||
- id: install
|
||||
run: pnpm install --frozen-lockfile
|
||||
- id: build
|
||||
needs: [install]
|
||||
run: pnpm build
|
||||
- id: web
|
||||
needs: [build]
|
||||
run: fabrica tests run --target web
|
||||
artifacts: [".fabrica/runs/tests/**"]
|
||||
@@ -0,0 +1,102 @@
|
||||
# Rosea Domi: one release, both apps (.agents/features/fabrica-release.md; Fabrica docs/36_app_onboarding.md).
|
||||
# A `vX.Y.Z` tag (Fabrica: Apps → Rosea → Deploy, or `fabrica deploy rosea --part desktop`) is started on the hub.
|
||||
# The Windows runner (the Fabrica app on Mark's PC, whose folder is on every step's PATH, so `fabrica` is its own
|
||||
# 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
|
||||
# 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).
|
||||
# The repository is public, so `publish` is a public release: the tag waits for the author (G6.1, F1).
|
||||
# Playwright's browsers are in F:\ms-playwright (CLAUDE.md §3: never C:); nothing is downloaded during a release.
|
||||
name: release
|
||||
on:
|
||||
tag: "v*"
|
||||
manual: true
|
||||
runner: windows
|
||||
env:
|
||||
PLAYWRIGHT_BROWSERS_PATH: 'F:\ms-playwright'
|
||||
CUSTOS_SIGN_EXE: 'F:\Apps\Custos\custos-sign.exe'
|
||||
steps:
|
||||
- id: version
|
||||
run: node scripts/check-version.mjs ${{ version }}
|
||||
- id: install
|
||||
run: pnpm install --frozen-lockfile
|
||||
- id: lint
|
||||
needs: [install]
|
||||
run: pnpm lint
|
||||
- id: typecheck
|
||||
needs: [install]
|
||||
run: pnpm typecheck
|
||||
- id: test
|
||||
needs: [install]
|
||||
run: pnpm test
|
||||
- id: library
|
||||
needs: [install]
|
||||
run: pnpm validate:library
|
||||
- id: copy
|
||||
needs: [install]
|
||||
run: pnpm lint:copy
|
||||
- id: e2e
|
||||
needs: [lint, typecheck, test, library, copy]
|
||||
run: pnpm test:e2e
|
||||
- id: offline
|
||||
needs: [e2e]
|
||||
run: pnpm test:offline
|
||||
- id: pictures
|
||||
needs: [offline]
|
||||
run: pnpm aula:shots
|
||||
- id: desktop
|
||||
needs: [offline]
|
||||
run: pnpm tauri:build
|
||||
artifacts: ["apps/rosea-tauri/src-tauri/target/release/bundle/nsis/*-setup.exe"]
|
||||
- id: android
|
||||
needs: [desktop]
|
||||
run: pnpm tauri:android-release
|
||||
- id: notes
|
||||
run: fabrica notes
|
||||
artifacts: ["target/notes/release-notes.md", "target/notes/release-notes.json"]
|
||||
- id: shots
|
||||
needs: [pictures]
|
||||
run: fabrica aula shots
|
||||
artifacts: ["target/aula/aula-*.png", "target/aula/aula.json"]
|
||||
- id: page
|
||||
needs: [notes, shots]
|
||||
run: fabrica aula page
|
||||
artifacts: ["target/aula/aula-page.json", "target/aula/aula-page.html"]
|
||||
- id: approve
|
||||
needs: [version, desktop, android, page]
|
||||
approve: "Release Rosea ${{ tag }}?"
|
||||
- id: sign
|
||||
needs: [approve]
|
||||
sign:
|
||||
key: domi-code-signing
|
||||
kind: authenticode
|
||||
files: ["**/*-setup.exe"]
|
||||
- id: apk
|
||||
needs: [approve]
|
||||
run: pnpm --filter @rosea/tauri sign:apk ${{ version }} ${{ commit }}
|
||||
keys: [rosea-android]
|
||||
artifacts: ["target/release/rosea-domi-*-arm64.apk"]
|
||||
- id: minisign
|
||||
needs: [sign, apk]
|
||||
sign:
|
||||
key: domi-release
|
||||
kind: minisign
|
||||
files: ["**/*-setup.exe", "**/rosea-domi-*-arm64.apk"]
|
||||
- id: publish
|
||||
needs: [minisign]
|
||||
publish:
|
||||
gitea-release: true
|
||||
files:
|
||||
- "**/*-setup.exe"
|
||||
- "**/*-setup.exe.minisig"
|
||||
- "**/rosea-domi-*-arm64.apk"
|
||||
- "**/rosea-domi-*-arm64.apk.minisig"
|
||||
- "target/aula/aula-*.png"
|
||||
- "target/aula/aula.json"
|
||||
- "target/aula/aula-page.json"
|
||||
- "**/release-notes.md"
|
||||
- "**/release-notes.json"
|
||||
sums: domi-release
|
||||
@@ -0,0 +1,39 @@
|
||||
# Rosea's pictures for its Aula page (fabrica-release.md F7; Fabrica docs/19_web_shots.md). All are taken by the
|
||||
# app's own Playwright run (`pnpm aula:shots`, e2e/aula.spec.ts) from the BUILT PWA on demo data the game itself
|
||||
# made: an invented rose watered once a day for two weeks in March 2026, in Prague, with the gardener's first look.
|
||||
# `fabrica aula shots` checks and publishes the files; it starts no browser of its own (the PWA lives under
|
||||
# /Rosea/, and Fabrica's server serves at /). No iPhone pictures: there is no iOS app yet (G-T1).
|
||||
size: [1280, 800]
|
||||
shots:
|
||||
- name: garden
|
||||
title: Her planet after two weeks of care
|
||||
section: In a browser or on Windows
|
||||
file: e2e/aula/garden.png
|
||||
- name: ring
|
||||
title: What she needs today
|
||||
section: In a browser or on Windows
|
||||
file: e2e/aula/ring.png
|
||||
- name: numbers
|
||||
title: Her numbers
|
||||
section: In a browser or on Windows
|
||||
file: e2e/aula/numbers.png
|
||||
- name: sunset
|
||||
title: Move the chair
|
||||
section: In a browser or on Windows
|
||||
file: e2e/aula/sunset.png
|
||||
- name: safe
|
||||
title: Keep her safe
|
||||
section: In a browser or on Windows
|
||||
file: e2e/aula/safe.png
|
||||
- name: first-open
|
||||
title: Who tends her?
|
||||
section: The first open
|
||||
file: e2e/aula/first-open.png
|
||||
- name: phone-garden
|
||||
title: The garden on a phone
|
||||
section: On a phone
|
||||
file: e2e/aula/phone-garden.png
|
||||
- name: phone-ring
|
||||
title: What she needs, on a phone
|
||||
section: On a phone
|
||||
file: e2e/aula/phone-ring.png
|
||||
@@ -0,0 +1,14 @@
|
||||
A small game about a living rose, a fox, and the time we give to people. An early version.
|
||||
|
||||
You tend one rose on a round tiny planet of her own. Water her by feel, pull the weeds, gather her fallen petals, shade her from the wind. She grows from the days on which you cared for her, never from a streak, and when you are away she waits.
|
||||
|
||||
The garden follows the real sun of a town you choose. No account, nothing sent anywhere. The pictures are stand-ins drawn in code until the painted ones are ready.
|
||||
|
||||
- garden: Her planet after two weeks of care, with the gardener beside her and tonight's real sunset below.
|
||||
- ring: A tap on her shows what she needs today.
|
||||
- numbers: Her numbers: water, warmth, days of care and how she is.
|
||||
- sunset: Move the chair: a quiet sunset in the garden, with nothing to press.
|
||||
- safe: Keep her safe: save her to a file, and bring her back on any device.
|
||||
- first-open: The first open: dress the gardener who tends her.
|
||||
- phone-garden: The same garden on a phone.
|
||||
- phone-ring: On a phone, what she needs is one tap away.
|
||||
@@ -0,0 +1,9 @@
|
||||
The first release of Rosea Domi, an early version: the rose, her planet and the gardener.
|
||||
|
||||
- Tend her by hand or by button: water by feel, pull weeds, gather petals, shade her from the wind, touch her gently.
|
||||
- She grows from the days on which care helped, never from a streak, and waits when you are away.
|
||||
- A gardener you dress at the first open, who walks round her planet to the work.
|
||||
- The real sunset and sunrise of a town you choose, and a quiet sunset in the garden.
|
||||
- Keep her safe: save her to a file and bring her back on any device.
|
||||
- A Windows installer and an Android app. Nothing is sent anywhere; the Android app asks for no permission at all.
|
||||
- The pictures are stand-ins drawn in code until the painted ones are ready.
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
id: kkpy69
|
||||
title: Showcase videos of the main flows for the Aula page
|
||||
status: todo
|
||||
priority: normal
|
||||
labels: [showcase, aula]
|
||||
created: 2026-11-19T01:31:09+01:00
|
||||
updated: 2026-11-19T01:31:09+01:00
|
||||
doc: .agents/features/fabrica-release.md
|
||||
---
|
||||
Once Fabrica docs/37 (showcase videos: .fabrica/aula.yaml videos:, WebM <= 8 MiB, <= 60 s, <= 6 per release, published as target/aula/aula-<name>.webm under SHA256SUMS) is on Fabrica main, record short videos from e2e/aula.spec.ts on the same demo garden: watering by the can, the ring of care, moving the chair (the in-game sunset), keeping her safe in a file. Add them to aula.yaml videos: and to the release's publish files. Until then a videos: key fails fabrica aula shots (fabrica-release.md F8).
|
||||
|
||||
## Log
|
||||
|
||||
- 2026-11-19T01:31:09+01:00 mnovak: created
|
||||
@@ -0,0 +1,22 @@
|
||||
# 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.
|
||||
# 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.
|
||||
dir: .
|
||||
config: e2e/playwright.fabrica.config.ts
|
||||
targets:
|
||||
- name: web
|
||||
kind: web
|
||||
title: The garden in a browser
|
||||
project: web
|
||||
- name: phone
|
||||
kind: android
|
||||
title: The Android app on the test phone
|
||||
project: android
|
||||
device: Wave 10
|
||||
package: cz.mareknovak.domi.rosea
|
||||
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