Skip to content
Merged
Show file tree
Hide file tree
Changes from 42 commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
36dd51c
WIP: enable pg_tracing
shayancanonical Oct 30, 2024
a7ebd83
adapt render patroni function
Oct 30, 2024
a6ab133
Move pg_tracing conf to the correct location
shayancanonical Oct 31, 2024
4d61e71
Merge branch 'experiment/pg_tracing' of github.com:canonical/postgres…
shayancanonical Oct 31, 2024
14157ac
fix lint and unit tests
Nov 6, 2024
6633050
use ubuntu 24.04 as base
Nov 6, 2024
fd5fa46
fix issues + revert base to jammy
Nov 7, 2024
8be9d0f
fix queries for plugin testing
Nov 7, 2024
22a517f
Merge remote-tracking branch 'origin/main' into experiment/pg_tracing
Nov 19, 2024
a9ca5d5
downgrade psycopg2 version
Nov 19, 2024
2090059
update lock file
Nov 19, 2024
a0f3006
update psycopg2-binary too
Nov 19, 2024
16fc2b6
revery psycopg2 versions and add ssl params
Nov 19, 2024
35c0e53
revert lock
Nov 19, 2024
59af024
use noble as base
Nov 19, 2024
77e203e
use different workflow version
Nov 19, 2024
ce650d9
remove cache
Nov 19, 2024
8229e7f
edit plugin
Nov 20, 2024
c30f480
fix integration tests
Nov 20, 2024
ede9c4d
revert pgtracing config + add new snaps
Nov 21, 2024
644ea77
try fixes
Nov 21, 2024
1de4ef4
try new fixes
Nov 21, 2024
6aa0ae4
try fixing restart
Nov 21, 2024
e27901a
try catching reload errors
Nov 22, 2024
e4b8953
adapt test_subordinates to remove ubuntu pro charm
Nov 22, 2024
381845c
try use newer branch for workflow
Nov 26, 2024
9249e7a
Merge branch 'main' into test-pg-16
Nov 26, 2024
6d18038
fix lock hash
Nov 26, 2024
7c780fe
use new branch for plugin too
Nov 26, 2024
d5ebec7
remove old refs to pg 14
Nov 26, 2024
167ac59
specify cc version 3 on release workflow
Nov 27, 2024
3fa1e3b
remove juju 2.9 + refactor release workflow
Nov 27, 2024
788acd7
remove libjuju constraint
Nov 27, 2024
88dd50b
fix release too
Nov 27, 2024
0835d07
use new charm + small adjustments
Dec 4, 2024
1dda43e
Merge remote-tracking branch 'origin/main' into test-pg-16
Dec 5, 2024
26561aa
fix lock file
Dec 5, 2024
135b6ba
Merge branch '16/edge' into test-pg-16
Feb 7, 2025
bf0e25a
fix build_charm issue
Feb 7, 2025
4ae72f0
remove base from deploy calls
Feb 7, 2025
e41d396
nits
Feb 10, 2025
6495a1e
Use `charmcraft test` & concierge (#762)
carlcsaposs-canonical Feb 11, 2025
407e264
Update charmcraft.yaml build tools (#760)
renovate[bot] Feb 12, 2025
7e79b64
[DPE-6020] Better promote-to-primary unit scope error handling (#759)
dragomirp Feb 13, 2025
d1cdf10
Disable Nextcloud test (#767)
dragomirp Feb 13, 2025
754bb1c
Update canonical/data-platform-workflows action to v30 (#770)
renovate[bot] Feb 13, 2025
9831317
Use _promote_charm.yaml (#771)
carlcsaposs-canonical Feb 13, 2025
87f0755
[DPE-5827] Set all nodes to synchronous replicas (#672)
dragomirp Feb 13, 2025
0ac29ed
Update dependency psutil to v7 (#772)
renovate[bot] Feb 14, 2025
678f926
Update dependency cryptography to v44.0.1 [SECURITY] (#764)
renovate[bot] Feb 15, 2025
50e5dd2
Update canonical/data-platform-workflows action to v30.0.2 (#765)
renovate[bot] Feb 18, 2025
0057d87
[DPE-6323] Handle missing stanza output (#727)
dragomirp Feb 19, 2025
d65d531
Update canonical/has-signed-canonical-cla action to v2 (#773)
renovate[bot] Feb 19, 2025
d96bfcb
[MISC] Define charm constants (#774)
sinclert-canonical Feb 19, 2025
32d33d4
Lock file maintenance Python dependencies (#743)
renovate[bot] Feb 19, 2025
0588cd0
Update charmcraft.yaml build tools (#768)
renovate[bot] Feb 23, 2025
7e0d0e8
Update canonical/data-platform-workflows action to v30.1.3 (#776)
renovate[bot] Feb 23, 2025
6cce771
Update dependency uv to v0.6.3 (#780)
renovate[bot] Feb 25, 2025
d1cc07b
[MISC] Sanitize PostgreSQL extra-user-roles arg (#782)
sinclert-canonical Mar 4, 2025
32252a5
[MISC] Fix PostgreSQL lib function signature (#786)
sinclert-canonical Mar 5, 2025
5a7defe
[MISC] Skip backup and subordinate tests without creds (#789)
dragomirp Mar 10, 2025
220aafb
Update dependency jinja2 to v3.1.6 [SECURITY] (#788)
renovate[bot] Mar 11, 2025
1134930
Reduce required approvals on Renovate pull requests by 1 (#787)
carlcsaposs-canonical Mar 11, 2025
e1ec7d3
Sync docs from Discourse (#748)
github-actions[bot] Mar 11, 2025
3779a92
Update canonical/data-platform-workflows action to v30.2.0 (#792)
renovate[bot] Mar 12, 2025
0b60f3c
Update dependency uv to v0.6.5 (#785)
renovate[bot] Mar 12, 2025
655d550
Pg 16 sync main (#793)
dragomirp Mar 13, 2025
752483f
Dual branch configs
dragomirp Mar 13, 2025
2f7ea10
Revert lib changes
dragomirp Mar 13, 2025
9450a26
Remove legacy rels
dragomirp Mar 13, 2025
70db58a
Restore pydantic rule
dragomirp Mar 13, 2025
7cddad1
Remove legacy rels metadata
dragomirp Mar 13, 2025
70012ce
Remove manual dispatch
dragomirp Mar 13, 2025
04e89de
Create schema to test admin user privileges
dragomirp Mar 13, 2025
7c10373
Merge branch 'main' into test-pg-16
dragomirp Mar 13, 2025
74513d2
Cleanup markers
dragomirp Mar 13, 2025
082285f
Workaround for cluster restore test
dragomirp Mar 14, 2025
fa1cf70
Promote permadiff
dragomirp Mar 17, 2025
494e695
Apply suggestions from code review
dragomirp Mar 19, 2025
8fff98f
Bump snaps
dragomirp Mar 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
changelog:
categories:
- title: Features
labels:
- enhancement
- title: Bug fixes
labels:
- bug
15 changes: 15 additions & 0 deletions .github/workflows/approve_renovate_pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
name: Approve Renovate pull request

on:
pull_request:
types:
- opened

jobs:
approve-pr:
name: Approve Renovate pull request
uses: canonical/data-platform-workflows/.github/workflows/approve_renovate_pr.yaml@v30.2.0
permissions:
pull-requests: write # Needed to approve PR
18 changes: 18 additions & 0 deletions .github/workflows/check_pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
name: Check pull request

on:
pull_request:
types:
- opened
- labeled
- unlabeled
- edited
branches:
- main

jobs:
check-pr:
name: Check pull request
uses: canonical/data-platform-workflows/.github/workflows/check_charm_pr.yaml@v30.2.0
45 changes: 8 additions & 37 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
jobs:
lint:
name: Lint
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v29.1.0
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v30.2.0

unit-test:
name: Unit test charm
Expand All @@ -49,48 +49,19 @@ jobs:

build:
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v29.1.0
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v30.2.0
with:
cache: false # TODO remove when 16/edge branch is set up

integration-test:
strategy:
fail-fast: false
matrix:
juju:
- agent: 2.9.51 # renovate: juju-agent-pin-minor
libjuju: ==2.9.49.1 # renovate: latest libjuju 2
allure_on_amd64: false
- agent: 3.6.2 # renovate: juju-agent-pin-minor
allure_on_amd64: true
architecture:
- amd64
include:
- juju:
agent: 3.6.2 # renovate: juju-agent-pin-minor
allure_on_amd64: true
architecture: arm64
name: Integration | ${{ matrix.juju.agent }} | ${{ matrix.architecture }}
name: Integration test charm
needs:
- lint
- unit-test
- build
uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v29.1.0
uses: ./.github/workflows/integration_test.yaml
with:
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
architecture: ${{ matrix.architecture }}
cloud: lxd
juju-agent-version: ${{ matrix.juju.agent }}
libjuju-version-constraint: ${{ matrix.juju.libjuju }}
_beta_allure_report: ${{ matrix.juju.allure_on_amd64 && matrix.architecture == 'amd64' }}
secrets:
integration-test: |
{
"AWS_ACCESS_KEY": "${{ secrets.AWS_ACCESS_KEY }}",
"AWS_SECRET_KEY": "${{ secrets.AWS_SECRET_KEY }}",
"GCP_ACCESS_KEY": "${{ secrets.GCP_ACCESS_KEY }}",
"GCP_SECRET_KEY": "${{ secrets.GCP_SECRET_KEY }}",
"UBUNTU_PRO_TOKEN" : "${{ secrets.UBUNTU_PRO_TOKEN }}",
"LANDSCAPE_ACCOUNT_NAME": "${{ secrets.LANDSCAPE_ACCOUNT_NAME }}",
"LANDSCAPE_REGISTRATION_KEY": "${{ secrets.LANDSCAPE_REGISTRATION_KEY }}",
}
secrets: inherit
permissions:
contents: write # Needed for Allure Report beta
contents: write # Needed for Allure Report
2 changes: 1 addition & 1 deletion .github/workflows/cla-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Check if Canonical's Contributor License Agreement has been signed
uses: canonical/has-signed-canonical-cla@v1
uses: canonical/has-signed-canonical-cla@v2
Loading
Loading