-
Notifications
You must be signed in to change notification settings - Fork 775
add unit test for ValidateLayout function #310
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
Conversation
image/image_test.go
Outdated
| "config": { | ||
| "AttachStderr": false, | ||
| "AttachStdin": false, | ||
| "AttachStdout": 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.
I don't see anything about these in serialization.md. Can we remove them?
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.
removed, I adapt spec patten as serialization.md#image-json-description
|
@wking |
It is reused on many place, so should be built a function. Signed-off-by: xiekeyang <[email protected]>
Signed-off-by: xiekeyang <[email protected]>
|
are we merging this here? or does this need to be moved (and possibly merged) in image-tools? |
|
On Thu, Sep 15, 2016 at 07:07:52AM -0700, Antonio Murdaca wrote:
It can be merged on the command line, just add an image-spec remote. |
and that's is awful to me given we have another repo and the code here is just for image-tools, do we want to cherry-pick/merge every outstanding PR from image-spec once merged here - anyway whatever |
|
On Thu, Sep 15, 2016 at 07:24:40AM -0700, Antonio Murdaca wrote:
You have to migrate them over somehow. image-tools has preserved the |
|
Are these sources just for image-tools though? |
they're seem to be just used in |
|
On Thu, Sep 15, 2016 at 07:35:12AM -0700, Antonio Murdaca wrote:
And I expect image-tools to eventually expose this sort of thing in Go |
|
i guess i meant, like runtime-spec has ./specs-go/ that are used by the runtime-tools and runc, I figured there would be a similar relationship here. I could likely be wrong though. |
@vbatts I left |
|
ah. my bad. you're right. On Thu, Sep 15, 2016 at 10:47 AM, Antonio Murdaca [email protected]
|
|
On Thu, Sep 15, 2016 at 07:47:35AM -0700, Antonio Murdaca wrote:
Yeah. +1 for leaving dead stuff (JSON Schema, Go types) in image-spec |
Signed-off-by: xiekeyang [email protected]