android-test: sample 3/6/9/12-month wallet tags as WARN only

Pick nearest release tags to 90/180/270/365 days for the older matrix
slot; failures there never hard-block (only ≤14d releases can).
This commit is contained in:
Hernâni Marques 2026-07-17 21:57:01 +02:00
parent 33a545a12d
commit e359cf79c2
No known key found for this signature in database
4 changed files with 107 additions and 56 deletions

View file

@ -38,22 +38,21 @@ Runs several smokes so a single odd developer build cannot be the only sample:
|---------|------|
| Order | Variant | Severity | What |
|------|---------|----------|------|
| **1** | **stable-self** | WARN | Rebuild tag `wallet-1.6.1` on this host |
| **2** | **published** | **age rule** | Current F-Droid APK |
| **3** | **older-*** | **age rule** | Previous `wallet-*` tags (APK if on F-Droid, else self-build) |
| **1** | **stable-self** | WARN | Rebuild current stable tag |
| **2** | **published** | age ≤14d → **BLOCKER**, else WARN | Current F-Droid APK |
| **3** | **older / milestones** | **always WARN** | Tags nearest **3 / 6 / 9 / 12 months** (if available) |
| **4** | **master** | WARN | Rebuild `origin/master` |
**Age rule (released apps):** if git-tag age **≤ 14 days** (`BLOCKER_MAX_AGE_DAYS`) → fail is **BLOCKER** + `FAIL_FAST`.
Older releases are still smoked, but fail only as **WARN**.
Self-build of tip/stable-self is never a hard blocker.
**Milestones:** `MILESTONE_DAYS="90 180 270 365"``MILESTONE_TOLERANCE_DAYS=50`).
Failures there are warnings only — never hard blockers.
**Young releases only** (≤ 14 days): hard blocker on fail.
```bash
./run-android-variant-matrix.sh
STACK=goa ./run-android-variant-matrix.sh
# without older history:
INCLUDE_OLDER=0 VARIANTS=stable-self,published,master ./run-android-variant-matrix.sh
# force current published always blocker:
PUBLISHED_FORCE_BLOCKER=1 ./run-android-variant-matrix.sh
# custom milestones (days):
MILESTONE_DAYS="90 180 270 365" ./run-android-variant-matrix.sh
```
Artifacts + `SUMMARY.txt` under `out-matrix-<timestamp>/`.