-
Notifications
You must be signed in to change notification settings - Fork 311
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
Support for "okteto redeploy" #677
Conversation
Codecov Report
@@ Coverage Diff @@
## master #677 +/- ##
==========================================
- Coverage 37.43% 36.89% -0.55%
==========================================
Files 45 49 +4
Lines 3777 3873 +96
==========================================
+ Hits 1414 1429 +15
- Misses 2276 2355 +79
- Partials 87 89 +2
Continue to review full report at Codecov.
|
interactive := map[string]string{labels.InteractiveDevLabel: d.Name} | ||
detached := map[string]string{labels.DetachedDevLabel: d.Name} | ||
|
||
wg := &sync.WaitGroup{} | ||
|
||
wg.Add(1) | ||
go waitForDevPodsTermination(c, d.Namespace, interactive, wg, t) | ||
go _waitForDevPodsTermination(c, d.Namespace, interactive, wg, t) |
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.
why the underscore?
pkg/cmd/build/image.go
Outdated
return imageTag | ||
} | ||
if isOktetoCloud { | ||
return fmt.Sprintf("%s/%s/%s:okteto", okteto.RegistryURL, dev.Namespace, dev.Name) |
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.
where do we get the RegistryURL from?
pkg/cmd/build/buildkit.go
Outdated
|
||
const ( | ||
frontend = "dockerfile.v0" | ||
buildKitContainer = "buildkit-0" |
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.
buildKitContainer
is unused (from deadcode
)
pkg/cmd/build/buildkit.go
Outdated
const ( | ||
frontend = "dockerfile.v0" | ||
buildKitContainer = "buildkit-0" | ||
buildKitPort = 1234 |
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.
buildKitPort
is unused (from deadcode
)
@@ -250,6 +250,14 @@ services: | |||
t.Fatalf("Wrong d1 generation.\nActual %+v, \nExpected %+v", string(marshalled1), string(marshalled1OK)) | |||
} | |||
|
|||
d1Down, err := translateDevModeOff(d1) |
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.
ineffectual assignment to err
(from ineffassign
)
@@ -322,6 +330,14 @@ services: | |||
if string(marshalled2) != string(marshalled2OK) { | |||
t.Fatalf("Wrong d2 generation.\nActual %s, \nExpected %s", string(marshalled2), string(marshalled2OK)) | |||
} | |||
|
|||
d2Down, err := translateDevModeOff(d2) |
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.
ineffectual assignment to err
(from ineffassign
)
Fixes #656
Fixes #655