-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
CHE-398: Add ability to create local machine snapshots without registry #1351
Conversation
} | ||
} | ||
|
||
@VisibleForTesting |
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 VisibleForTesting and not only protected access instead of package access ?
also there is no test calling this method so I don't see why it should be "VisibleForTesting"
ff5effb
to
863538d
Compare
@@ -150,3 +149,6 @@ workspace.runtime.auto_snapshot=false | |||
# During the start of the workspace automatically restored it from a snapshot if the value is {true}, | |||
# otherwise just creates the new workspace. | |||
workspace.runtime.auto_restore=false | |||
# Allows to use registry for workspace snapshots, you should set this property in {true}, | |||
# otherwise workspace snapshots would be saved locally. | |||
workspace.snapshot_use_registry=false |
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.
missing end of line
5514a93
to
2cd75bc
Compare
final String digest = saveInRegistry(owner, repository, tag); | ||
return new DockerInstanceKey(repository, tag, registry, digest); | ||
} else { | ||
createImage(owner, repository, tag); |
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.
I think it is better to name that method in the same way as saveInRegistry
- saveLocallly
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.
👍 ok
4000ffd
to
48e798d
Compare
LGTM |
ok |
ок |
Build # 732 - FAILED Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/732/ to view the results. |
@garagatyi, @skabashnyuk, @evoevodin