-
Notifications
You must be signed in to change notification settings - Fork 26
[DPE-5833] Create new PostgreSQL version 16 charm #788
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 16/edge #788 +/- ##
===========================================
- Coverage 75.53% 74.90% -0.64%
===========================================
Files 12 11 -1
Lines 3115 3383 +268
Branches 466 486 +20
===========================================
+ Hits 2353 2534 +181
- Misses 621 660 +39
- Partials 141 189 +48 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Fix ports Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com> * Remove unused import Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com> * Remove unused charm library and fix unit tests Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com> * Fix identation Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com> * Bump libs * Conditional set_ports logic * Unit test * Don't expect juju managed resources --------- Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com> Co-authored-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
juju: | ||
- agent: 2.9.51 # renovate: juju-agent-pin-minor | ||
libjuju: ==2.9.49.1 # renovate: latest libjuju 2 | ||
allure_on_amd64: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no more juju 2
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
name: Promote charm | ||
uses: canonical/data-platform-workflows/.github/workflows/_promote_charm.yaml@v30.2.0 | ||
with: | ||
track: '16' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Permadiff.
logger.info("rerelate test app") | ||
await ops_test.model.applications[DATABASE_APP_NAME].remove_relation( | ||
"database", f"{APPLICATION_NAME}:{FIRST_DATABASE_RELATION_NAME}" | ||
) | ||
await ops_test.model.wait_for_idle( | ||
apps=[DATABASE_APP_NAME, APPLICATION_NAME], status="active", raise_on_blocked=True | ||
) | ||
await ops_test.model.relate( | ||
DATABASE_APP_NAME, f"{APPLICATION_NAME}:{FIRST_DATABASE_RELATION_NAME}" | ||
) | ||
await ops_test.model.wait_for_idle( | ||
apps=[DATABASE_APP_NAME, APPLICATION_NAME], status="active", raise_on_blocked=True | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DB is owned by the user of the test app in the other model, so the test app in this model loses access to the public schema. Rerelating to change ownership. Not sure why this isn't failing on VM.
DATABASE_APP_NAME, | ||
application_name=DATABASE_APP_NAME, | ||
num_units=1, | ||
channel="14/stable", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was testing the channel.
|
||
@pytest.mark.group(1) | ||
# No arm edge | ||
@markers.amd64_only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No Arm edge yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Part of the 4-PR bundle to merge PostgreSQL 16. See doc for further info: https://docs.google.com/document/d/1K4xMxKDOiHfdCTc_hxMh6bW1DCZ6HC6wa6g8tAJAtno/edit?tab=t.0