mirror of
git://f0xx.org/android_cast
synced 2026-07-29 05:37:52 +03:00
BE sync
This commit is contained in:
@@ -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'],
|
||||
|
||||
@@ -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')),
|
||||
|
||||
Reference in New Issue
Block a user