Part-DB-server icon indicating copy to clipboard operation
Part-DB-server copied to clipboard

Create partdb-release-script.sh

Open d-buchmann opened this issue 8 months ago • 1 comments

I finally tested the update script and it worked =) (reference: #720)

Prerequisites:

  • Direct installation on Debian 11 or similar
  • MySQL or MariaDB configured
  • Webserver apache2
  • The constants have to be adjusted to your environment.
  • The script expects database_user and database_password as arguments.

The (guided) update process goes through ~4 stages: 0: check for new release 1: put current site into maintenance mode (requires an extra vhost to be set up...meh) 2: backup partdb database (only mysql at the moment...meh); git pull 3: Build according to the docs, transfer required files to testing location (yet another vhost...) 4: Transfer testing site to live enviroment, end maintenance mode

The process can be interrupted at any stage, by errors or by user interaction. Resumption is possible through a stagefile.

d-buchmann avatar May 22 '25 14:05 d-buchmann

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 59.71%. Comparing base (b8d5b83) to head (19a023b).

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #941      +/-   ##
============================================
- Coverage     59.73%   59.71%   -0.02%     
  Complexity     6036     6036              
============================================
  Files           529      529              
  Lines         20588    20588              
============================================
- Hits          12298    12295       -3     
- Misses         8290     8293       +3     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar May 22 '25 14:05 codecov[bot]