-
Notifications
You must be signed in to change notification settings - Fork 48
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
Completely revamped the litmusctl workflow #16
Conversation
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
ad12174
to
efdcc4a
Compare
Please ignore the lint issue(will fix it soon in this Pr). @Jonsy13 / @arkajyotiMukherjee can you guys do a review |
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.
Thank you for this addition. This is very good
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
7f6a1c4
to
751cd5f
Compare
Signed-off-by: Raj Das <[email protected]>
751cd5f
to
98ae1bc
Compare
Signed-off-by: Raj Das <[email protected]>
Signed-off-by: Raj Das <[email protected]>
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.
Thanks for the quick changes 🚀
871c4a6
to
fd35ef4
Compare
pkg/agent/ops.go
Outdated
return "namespace" | ||
} | ||
|
||
if mode != 1 || mode != 2 { |
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.
there is a reviewdog error here...can you check that
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.
fixed
Signed-off-by: Raj Das <[email protected]>
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.
All good 👍🏼
Changes
BCH score moved from 5 to 7
Refactored most of the functions and code to accommodate the new commands
Improved Code quality. Now sonarcube grade is A
Adding interactive and non-interactive mode
Commands
litmusctl config
a) set-account example-
litmusctl config set-account --endpoint "https://litmus.preview.chaosnative.com" --password "" --username "raj"
b) get-accounts example-
litmusctl config get-accounts
c) use-account example-
litmusctl config use-account --endpoint "https://litmus.preview.chaosnative.com" -u "raj"
d) view example-
litmusctl config view
litmusctl create
a) agent example-
litmusctl create agent --agent-name "raj-new-agent" --cluster-type "external" --installation-mode "cluster" --platform-name "AWS" --sa-exists=false --ns-exists=false --project-id "" -n
Minimal step to create agent
`litmusctl create agent --agent-name "new-agent"
b) project example-
litmusctl create project --name ""
a) projects example-
litmusctl get projects
b) agents example-
litmusctl get agents --project-id