-
Notifications
You must be signed in to change notification settings - Fork 18
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
ci: use latest/candidate for charmcraft channel #387
Conversation
This commit pins charmcraft to latest/candidate to avoid issues with the least stable edge channel.
To fix this, should we instead shorten our summary field? iiuc |
Yeah @ca-scribner , that was my first thought, but our I was also thinking that maybe for track branches we should pin to certain versions of charmcraft. I agree that this change will land in latest/candidate soon, so I was wondering if we should go that route instead. wdty? |
oh that is a fun nuance... That sounds like a bug we should probably report then too. I wonder if the I'm +10000 on pinning everything when we put something to a track (microk8s, charmcraft, charm dependencies, ... ). The track is a release, and a release should be a static picture of what we released, not something with unpinned dependencies. It should be possible, but I think we'd have to change some of the actions (to accept It also might be a pain in the butt to administer if we don't automate the track cutting process. For a single case like this its cool, but for a full bundle release it would be a nightmare |
Absolutely agree. I'll file an issue (: EDIT: canonical/charmcraft#1568
I also think the track branches should have a static version, do you think we can pin a charmcraft version here and then we can have a tracking issue for changing this everywhere? |
Is that possible for our CI? I haven't tried, but I think everything accepts If there's a way to pin it here though, I'm +1 |
Added an issue for pinning our build dependencies here, and added it to one of our product feedback planning tasks |
I don't think at the moment we can accept revisions or versions, I guess what I meant with my previous comment is that we should pin to a channel that was working back when we published this charm. I was reviewing the channels, though, and found out that the For the time being, perhaps we should pin to EDIT: I just noticed the suggestion here, I think that would be the best approach for the time being(?). Though we have changed metadata in the past and that has been an issue. I will double check. |
I have pushed #389, which adds a workaround for the summary issue. Will close this PR. |
This commit pins charmcraft to latest/candidate to avoid issues with the least stable edge channel.
This PR aims at fixing the following error:
Which was caught in the CI of #386.
It would be better to pin this channel than to adapt an older version of this charm. Open to discussions.