-
Notifications
You must be signed in to change notification settings - Fork 24
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
Unify Ankaios cli #340
Unify Ankaios cli #340
Conversation
@HorjuRares: It seems like 7 system tests are failing. This needs to be fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review finished.
@HorjuRares: The Ankaios cli is now unifed for the user. But I see internally that the check if we use a stdin reader or reading from file is still duplicated. It is used inside the ank apply and set state functionality. I am thinking about how this can be done and we will open an issue if it is more effort and not doing it here inside this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review done. Some small refactoring suggestions also from a method that is not directly touched inside the PR, but it is good because we anyway work on this code path.
I think if the last findings will be resolved, then we can merge the PR. |
@HorjuRares: The user documentation must be updated, since the set state command has been changed. Could you fix that? I will check the swdd requirements because some might be need a change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM👍
I tested the new version of the command to pipe in the changed CompleteState with the nginx restartPolicy of the Working with the CompleteState section and it works. So, I think we can merge it when the last finding is resolved. This is how the new version looks when using stdin: cat new-state.yaml | ./ank -k set state desiredState.workloads.nginx.restartPolicy - |
Co-authored-by: Oliver <42932060+inf17101@users.noreply.github.com>
Issue-Id: #173