1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 04:38:53 +03:00

sensitive config info deploy

This commit is contained in:
Anton Afanasyeu
2026-05-30 21:13:49 +03:00
parent de524b03f4
commit c80d646f09

View File

@@ -0,0 +1,49 @@
<?php
return [
'app_name' => 'Android Cast Builder',
'base_path' => '/app/androidcast_project/build',
'session_name' => 'ac_crash_sess',
'session_cookie_path' => '/app/androidcast_project',
'db' => [
'driver' => 'mysql',
'sqlite_path' => __DIR__ . '/../../crash_reporter/backend/data/crashes.sqlite',
'mysql' => [
'host' => 'mariadb',
'port' => 3306,
'socket' => '/run/mysqld/mysqld.sock',
'database' => 'androidcast_crashes',
'username' => 'androidcast',
'password' => 'androidcastrootowned',
'charset' => 'utf8mb4',
],
],
'debug' => true,
'rbac' => [
'default_company_slug' => 'default',
'default_company_id' => 1,
],
'build' => [
'docker_image' => 'androidcast-ci:latest',
'ci_version' => '00.01.00.1000',
#'repo_root' => '/workspace',
#'artifacts_root' => '/workspace/out/builds',
#'ota_mount' => '/workspace/orchestration/runtime/ota-artifacts',
#'ota_base_url' => 'http://localhost:8080',
#'runner_script' => '/workspace/scripts/docker-build-runner.sh',
#'pipeline_config' => '/workspace/build.config.yml',
'default_channels' => ['stable', 'staging', 'dev', 'nightly'],
'repo_root' => '/var/www/localhost/htdocs/apps/app/androidcast_project/android_cast',
'artifacts_root' => '/var/www/localhost/htdocs/apps/app/androidcast_project/out/builds',
'ota_mount' => '/var/www/localhost/htdocs/apps/app/androidcast_project/ota-artifacts',
'ota_base_url' => 'https://apps.f0xx.org/app/androidcast_project',
'runner_script' => '/var/www/.../android_cast/scripts/docker-build-runner.sh',
'pipeline_config' => '/var/www/.../android_cast/build.config.yml',
],
'links' => [
'hub' => '/app/androidcast_project/',
'crashes' => '/app/androidcast_project/crashes/',
'git' => '/app/androidcast_project/git/',
'tickets' => '/app/androidcast_project/crashes/?view=tickets',
],
#'session_cookie_path' => '/app/androidcast_project', // shared login with crashes
];