Skip to content
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

Update data-platform-workflows to v23.0.4 and remove tox build wrapper #513

Draft
wants to merge 1 commit into
base: 6/edge
Choose a base branch
from

Conversation

carlcsaposs-canonical
Copy link
Contributor

Comment on lines +16 to +20
# Workaround to add unique identifier (git hash) to charm version while specification
# DA053 - Charm versioning
# (https://docs.google.com/document/d/1Jv1jhWLl8ejK3iJn7Q3VbCIM9GIhp8926bgXpdtx-Sg/edit?pli=1)
# is pending review.
python3 -c 'import pathlib; import shutil; import subprocess; git_hash=subprocess.run(["git", "describe", "--always", "--dirty"], capture_output=True, check=True, encoding="utf-8").stdout; file = pathlib.Path("charm_version"); shutil.copy(file, pathlib.Path("charm_version.backup")); version = file.read_text().strip(); file.write_text(f"{version}+{git_hash}")'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

is this desired? (I expect that it is since you're using upgrade v2)

but this does not match the current behavior of the build-wrapper in tox.ini

Copy link
Contributor Author

Choose a reason for hiding this comment

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

carlcsaposs-canonical added a commit that referenced this pull request Nov 8, 2024
Unblock charmcraftcache refactor to per-charm repository caches (https://warthogs.atlassian.net/browse/DPE-5809) while #513 is pending review
carlcsaposs-canonical added a commit that referenced this pull request Nov 11, 2024
Unblock charmcraftcache refactor to per-charm repository caches
(https://warthogs.atlassian.net/browse/DPE-5809) while
#513 is pending review
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.

1 participant