-
Notifications
You must be signed in to change notification settings - Fork 110
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
kapp app-group deploy
should order based on folder names
#755
Comments
hey @Baune8D i would like to work on this task |
Thank you for showing interest in the fixing this @rjtch! I am assigning the issue to you, let me know if you need any help with it. |
Hey @praveenrewar I would like to use a this library https://github.com/wk8/go-ordered-map to fix it. Is it okay or do you have any recommendations? |
Hey @rjtch! I noticed that you are using a slice in your PR, which is what I would have recommended as well 🚀 |
…apps Signed-off-by: rjtch <[email protected]>
…apps Signed-off-by: rjtch <[email protected]>
Signed-off-by: rjtch <[email protected]>
…apps Signed-off-by: rjtch <[email protected]>
* kapp app-group deploy should order based on folder names #755 Signed-off-by: rjtch <[email protected]> * fix(#755) - removed map and used slice instead for sorting apps Signed-off-by: rjtch <[email protected]> * feat/755 - removed unecessary printf Signed-off-by: rjtch <[email protected]> * feat/755 - removed unecessary signoff Signed-off-by: rjtch <[email protected]> * signoff error Signed-off-by: rjtch <[email protected]> * signoff error Signed-off-by: rjtch <[email protected]> * tried to fix CDo Signed-off-by: rjtch <[email protected]> * signed-off last request Signed-off-by: rjtch <[email protected]> * signoff-last message and fixed unsigned commits Signed-off-by: rjtch <[email protected]> * get back deleted changed Signed-off-by: rjtch <[email protected]> * removed unnessary printf Signed-off-by: rjtch <[email protected]> --------- Signed-off-by: rjtch <[email protected]> Co-authored-by: Hergy Fongue <[email protected]>
What steps did you take:
Deploy any app using
kapp app-group deploy
What happened:
App deployment order is randomized on every execution.
What did you expect:
App deployment order should be alphabetically based on folder names.
Anything else you would like to add:
When reading directory using
ioutil.ReadDir
the ordering is correct, but when assigning to the result map here:kapp/pkg/kapp/cmd/appgroup/deploy.go
Line 137 in df3cfc8
Environment:
kapp --version
): 0.56.0/etc/os-release
): macOS Venturakubectl version
) 1.25.7Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: