Commit Graph
109 Commits
Author SHA1 Message Date
6bf71492fd ci/nightly: SHA-gate cron, publish dated nightly-* releases, BUILD_ID env (#91)
Mirror the OpenIPC/firmware nightly redesign (PRs #2111-#2129) to
builder. This commit is PR-Bld-A: the build.yml-side changes only.
Subsequent PRs add the manifest aggregator + retention sweep
(PR-Bld-B) and the build-one.yml commit input (PR-Bld-C).

Changes:

1. **Preflight SHA gate**. New `preflight` job reads `sha=` from the
   rolling `nightly` release body. On schedule events it short-
   circuits the matrix when HEAD matches the previously-published
   SHA; PRs and workflow_dispatch always build. Mirrors firmware's
   #2111.

2. **Three release tags per build**:
   - `nightly-YYYYMMDD-<short>` (prerelease, content-addressable,
     the unit of history — 90-day retention via PR-Bld-B's
     cleanup.yml).
   - `nightly` (rolling channel pointer; body carries sha/short/
     built_at).
   - `latest` (legacy alias, kept one cycle so existing sysupgrade
     clients hitting the old hardcoded URL don't break).

3. **`BUILD_ID` / `BUILD_SHA` / `BUILD_PLATFORM` env** exported at
   the job level from preflight outputs. firmware's rootfs_script.sh
   (which builder.sh reuses via its clone of firmware) picks BUILD_ID
   + BUILD_SHA into /etc/os-release automatically. BUILD_PLATFORM is
   set to the matrix entry (e.g. `gk7205v200_fpv_caddx-fly`) and is
   forward-compatible with Phase 3 of the mirror plan (the firmware-
   side rootfs_script.sh update that emits BUILD_PLATFORM as an
   os-release field).

4. **Retry budget** around `bash builder.sh`. Matches firmware's
   `30 60 120 300 600 1200` ladder, covering toolchain/CDN flakes
   (#2115 + #2129 in firmware).

5. **Telegram caption** leads with `Build: <build_id>`; obsolete
   `Tag: ${TAG_NAME}` line gone; workflow-level `env: TAG_NAME=
   latest` removed.

No on-device firmware changes; builder cameras keep their existing
sysupgrade legacy URL until Phase 2 of the mirror (sysupgrade variant
routing) lands in OpenIPC/firmware.

See ~/.claude/plans/mirror-nightly-redesign-to-builder.md.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 23:05:33 +03:00
Signor PellegrinoandGitHub 5627956b6d Replace ssc377qe_fpv_generic with ssc377qe_fpv_ccdcam-im50q01-tipoman 2026-04-12 20:12:41 +03:00
Signor Pellegrino (from Citadel PC) 3536392828 Add ssc377qe_fpv_ccdcam-im50q01-tipoman profile 2026-04-11 18:54:23 +03:00
Signor PellegrinoandGitHub 2ba771ada7 Add new APFPV configurations to master.yml 2026-04-06 00:14:44 +03:00
Signor PellegrinoandGitHub 01590e34ca Add ssc377qe_fpv_generic to workflow 2026-04-05 00:57:21 +03:00
cronyx fd2666c7c9 correct locations, autobuild, readme 2026-02-14 19:20:49 +03:00
elvoblinandGitHub 7703cd18eb Board ipg g3 wr (#71)
* add: ipg-g3-wr device

* update exclude lists

* wip: gk7202v300_lite_ipg-g3-wr
2025-11-05 19:14:38 +03:00
Signor Pellegrino (from Citadel PC) 8d4c399de7 Add gk7205v300_lite_vixand-ivg-g6s 2025-10-31 19:40:32 +03:00
Signor Pellegrino (from Citadel PC) d77caf21c7 Update files for t40_lite_movols-mo-805p 2025-09-10 19:27:12 +03:00
cronyx 9060f0a967 update workflow 2025-08-29 11:18:14 +03:00
Signor Pellegrino (from Citadel PC) e494573166 Update cmcc-ds-ytj5301 profile 2025-08-28 16:05:14 +03:00
Ystinia Zalatova (from Futurae PC) d508523872 Adding integration of three new devices on the T31N processor 2025-08-24 21:26:08 +01:00
cronyx d7d26507d7 base profile for aceline aip-o4 2025-08-07 20:48:39 +03:00
viktorxda e05c0261be Add ssc378qe_apfpv_defconfig 2025-08-05 00:42:25 +02:00
cronyx d6a1285f46 update workflow 2025-08-02 14:50:02 +03:00
viktorxda 9168fc2e93 Add ssc338q_apfpv_defconfig 2025-05-29 20:08:07 +02:00
Signor Pellegrino (from Citadel PC) 5dfa02a499 Add ssc337_lite_tiandy-tc-c321n-v2 profile 2025-03-03 09:49:08 +03:00
cronyx e43425ac0b fix name format 2025-02-16 21:08:07 +03:00
cronyx 011f954925 update workflow 2025-02-16 20:44:34 +03:00
Petru SoroagaandGitHub 9fbdc407f1 Updated RubyFPV firmware names (#46) 2025-02-14 11:05:42 +03:00
Petru SoroagaandGitHub 3107679295 Updated RubyFPV target images (#44)
Rationale:
End users might not know exactly what hardware they have, they just want to find RubyFPV firmware options, so in the release page, in the list of released firmware packages, it makes sense to have all RubyFPV related configs in a single place in the list (so all start with the same RubyFPV prefix).
2025-02-13 16:34:50 +03:00
Petru SoroagaandGitHub ca332c8aff Updated builder steps and configs for RubyFPV (#42) 2025-02-11 22:18:48 +03:00
cronyx 9fa7fe8d1a update workflow 2025-02-10 00:07:27 +03:00
Signor Pellegrino (from Citadel PC) d326af45d0 Initial t31_lite_cmcc-hdc-51-a6-v10 device 2025-02-08 00:23:36 +03:00
viktorxda c9c477f4ea Update master.yml 2025-01-28 11:38:31 +01:00
viktorxda 7f40eaf57b Add hisilicon-mini configurations 2025-01-27 10:41:40 +01:00
viktorxdaandGitHub 3e69df0d30 Add firmware fpv configurations (#40) 2025-01-27 09:21:28 +01:00
Signor Pellegrino (from Citadel PC) a3f1ab94f4 Add profile for XM G4H 2025-01-26 00:05:57 +03:00
Signor Pellegrino (from Citadel PC) ab363606db Add gk7205v200_lite_tiandy-tc-c321n profile 2025-01-18 23:17:08 +03:00
Signor Pellegrino (from Citadel PC) 324d5dc8a7 Add tiandy-tc-c32qn profile 2025-01-18 00:58:32 +03:00
Signor Pellegrino (from Citadel PC) e128c1b695 Add openipc-thinker-aio profile 2024-12-03 00:19:30 +03:00
Signor Pellegrino (from Citadel PC) 48038d9815 Uptate ssc333_lite_tp-link-tapo-c110-v26 2024-11-25 23:08:52 +03:00
Signor Pellegrino (from Citadel PC) ddd0a42c66 Add ssc338q_fpv_caddx-fly profile 2024-11-14 11:48:01 +03:00
viktorxdaandGitHub 5fcb9a01a1 Sync firmware changes (#32) 2024-10-26 00:36:47 +03:00
Signor Pellegrino (from Citadel PC) 0272c964b4 Add MSPOSD package to all SSC338Q profiles 2024-10-07 20:45:50 +03:00
viktorxda 3ecd6de6b5 Add ssc338q_fpv_openipc-mario-aio 2024-09-07 22:02:34 +02:00
cronyx 9f135d81a1 add imou-c22e-s2-v2 to autobuild 2024-08-05 13:29:26 +03:00
cronyx 3cfdd40b9d Vixand IVG-G6S-W 2024-08-03 15:31:12 +03:00
Signor Pellegrino 11069f811c Add hi3518ev300_lite_bathhouse profile 2024-06-13 23:49:07 +03:00
cronyx 3eff3eb8fc update workflow 2024-05-03 15:36:31 +03:00
Signor Pellegrino (from Citadel PC) 0c00262143 Remove unused profile gk7205v300_lite_elsar-v1 2024-04-29 21:35:57 +03:00
cronyx 9226123806 add Trassir TR-W2C1 v1 2024-04-29 12:26:42 +03:00
Viktor 918e6be82f Update Update ssc338q_fpv_openipc 2024-04-14 00:35:41 +02:00
Viktor d8138a185a Update github workflow 2024-04-09 16:28:06 +02:00
Viktor d40aafdb00 Add t31_lite_wyze-v3b 2024-04-08 23:38:42 +02:00
Signor Pellegrino (from Citadel PC) 2f2dbbc7e9 Add gk7205v300_lite_elsar-v1 profile 2024-04-06 17:19:23 +03:00
cronyx 48f8cea2fa fix model name 2024-04-05 12:47:14 +03:00
cronyx 577de3bf71 add HB-WIFI-Z6 spy cam 2024-04-05 12:29:34 +03:00
cronyx e5aeeacc74 add tp-link tapo c310 v1 with binary sensor driver for tests 2024-04-02 13:16:29 +03:00
cronyx 00434868e9 add EC37-T11 2024-04-02 12:11:22 +03:00