Skip to content

Conversation

dragomirp
Copy link
Contributor

Copy the release workflow from postgresql-ldap-sync

Checklist

  • I have added or updated any relevant documentation.
  • I have cleaned any remaining cloud resources from my accounts.

Copy link

codecov bot commented Sep 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (16/edge@62d4cd5). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             16/edge       #6   +/-   ##
==========================================
  Coverage           ?   32.21%           
==========================================
  Files              ?        3           
  Lines              ?      776           
  Branches           ?       91           
==========================================
  Hits               ?      250           
  Misses             ?      518           
  Partials           ?        8           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

name = "postgresql-charms-single-kernel"
dynamic = ["version"]
description = "Shared and reusable code for PostgreSQL-related charms"
version = "0.0.1"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ldap sync manually bumps the version.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Mostly copied from postgresql-ldap-sync.

with:
fetch-depth: 0
- name: "Install uv"
run: sudo snap install astral-uv --classic
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Using UV instead of poetry.

@dragomirp
Copy link
Contributor Author

@dragomirp dragomirp requested review from a team, marceloneppel and taurus-forever and removed request for a team September 4, 2025 15:01
@dragomirp dragomirp marked this pull request as ready for review September 4, 2025 15:01
run: |
VERSION=$(uv version --short)
if [ "$(git tag -l "${VERSION}")" ]; then
echo "Tag ${VERSION} already exists. Please bump the project to a greater version."
Copy link
Contributor

Choose a reason for hiding this comment

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

Always writes error to STDERR: >&2

@dragomirp dragomirp merged commit 0e28b64 into 16/edge Sep 4, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants