1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 08:37:37 +03:00
This commit is contained in:
Anton Afanasyeu
2026-06-05 16:38:33 +02:00
parent a7e71bb39c
commit b47e05490f
3 changed files with 74 additions and 5 deletions

View File

@@ -31,6 +31,9 @@ return [
'ota_mount' => '/workspace/orchestration/runtime/ota-artifacts',
'ota_base_url' => 'http://localhost:8080',
'runner_script' => '/workspace/scripts/docker-build-runner.sh',
// Per-build shallow clone to out/builds/{id}/src (safe for parallel jobs)
'isolate_source' => true,
'git_clone_depth' => 1,
// Repo copy preferred; generated YAML used if missing on builder host
'pipeline_config' => '/workspace/build.config.yml',
'default_channels' => ['stable', 'staging', 'dev', 'nightly'],

View File

@@ -142,6 +142,8 @@ YAML;
'BUILD_ID=' . $id,
'BUILD_LOG_FILE=' . escapeshellarg($logPath),
'BUILD_LOG_STDOUT_ONLY=1',
'BUILD_ISOLATE_SOURCE=' . (cfg('build.isolate_source', true) ? '1' : '0'),
'BUILD_GIT_DEPTH=' . max(1, (int) cfg('build.git_clone_depth', 1)),
'BUILD_WORK_DIR=' . escapeshellarg($repo),
'BUILD_OUT_DIR=' . escapeshellarg($dir),
'ANDROIDCAST_CI_VERSION=' . escapeshellarg((string) cfg('build.ci_version', '00.01.00.1000')),