-
Notifications
You must be signed in to change notification settings - Fork 62
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
Remote #108
Conversation
Pull Request Test Coverage Report for Build 1808479743
💛 - Coveralls |
deploy/deploy.go
Outdated
{{end}} } | ||
} | ||
"auths": { | ||
{{range $val := .}} "{{$val}}": {} |
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.
These additional spaces should be removed
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
deploy/deploy.go
Outdated
@@ -451,4 +481,5 @@ func (m *MeshnetSpec) Healthy(ctx context.Context) error { | |||
} | |||
} | |||
} | |||
|
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.
remove this extra line
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.
Done
@@ -415,9 +447,7 @@ func (m *MeshnetSpec) SetKClient(c kubernetes.Interface) { | |||
} | |||
|
|||
func (m *MeshnetSpec) Deploy(ctx context.Context) error { | |||
mPath := filepath.Join(deploymentBasePath, m.ManifestDir) | |||
log.Infof("Deploying Meshnet from: %s", mPath) |
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.
Should probably keep this log line
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.
Done
fakecorev1 "k8s.io/client-go/kubernetes/typed/core/v1/fake" | ||
ktest "k8s.io/client-go/testing" | ||
) | ||
|
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 should probably be a deploy.Deploy test using all this fakes, maybe one simple success test case and one failure or something simple just so there is coverage of that important func
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.
So all of the methods in it like KindSpec, Metallb, Meshnet etc are unit tested already. I will get back to add this one more test after I finish the bigger implementations.
No description provided.