Skip to content
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

fix(postgresql): Add pg_dump #165

Merged
merged 2 commits into from
Jan 9, 2024
Merged

fix(postgresql): Add pg_dump #165

merged 2 commits into from
Jan 9, 2024

Conversation

merkata
Copy link
Contributor

@merkata merkata commented Jan 9, 2024

Overview

Adds pg_dump so Discourse backups don't fail.

Rationale

Discourse backups fail now due to missing pg_dump,

Juju Events Changes

n/a

Module Changes

n/a

Library Changes

n/a

Checklist

@merkata merkata added the trivial label Jan 9, 2024
@merkata merkata requested a review from a team as a code owner January 9, 2024 09:41
Copy link
Contributor

github-actions bot commented Jan 9, 2024

Test coverage for 7767f77

Name              Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------
src/charm.py        326     31     82     11    90%   138, 172, 180-181, 337->342, 535-537, 542-543, 554-556, 561-562, 574-576, 581-582, 594-596, 621-623, 663->exit, 673->exit, 703-709, 735->exit, 749-750, 760->exit, 774
src/database.py      30      1      8      1    95%   56
-------------------------------------------------------------
TOTAL               356     32     90     12    90%

Static code analysis report

Run started:2024-01-09 09:45:24.239140

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 1946
  Total lines skipped (#nosec): 1
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

@merkata merkata merged commit 0d5d83f into main Jan 9, 2024
28 checks passed
@merkata merkata deleted the fix/add-pg-dump branch January 9, 2024 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants