Skip to content

Create partdb-release-script.sh #941

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

d-buchmann
Copy link
Contributor

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.

Copy link

codecov bot commented May 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

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     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant