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

Promotions do not work correctly when using multiple builds-on and runs-on combinations #123

Closed
simskij opened this issue Nov 22, 2023 · 2 comments · Fixed by #174
Closed

Comments

@simskij
Copy link
Member

simskij commented Nov 22, 2023

After running Promote charm from edge to beta, the following happens:

simme@willow:~$ charmcraft status blackbox-exporter-k8s
Track    Base                  Channel    Version    Revision    Resources                                            
latest   ubuntu 20.04 (amd64)  stable     -          -           -                                                    
                               candidate  -          -           -                                                    
                               beta       1          1           blackbox-exporter-image (r1)                         
                               edge       1          1           blackbox-exporter-image (r1)                         
         ubuntu 22.04 (amd64)  stable     -          -           -                                                    
                               candidate  -          -           -                                                    
                               beta       -          -           -                                                    
                               edge       3          3           blackbox-exporter-image (r3)   

Expectation would be for this to happen for both bases. Similarly, the revs do not match between the bases from the get-go.

@lucabello
Copy link
Contributor

Charm promotion happens via the release-charm charming action. The charm release instead happens with the upload-charm charming action.

Both need to be adapted to building and releasing / promoting the charm for all bases.

@simskij
Copy link
Member Author

simskij commented Dec 8, 2023

This is still not solved. Works as intended for publish (upload), but not for promote.

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 a pull request may close this issue.

2 participants