1
0
mirror of git://f0xx.org/ac/ac-be-builder synced 2026-07-29 05:59:26 +03:00

feat(builder): shared nav shell, fail notify, sanitizer wiring

Signed-off-by: Anton Afanasyeu <a.afanasieff@gmail.com>
This commit is contained in:
Anton Afanasyeu
2026-07-12 13:53:37 +02:00
parent 608f4fdb2e
commit 4200ae8f12
12 changed files with 439 additions and 32 deletions

View File

@@ -21,6 +21,15 @@ $params['auto_ota'] = !empty($params['auto_ota']);
$params['auto_deploy'] = !empty($params['auto_deploy']);
$params['ota_channel'] = $params['ota_channel'] ?? 'staging';
$params['gradle_task'] = $params['gradle_task'] ?? 'assembleDebug';
$params['notify_on_fail'] = array_key_exists('notify_on_fail', $params) ? !empty($params['notify_on_fail']) : true;
$params['notify_channel'] = in_array(
(string) ($params['notify_channel'] ?? 'email'),
['email', 'telegram', 'both'],
true
) ? (string) $params['notify_channel'] : 'email';
if (!isset($params['trigger_source'])) {
$params['trigger_source'] = 'manual';
}
$user = Auth::user();
$build = BuildRunner::enqueue($params, isset($user['id']) ? (int) $user['id'] : null);