Commit cffdd76
[MISC] Sync 14 to 16 (#1038)
* Sync docs from Discourse (#864)
Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
* Refactor v14 documentation for Sphinx (#981)
* add starter pack and sync tutorial with VM
* update deployment guides
* rename how-to-guides to how-to
* sync how-to guides with vm
* sync references with vm
* sync explanation pages with vm
* add .readthedocs.yaml and reduce .gitignore scope for requirements.txt file
* fix some formatting issues
* sync backup guides with vm
* fix misc. build errors and sync tutorial with vm
* add doc ci checks
* remove discourse sync workflow
* polish tutorial and deploy guide
* specify channel on all deploy commands
* sync misc. pages with vm
* minor README update with new documentation link
* ignore docs folder in development workflows
* remove sphinx python dependency check workflow
* update home page
* [DPE-7510] Fix the auth username pattern (#987)
* Fix auth username pattern
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
* Fix unit test
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
* Fix another ocurrence of the pattern
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
---------
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
* Update ghcr.io/canonical/charmed-postgresql Docker tag to v14.18 (#983)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Add redirects for all charmhub pages (14) (#994)
* chore: rename interfaces-endpoints for consistency with VM
* update references to interfaces-and-endpoints
* add rediraffe sphinx extension and redirect mapping list
* fix: add forward slash to redirect paths (#998)
* Fix broken URLs and spelling errors (#993)
* add starter pack and sync tutorial with VM
* update deployment guides
* rename how-to-guides to how-to
* sync how-to guides with vm
* sync references with vm
* sync explanation pages with vm
* add .readthedocs.yaml and reduce .gitignore scope for requirements.txt file
* fix some formatting issues
* sync backup guides with vm
* fix misc. build errors and sync tutorial with vm
* add doc ci checks
* remove discourse sync workflow
* polish tutorial and deploy guide
* specify channel on all deploy commands
* sync misc. pages with vm
* minor README update with new documentation link
* ignore docs folder in development workflows
* remove sphinx python dependency check workflow
* update home page
* fix some broken links
* fix broken links
* fix spelling errors in docs
* fix spelling errors in other markdown files
* small spelling fix
* Renovate team (#999)
* [MISC] Hold database created hook for pg_hba changes (#1001)
* Hold database created hook for pg_hba changes
* Restore the old blocking hook
* 16/edge lib changes
* Set to expected patch version
* fix: internal reference typo (#1006)
* Lock file maintenance Python dependencies (#962)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* DPE-6662 Fix pgbackrest logs names on logs rotation (#996)
The pgBackRest activity (backup creation, stanza initialisation, etc) could take minutes,
as a result every minute logs rotation could move the current log A.log to A.log_$date.log
and will be moved further as logrorate rule operates all *.log files in the folder:
> /var/snap/charmed-postgresql/common/var/log/pgbackrest/*.log { ...
It results in:
-rw------- 1 postgres postgres 0 Feb 18 09:25 all-server.log
-rw------- 1 postgres postgres 0 Feb 18 09:19 all-server.log-20250218_09:18.log
-rw------- 1 postgres postgres 0 Feb 18 09:20 all-server.log-20250218_09:18.log-20250218_09:19.log
-rw------- 1 postgres postgres 0 Feb 18 09:21 all-server.log-20250218_09:18.log-20250218_09:19.log-20250218_09:20.log
-rw------- 1 postgres postgres 0 Feb 18 09:22 all-server.log-20250218_09:18.log-20250218_09:19.log-20250218_09:20.log-20250218_09:21.log
-rw------- 1 postgres postgres 0 Feb 18 09:23 all-server.log-20250218_09:18.log-20250218_09:19.log-20250218_09:20.log-20250218_09:21.log-20250218_09:22.log
-rw------- 1 postgres postgres 1793 Feb 18 09:24 all-server.log-20250218_09:18.log-20250218_09:19.log-20250218_09:20.log-20250218_09:21.log-20250218_09:22.log-20250218_09:23.log
The poposed fix:
* move the log file to the new name without .log suffix.
* use datetime format matching MySQL charms
Example:
-rw------- 1 postgres postgres 12 Feb 18 09:28 all-server.log
-rw------- 1 postgres postgres 322 Feb 18 09:29 all-server.log-20250218_0918
-rw------- 1 postgres postgres 7344 Feb 18 09:30 all-server.log-20250218_0918
* Update canonical/data-platform-workflows action to v32 (main) (#961)
* Update canonical/data-platform-workflows action to v32
* Switch release flow
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dragomir Penev <dragomir.penev@canonical.com>
* update links to ops tutorial and charm (#1015)
* [MISC] Update libs and remove warning (#1014)
* Update libs
* Workflow tweaks
* Remove from_environ warning
* Lock file maintenance Python dependencies (#1012)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Delete runner password (#1023)
* remove markdown-linter action (#1028)
* [DPE-7594] Sync up pg_hba changes and remove trigger (#1007)
* More aggressive idle checks
* Explicit idle
* Idle period when relating to the test app
* Remove second start
* Remove log warning
* Hold create db hook for longer
* Bump the pg_hba checker timeout
* Don't update config
* Bump timeout
* Try to just append to pg_hba
* Sync hba changes before creating db resources
* Force regenerate hash and config on leader
* Use current host to check hba
* Update libs
* Compare to local hash
* Cla check for 16/edge
* Don't defer peer change before init
* Add back app check
* Revert back to just updating peer data
* Only sync hba once initially set
* Bump timeout
* Don't filter appends to pg_hba
* Append the rel users directly to the user map
* Add idle timeout
* Remove trigger
* Sleep longer
* Set extra user roles
* Always update hash
* Bump sleep period
* Revert the trigger
* Move generate_user_hash to charm
* Conditional hash update
* Try to sort keys
* Revert to relation user hash
* Try to reduce the amount of ifs
* Remove trigger
* Blocked test app
* Ignore blocked
---------
Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andreia <andreia.velasco@canonical.com>
Co-authored-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Lutay <1928266+taurus-forever@users.noreply.github.com>
Co-authored-by: Dave Wilding <tech@dpw.me>1 parent efd9e19 commit cffdd76
File tree
30 files changed
+339
-204
lines changed- .github
- ISSUE_TEMPLATE
- workflows
- lib/charms
- data_platform_libs/v0
- postgresql_k8s/v0
- scripts
- src
- relations
- tests
- integration
- ha_tests
- new_relations
- unit
30 files changed
+339
-204
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments