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

Unsupported tox build-wrapper breaks charmcraftcache-hub #420

Open
carlcsaposs-canonical opened this issue Jun 12, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@carlcsaposs-canonical
Copy link
Contributor

carlcsaposs-canonical commented Jun 12, 2024

The unsupported build-wrapper in tox.ini (unsupported since it's used for charm_version but not for locking dependencies [e.g. with poetry])

mongodb-operator/tox.ini

Lines 25 to 27 in eb9c9e0

[testenv:build-{production,dev,wrapper}]
# Wrap `charmcraft pack`, TODO support poetry on this charm, this is a non-supported usage of the
# build wrapper.

causes charmcraftcache-hub to break for all charms (example: https://github.com/canonical/charmcraftcache-hub/actions/runs/9480061580/job/26119923300#step:9:2727), so I removed mongodb-operator from charmcraftcache-hub. This will likely cause slow/non-cached builds when using build_charm.yaml with cache: true (in PR CI) and when running tox run -e build-dev locally

Once you've moved to a supported build-wrapper, please re-add mongodb-operator to charmcraftcache-hub with ccc add or by opening an issue using the template on charmcraftcache-hub

@carlcsaposs-canonical carlcsaposs-canonical added the bug Something isn't working label Jun 12, 2024
carlcsaposs-canonical added a commit to canonical/charmcraftcache-hub that referenced this issue Jun 12, 2024
mongodb-operator uses unsupported `build-wrapper`: canonical/mongodb-operator#420
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant