Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
62e073d
try using pg 16 rock
Nov 26, 2024
ae2446c
try fix integration tests
Nov 26, 2024
485fe58
remove argument on helper
Nov 26, 2024
df73c21
more fixes
Nov 26, 2024
1a899bb
Merge remote-tracking branch 'origin/16/edge' into test-pg-16
Feb 3, 2025
4b076b7
fix test issues
Feb 3, 2025
75560d9
REVERT LATER: Adapt build_charm function
Feb 4, 2025
78b4df6
remove base=CHARM_BASE from deploy
Feb 4, 2025
4151296
remove juju 2.9 tests
Feb 4, 2025
08dade0
grat permissions to public schema
Feb 4, 2025
9110cef
fix linting and unit test
Feb 4, 2025
560f1eb
try refactor the permissions change
Feb 4, 2025
ae169ae
Update dependency uv to v0.5.27 (#847)
renovate[bot] Feb 4, 2025
adafd4d
grant public access to public schemas
Feb 4, 2025
9ed1b7c
[DPE-6053] Fix ports (#846)
dragomirp Feb 4, 2025
c9cbf70
mark smoke test as unstable
Feb 4, 2025
ba536a0
test release charm to 16/edge
Feb 6, 2025
efb6603
fix test release workflow
Feb 6, 2025
d38b768
fix typo
Feb 6, 2025
54fa18a
Sync docs from Discourse (#801)
github-actions[bot] Feb 6, 2025
15a0576
Update dependency uv to v0.5.29 (#848)
renovate[bot] Feb 6, 2025
b2b489f
[MISC] Define charm utility properties (#842)
sinclert-canonical Feb 7, 2025
4b101f4
Update data-platform-workflows to v29.1.0 (#849)
renovate[bot] Feb 7, 2025
f2d3bab
revert metadata.yaml
Feb 10, 2025
66cf401
nits
Feb 10, 2025
6b3c868
Use `charmcraft test` & concierge (#852)
carlcsaposs-canonical Feb 11, 2025
297d181
[MISC] Split topology script (#853)
sinclert-canonical Feb 11, 2025
8413b90
Update charmcraft.yaml build tools (#851)
renovate[bot] Feb 12, 2025
19e58f1
Update dependency uv to v0.5.31 (#858)
renovate[bot] Feb 13, 2025
80be46e
Update canonical/data-platform-workflows action to v30 (#859)
renovate[bot] Feb 13, 2025
62f5987
Use _promote_charm.yaml (#860)
carlcsaposs-canonical Feb 13, 2025
7a69475
Update dependency cryptography to v44.0.1 [SECURITY] (#855)
renovate[bot] Feb 14, 2025
72f77ad
Sync docs from Discourse (#854)
github-actions[bot] Feb 17, 2025
6f6f7f5
Update data-platform-workflows to v30.0.2 (#863)
carlcsaposs-canonical Feb 18, 2025
27892b0
Update canonical/has-signed-canonical-cla action to v2 (#865)
renovate[bot] Feb 18, 2025
842aa47
[DPE-5827] Set all nodes to synchronous replicas (#784)
dragomirp Feb 18, 2025
c9f6554
[DPE-6484] Add scope to promote to primary (#850)
dragomirp Feb 19, 2025
f3b7667
[MISC] Enable RBAC in tests (#861)
dragomirp Feb 19, 2025
d56c485
[MISC] Define charm constants (#862)
sinclert-canonical Feb 19, 2025
58e36c0
Lock file maintenance Python dependencies (#835)
renovate[bot] Feb 19, 2025
fd0c5e2
Update canonical/data-platform-workflows action to v30.1.3 (#856)
renovate[bot] Feb 20, 2025
cada525
Update charmcraft.yaml build tools (#868)
renovate[bot] Feb 21, 2025
e92b56a
Handle missing stanza output (#866)
dragomirp Feb 24, 2025
7d9ec89
Update ghcr.io/canonical/charmed-postgresql:14.15-22.04_edge Docker d…
renovate[bot] Feb 24, 2025
796f0d8
[MISC] Disable storage test on arm (#872)
dragomirp Feb 26, 2025
3b38f9d
Update charmcraft.yaml build tools (#871)
renovate[bot] Feb 26, 2025
e92a015
[MISC] Add degraded status to primary message (#874)
dragomirp Feb 26, 2025
e28ea54
[MISC] Sanitize PostgreSQL extra-user-roles arg (#876)
sinclert-canonical Mar 4, 2025
e1684df
[MISC] Fix PostgreSQL lib function signature (#879)
sinclert-canonical Mar 5, 2025
ebf4756
[MISC] Skip backup tests without creds (#884)
dragomirp Mar 7, 2025
c71262d
[DPE-6679] PostgreSQL Config Improvement (#867)
Pepsiqqq Mar 10, 2025
cce1fd5
Update dependency jinja2 to v3.1.6 [SECURITY] (#882)
renovate[bot] Mar 11, 2025
4c70277
Update canonical/data-platform-workflows action to v30.2.0 (#887)
renovate[bot] Mar 11, 2025
a9683ec
Reduce required approvals on Renovate pull requests by 1 (#880)
carlcsaposs-canonical Mar 12, 2025
4842019
Update dependency uv to v0.6.5 (#878)
renovate[bot] Mar 12, 2025
4b592c6
Merge branch 'main' into pg-16-sync-main
dragomirp Mar 13, 2025
594939f
Don't run juju2 and legacy tests
dragomirp Mar 13, 2025
eddd582
Use correct charm
dragomirp Mar 13, 2025
d1452fb
Dual branch config
dragomirp Mar 13, 2025
f480e56
Remove 14 specific tests
dragomirp Mar 13, 2025
83ceeb6
Remove eer data secrets
dragomirp Mar 13, 2025
0eb970e
Skip upgrade from stable
dragomirp Mar 13, 2025
ce1ffe7
Upgrade on Noble
dragomirp Mar 13, 2025
7f7a2f8
Build and deploy noble
dragomirp Mar 13, 2025
6686e05
Linting
dragomirp Mar 13, 2025
cb1c14d
Disable pgaudit during tests
dragomirp Mar 13, 2025
90310d2
Linting
dragomirp Mar 13, 2025
393aecf
Use common deploy for smoke test
dragomirp Mar 13, 2025
f94f735
Tweaks
dragomirp Mar 13, 2025
76ef7f6
Remove legacy rels
dragomirp Mar 13, 2025
0bbf9cf
Tweak tests
dragomirp Mar 13, 2025
42f0b3d
Cleanup markers
dragomirp Mar 13, 2025
64bc1ba
Deploy without pgaudit in plugin tests
dragomirp Mar 14, 2025
b18cb6c
Update ghcr.io/canonical/charmed-postgresql Docker tag to v14.17 (#877)
renovate[bot] Mar 14, 2025
5aa1f7a
Merge branch 'main' into pg-16-sync-main
dragomirp Mar 18, 2025
46dc9c4
Correct remove relation
dragomirp Mar 18, 2025
1c638e1
Bump rock
dragomirp Mar 18, 2025
b2a7397
Remove check for port forwarding
dragomirp Mar 18, 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
26 changes: 1 addition & 25 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,15 @@
reviewers: [
'team:data-platform-postgresql',
],
"baseBranches": ["main", "/^*\\/edge$/"],
packageRules: [
{
matchPackageNames: [
'pydantic',
],
allowedVersions: '<2.0.0',
},
{
matchManagers: [
'custom.regex',
],
matchDepNames: [
'juju',
],
matchDatasources: [
'pypi',
],
allowedVersions: '<3',
groupName: 'Juju agents',
},
],
customManagers: [
{
customType: 'regex',
fileMatch: [
'^\\.github/workflows/[^/]+\\.ya?ml$',
],
matchStrings: [
'(libjuju: )==(?<currentValue>.*?) +# renovate: latest libjuju 2',
],
depNameTemplate: 'juju',
datasourceTemplate: 'pypi',
versioningTemplate: 'loose',
},
],
}
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
43 changes: 8 additions & 35 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.0.5
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v30.2.0

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

build:
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v29.0.5
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v30.2.0
with:
cache: false

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
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no more juju 2

- 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.0.5
uses: ./.github/workflows/integration_test.yaml
with:
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
architecture: ${{ matrix.architecture }}
cloud: microk8s
microk8s-snap-channel: 1.32-strict/stable # renovate: latest microk8s
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 }}",
}
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