android-test: gate order stable-self then published; FAIL_FAST default

Matrix runs release self-build before F-Droid APK, then master. First
failure stops. Emulator cold-boots without snapshots by default.
This commit is contained in:
Hernâni Marques 2026-07-17 21:52:40 +02:00
parent b0e186f392
commit a05307f620
No known key found for this signature in database
3 changed files with 22 additions and 12 deletions

View file

@ -2,10 +2,10 @@
# Run Android wallet smoke against **several build variants** so a single
# "weird" developer tree or a bad local build cannot be the only sample.
#
# Default matrix:
# 1) **published** — F-Droid stable APK (bit-for-bit what users install)
# 2) **stable-self** — rebuild the same release **tag** as published (self-build)
# 3) **master** — rebuild origin/master (tip / CI-style)
# Default matrix (gate order — fail → hard stop when FAIL_FAST=1):
# 1) **stable-self** — rebuild release **tag** (same source as published)
# 2) **published** — F-Droid stable APK (what users install)
# 3) **master** — rebuild origin/master (only if 12 pass with FAIL_FAST)
#
# Why stable-self in addition to published?
# Rare, but a published APK *or* a one-off developer build can be odd
@ -40,8 +40,9 @@ ROOT=$(cd "$(dirname "$0")" && pwd)
: "${STABLE_APK_NAME:=net.taler.wallet.fdroid_854.apk}"
: "${MASTER_BRANCH:=master}"
: "${FIX_BRANCH:=dev/hernani-inference/fix-bank-withdraw-auto-exchange}"
: "${VARIANTS:=published,stable-self,master}"
: "${FAIL_FAST:=0}"
# Gate: stable self-build → published F-Droid; then master. FAIL_FAST default on.
: "${VARIANTS:=stable-self,published,master}"
: "${FAIL_FAST:=1}"
: "${GUI:=0}"
: "${STACK:=auto}"