Skip to content

Commit 655d550

Browse files
dragomirpcarlcsaposs-canonicalrenovate[bot]sinclert-canonicalgithub-actions[bot]
authored
Pg 16 sync main (#793)
* Use `charmcraft test` & concierge (#762) * Update charmcraft.yaml build tools (#760) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * [DPE-6020] Better promote-to-primary unit scope error handling (#759) * Bump libs * Flip default scope * Better action failure * Wrong attr * Revert scope * Bump libs * Handle async replica switchover * Unit tests * Bump cosl * Disable Nextcloud test (#767) * Update canonical/data-platform-workflows action to v30 (#770) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Use _promote_charm.yaml (#771) Use `charmcraft promote` and auto-generate release notes * [DPE-5827] Set all nodes to synchronous replicas (#672) * Set all nodes to synchronous replicas * Fix template var * Also change config patching * Update sync nodes during upgrade * Revert are_writes_increasing changes * Add back logging * Try without logs * Tactical sleep * Log removal error * Remove logs * Tweak replication test * Pass down unit * Wait for test app to idle * Add comment * Port config changes * Copy policy test * Fix import * Missed param removal * Unit test * Missing attr * Add logs * Add timeout to connection * Log conn str * Fix num of standbys * Charm fixture * Remove stepdown hook * Config description * Revert conn str * Add async scaling test * Typo * Don't remove standby and primary * Update dependency psutil to v7 (#772) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency cryptography to v44.0.1 [SECURITY] (#764) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update canonical/data-platform-workflows action to v30.0.2 (#765) * Update canonical/data-platform-workflows action to v30.0.2 * Update promote.yaml --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Carl Csaposs <carl.csaposs@canonical.com> * [DPE-6323] Handle missing stanza output (#727) * Handle missing stanza output * Update libs * Unit tests * Update canonical/has-signed-canonical-cla action to v2 (#773) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * [MISC] Define charm constants (#774) * Lock file maintenance Python dependencies (#743) * Lock file maintenance Python dependencies * Backoff boto3 1.36 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dragomir Penev <dragomir.penev@canonical.com> * Update charmcraft.yaml build tools (#768) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update canonical/data-platform-workflows action to v30.1.3 (#776) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency uv to v0.6.3 (#780) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * [MISC] Sanitize PostgreSQL extra-user-roles arg (#782) * [MISC] Fix PostgreSQL lib function signature (#786) * [MISC] Skip backup and subordinate tests without creds (#789) * Bump libs * Skip backup tests without creds * Skip subordinate tests * Update tests/integration/test_subordinates.py Co-authored-by: Carl Csaposs <carl.csaposs@canonical.com> --------- Co-authored-by: Carl Csaposs <carl.csaposs@canonical.com> * Update dependency jinja2 to v3.1.6 [SECURITY] (#788) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Disable cache * Reduce required approvals on Renovate pull requests by 1 (#787) * Sync docs from Discourse (#748) Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com> * Cleanup juju 2 tests * Linting * Integration test diffs * Try with series for ubuntu pro subordinate * Filter terminated units * Bump PG version * Disable pgaudit for timescale and postgis * Linting * Remove tests * Remove param for secrets * Linting * Idle when disabling pgaudit * Actually disable audit * Disable timescale in object test * Try to disable plugins between tests * Update canonical/data-platform-workflows action to v30.2.0 (#792) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Try to disable pgaudit in general --------- Co-authored-by: Carl Csaposs <carl.csaposs@canonical.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sinclert Pérez <sinclert.perez@canonical.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e41d396 commit 655d550

File tree

119 files changed

+3305
-3113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+3305
-3113
lines changed

.github/release.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
changelog:
2+
categories:
3+
- title: Features
4+
labels:
5+
- enhancement
6+
- title: Bug fixes
7+
labels:
8+
- bug
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright 2025 Canonical Ltd.
2+
# See LICENSE file for licensing details.
3+
name: Approve Renovate pull request
4+
5+
on:
6+
pull_request:
7+
types:
8+
- opened
9+
10+
jobs:
11+
approve-pr:
12+
name: Approve Renovate pull request
13+
uses: canonical/data-platform-workflows/.github/workflows/approve_renovate_pr.yaml@v30.2.0
14+
permissions:
15+
pull-requests: write # Needed to approve PR

.github/workflows/check_pr.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright 2025 Canonical Ltd.
2+
# See LICENSE file for licensing details.
3+
name: Check pull request
4+
5+
on:
6+
pull_request:
7+
types:
8+
- opened
9+
- labeled
10+
- unlabeled
11+
- edited
12+
branches:
13+
- main
14+
15+
jobs:
16+
check-pr:
17+
name: Check pull request
18+
uses: canonical/data-platform-workflows/.github/workflows/check_charm_pr.yaml@v30.2.0

.github/workflows/ci.yaml

Lines changed: 8 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
jobs:
2828
lint:
2929
name: Lint
30-
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v29.1.0
30+
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v30.2.0
3131

3232
unit-test:
3333
name: Unit test charm
@@ -49,47 +49,19 @@ jobs:
4949

5050
build:
5151
name: Build charm
52-
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v29.1.0
52+
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v30.2.0
5353
with:
54-
cache: false
54+
cache: false # TODO remove when 16/edge branch is set up
55+
5556
integration-test:
56-
strategy:
57-
fail-fast: false
58-
matrix:
59-
juju:
60-
- agent: 3.6.2 # renovate: juju-agent-pin-minor
61-
libjuju: ==3.6.1.0
62-
allure_on_amd64: true
63-
architecture:
64-
- amd64
65-
include:
66-
- juju:
67-
agent: 3.6.2 # renovate: juju-agent-pin-minor
68-
allure_on_amd64: true
69-
architecture: arm64
70-
name: Integration | ${{ matrix.juju.agent }} | ${{ matrix.architecture }}
57+
name: Integration test charm
7158
needs:
7259
- lint
7360
- unit-test
7461
- build
75-
uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v29.1.0
62+
uses: ./.github/workflows/integration_test.yaml
7663
with:
7764
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
78-
architecture: ${{ matrix.architecture }}
79-
cloud: lxd
80-
juju-agent-version: ${{ matrix.juju.agent }}
81-
libjuju-version-constraint: ${{ matrix.juju.libjuju }}
82-
_beta_allure_report: ${{ matrix.juju.allure_on_amd64 && matrix.architecture == 'amd64' }}
83-
secrets:
84-
integration-test: |
85-
{
86-
"AWS_ACCESS_KEY": "${{ secrets.AWS_ACCESS_KEY }}",
87-
"AWS_SECRET_KEY": "${{ secrets.AWS_SECRET_KEY }}",
88-
"GCP_ACCESS_KEY": "${{ secrets.GCP_ACCESS_KEY }}",
89-
"GCP_SECRET_KEY": "${{ secrets.GCP_SECRET_KEY }}",
90-
"UBUNTU_PRO_TOKEN" : "${{ secrets.UBUNTU_PRO_TOKEN }}",
91-
"LANDSCAPE_ACCOUNT_NAME": "${{ secrets.LANDSCAPE_ACCOUNT_NAME }}",
92-
"LANDSCAPE_REGISTRATION_KEY": "${{ secrets.LANDSCAPE_REGISTRATION_KEY }}",
93-
}
65+
secrets: inherit
9466
permissions:
95-
contents: write # Needed for Allure Report beta
67+
contents: write # Needed for Allure Report

.github/workflows/cla-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ jobs:
99
runs-on: ubuntu-24.04
1010
steps:
1111
- name: Check if Canonical's Contributor License Agreement has been signed
12-
uses: canonical/has-signed-canonical-cla@v1
12+
uses: canonical/has-signed-canonical-cla@v2

0 commit comments

Comments
 (0)