1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 05:17:39 +03:00

deploy internal test snapshot

This commit is contained in:
Anton Afanasyeu
2026-05-26 16:43:36 +03:00
parent 64b449f6cd
commit e319965e0f
4 changed files with 12 additions and 33 deletions

1
.gitignore vendored
View File

@@ -20,3 +20,4 @@ debug-capture
__pycache__ __pycache__
desktop/session-studio/build/ desktop/session-studio/build/
build/ build/
config.php.alpine

View File

@@ -6,7 +6,14 @@ cp -f $0 /tmp/$0.backup || exit $?
git reset --hard || exit $? git reset --hard || exit $?
cp -f ./examples/crash_reporter/backend/config/config.php.alpine /tmp/ || exit $? cp -f ./examples/crash_reporter/backend/config/config.php.alpine /tmp/ || exit $?
cp -f ./examples/crash_reporter/backend/config/config.php.alpine ./examples/crash_reporter/backend/config/config.php || exit $? cp -f ./examples/crash_reporter/backend/config/config.php.alpine ./examples/crash_reporter/backend/config/config.php || exit $?
[ "yes" = "${CLEAN}" ] && git clean -xdf if [ "yes" = "${CLEAN}" ]; then
echo "auto cleanup - tidying working branch"
git clean -xdf
fi
echo "working branch: ${BRANCH}"
git checkout ${BRANCH} || exit $? git checkout ${BRANCH} || exit $?
git status || exit $?
git pull --rebase || exit $? git pull --rebase || exit $?
[ -f ./examples/crash_reporter/backend/config/config.php.alpine ] && \
cp -f ./examples/crash_reporter/backend/config/config.php.alpine cp -f ./examples/crash_reporter/backend/config/config.php ||:
sudo -E /etc/init.d/mariadb restart; sudo -E /etc/init.d/php-fpm81 restart; sudo -E /etc/init.d/nginx restart; sudo -E /etc/init.d/gitea restart; sudo -E /etc/init.d/mariadb restart; sudo -E /etc/init.d/php-fpm81 restart; sudo -E /etc/init.d/nginx restart; sudo -E /etc/init.d/gitea restart;

View File

@@ -14,14 +14,15 @@ return [
'app_name' => 'Android Cast Crashes', 'app_name' => 'Android Cast Crashes',
'base_path' => '/app/androidcast_project/crashes', 'base_path' => '/app/androidcast_project/crashes',
'db' => [ 'db' => [
'driver' => 'sqlite', // sqlite | mysql 'driver' => 'mysql', // sqlite | mysql
'sqlite_path' => __DIR__ . '/../data/crashes.sqlite', 'sqlite_path' => __DIR__ . '/../data/crashes.sqlite',
'mysql' => [ 'mysql' => [
'host' => '127.0.0.1', 'host' => '127.0.0.1',
'port' => 3306, 'port' => 3306,
'host' => '/run/mysqld/mysqld.sock',
'database' => 'androidcast_crashes', 'database' => 'androidcast_crashes',
'username' => 'androidcast', 'username' => 'androidcast',
'password' => 'change-me', 'password' => 'androidcastrootowned',
'charset' => 'utf8mb4', 'charset' => 'utf8mb4',
], ],
], ],

View File

@@ -1,30 +0,0 @@
<?php
/*
* package examples/crash_reporter/backend/config/config.php
* config.php
* Created at: Wed 20 May 2026 14:31:55 +0200
* Updated at: Wed 20 May 2026 15:17:13 +0200 by Anton Afanasyeu <a.afanasieff@gmail.com>
* Commit: 5d8e82d2e60a21fff3138d2a394ee4e8b4c6dcb8
* Contributors:
* - Anton Afanasyeu <a.afanasieff@gmail.com> (2 commits, 22 lines)
* - Cursor Agent (project assistant)
* Digest: SHA256 8b7149a4cd8a0f7d13ee8a22535c3697e919e35b9fe5bb8a80764769cc6c6853
*/
return [
'app_name' => 'Android Cast Crashes',
'base_path' => '/app/androidcast_project/crashes',
'db' => [
'driver' => 'mysql', // sqlite | mysql
'sqlite_path' => __DIR__ . '/../data/crashes.sqlite',
'mysql' => [
'host' => '127.0.0.1',
'port' => 3306,
'host' => '/run/mysqld/mysqld.sock',
'database' => 'androidcast_crashes',
'username' => 'androidcast',
'password' => 'androidcastrootowned',
'charset' => 'utf8mb4',
],
],
'session_name' => 'ac_crash_sess',
];